qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 0/6] target-arm: Fix Neon shift instructions.


From: Christophe Lyon
Subject: Re: [Qemu-devel] [PATCH v3 0/6] target-arm: Fix Neon shift instructions.
Date: Tue, 15 Feb 2011 15:49:56 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

On 15.02.2011 15:21, Peter Maydell wrote:
> On 15 February 2011 14:03, Christophe Lyon <address@hidden> wrote:
>> It also seems that the neon_shl_s* helpers don't handle correctly large 
>> negative shift amounts.
> 
> They look OK to me (large -ve shift is a huge right shift,
> which for signed values should propagate the sign bit
> to all bit positions, so we shift-right by typesize - 1),
> and I didn't see any problems with them when I was
> doing my testing. What do you think they get wrong?
> 

Sorry, you are right. I was confused by comparing with the shifts with 
rounding. Maybe we should add a few comments in a few places... :-)




reply via email to

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