[Top] [All Lists]

Re: Strange instruction

To: Thiemo Seufer <>
Subject: Re: Strange instruction
From: Nigel Stephens <>
Date: Thu, 14 Oct 2004 13:16:50 +0100
Cc: "Kevin D. Kissell" <>, Dmitriy Tochansky <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <01d901c4b1c8$996b7b30$10eca8c0@grendel> <>
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>