qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 591320] Re: [ARM]: SIMD add/sub instructions are incor


From: cmchao
Subject: [Qemu-devel] [Bug 591320] Re: [ARM]: SIMD add/sub instructions are incorrect
Date: Wed, 09 Jun 2010 09:07:02 -0000

One attachment is allowed in each comment :<

for case 1

** Patch added: "for case 1 problem"
   
http://launchpadlibrarian.net/50000666/0002-target-arm-fix-parallel-saturated-subtraction-error.patch

-- 
[ARM]: SIMD add/sub instructions are incorrect
https://bugs.launchpad.net/bugs/591320
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The thumb2 and unsigned arm state SIMD add/sub instructions are implemented 
incorrectly, for example:

  UQSUB8 r0, r1, r0

gives r0 as 0,  where r0 is 0x12345678 and r1 is 0x23456789 in ARM state, and:

  UHSUB8 r0, r1, r0

gives r0 as 0x1111be01, where r0 is 0x12345678 and r1 is 0x23456789 in thumb2 
state.

This problem is present in git HEAD, (at time of writing, 
fd1dc858370d9a9ac7ea2512812c3a152ee6484b).





reply via email to

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