ARMv6: fix SIMD add/sub carry flags (Vincent Palatin).
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 19 Jul 2008 10:46:13 +0000 (10:46 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 19 Jul 2008 10:46:13 +0000 (10:46 +0000)
commita87aa10b85dcaf8e1a4cc962edbd562a96f78650
tree161ed997d554a01c6469258493fd7b1eb17d389b
parent7997d92f2c75cf56e8142be8e4c1fb5b8dbcc2a4
ARMv6: fix SIMD add/sub carry flags (Vincent Palatin).

After a quick code review, it seems to be a bad cut-n-paste between
16-bit and 8-bit UADD/USUB, indeed UADD8/USUB8 tries to set GE bits by
pair instead of one at a time.
Besides, the addition operations (UADD8/UADD16) set GE bits to "NOT
carry" instead of "carry" (probably once again due to a copy of the
substraction code which sets flags to "NOT borrow")

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4900 c046a42c-6fe2-441c-8c8c-71466251a162
target-arm/helper.c