| To: | Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> |
|---|---|
| Subject: | Re: Strange instruction |
| From: | Nigel Stephens <nigel@mips.com> |
| Date: | Thu, 14 Oct 2004 13:16:50 +0100 |
| Cc: | "Kevin D. Kissell" <kevink@mips.com>, Dmitriy Tochansky <toch@dfpost.ru>, linux-mips@linux-mips.org |
| In-reply-to: | <20041014121242.GA1398@rembrandt.csv.ica.uni-stuttgart.de> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20041014115304.3edbe141.toch@dfpost.ru> <01d901c4b1c8$996b7b30$10eca8c0@grendel> <20041014121242.GA1398@rembrandt.csv.ica.uni-stuttgart.de> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mozilla Thunderbird 0.8 (X11/20040918) |
Thiemo Seufer wrote: GNU as has "move" as builtin macro which is expanded differently for 32 and 64 bit mode. This simplifies the task of writing code for both models. Unfortunately the expansion was broken for a while and generated always the 64 bit version if the toolchain was 64bit _capable_. IIRC this was fixed in the early 2.14 timeframe. Wouldn't it be safer, as Kevin suggests, for the "move" macro to generate "or $rd,$0,$rs", since that will work correctly in either mode? Nigel |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Strange instruction, Thiemo Seufer |
|---|---|
| Next by Date: | Re: Strange instruction, Thiemo Seufer |
| Previous by Thread: | Re: Strange instruction, Thiemo Seufer |
| Next by Thread: | Re: Strange instruction, Thiemo Seufer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |