[Qemu-devel] [Bug 595906] [NEW] [ARM] All variants of ADDSUBX, SUBADDX give incorrect results

2010-06-18 Thread Bradley Smith
Public bug reported: All variants of the ADDSUBX/SUBADDX instructions seem to be implemented incorrectly, i.e. MOV r12, #0 LDR r0, =0x18004800 LDR r1, =0x30006000 QADDSUBX r12, r0, r1; Should give 0x78001800 - gives 0x4800e800 This happens with latest git HEAD. ** Affects: q

[Qemu-devel] [Bug 591320] [NEW] [ARM]: SIMD add/sub instructions are incorrect

2010-06-08 Thread Bradley Smith
Public bug reported: 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 0xbe01, where r0 is 0x12345678 and r