|To:||Thiemo Seufer <firstname.lastname@example.org>|
|Subject:||Re: Strange instruction|
|From:||Nigel Stephens <email@example.com>|
|Date:||Thu, 14 Oct 2004 13:16:50 +0100|
|Cc:||"Kevin D. Kissell" <firstname.lastname@example.org>, Dmitriy Tochansky <email@example.com>, firstname.lastname@example.org|
|References:||<email@example.com> <01d901c4b1c8$996b7b30$10eca8c0@grendel> <20041014121242.GA1398@rembrandt.csv.ica.uni-stuttgart.de>|
|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?
|<Prev in Thread]||Current Thread||[Next in Thread>|