lightning
[Top][All Lists]
Advanced

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

Re: [Lightning] Re: Update on testcase [was: sse instructions and gcc w


From: Paulo César Pereira de Andrade
Subject: Re: [Lightning] Re: Update on testcase [was: sse instructions and gcc warnings]
Date: Sun, 15 Aug 2010 13:54:57 -0300
User-agent: SquirrelMail/1.4.19

Paolo Bonzini wrote:
> On 08/11/2010 04:54 PM, Paulo César Pereira de Andrade wrote:
>> V0 V1 V2 R0 F0
>> lightning-test.c:241:xi_c: cl: ffffff81 ffffff81
>>            0x775170      movabs $0x778840,%rbx
>>            0x77517a      movsbl 0x8(%rbx),%r13d<<<1>>>
>>            0x77517f      mov    %r13d,0xa(%rbx)
>>            0x775183      mov    %r13d,0x10(%rbx)
>>            0x775187      mov    %r13,0x18(%rbx)
>>
>> shouldn't that be %r13 instead of %r13d?
>
> It should be movsbq, too.  movsXl will move to a 32-bit register and,
> since these are zero-extended, it will sign extend only to 32-bit and
> then zero extend.
>
> Now looking at it.  Thanks.

  I did not look much at it after that email because I thought I would
be more productive writing a more generic test tool, that is almost
in good shape now :-) But I trust you can get that working (/me needs
to buy a new computer for home use, a x86_64 one... so I can also test
it more easily)

> Paolo

Thanks,
Paulo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]