Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building current



On Apr 7, 2013, at 12:49 PM, Johnny Billquist <bqt%update.uu.se@localhost> 
wrote:

> On 2013-04-07 21:42, Mouse wrote:
>>> You said the ashq ..., -1, ... did disassemble with not sign extended
>>> constant,
>> 
>> Right.  The .s file has $-1 for that operand and the instruction stream
>> generated has 8f ff ff ff ff 00 00 00 00, which is immediate mode with
>> a value of 00000000ffffffff.
> 
> In my eyes that definitely looks like a gas bug. Why would gas generate 8f ff 
> ff ff ff 00 00 00 00 for the immediate value -1 for a quad? That is not -1. 
> That's a zero-extended 32-bit -1 into a 64-bit value. Do gas regard the 
> immediate value as unsigned?

that definitely seems like a gas bug.  


Home | Main Index | Thread Index | Old Index