[PATCH] aarch64 sim adds C flag bug fix
Jim Wilson
jim.wilson@linaro.org
Sun Mar 26 03:40:00 GMT 2017
This fixes a problem where the C flag was incorrectly set when adding
a large negative value with a small positive value. The word signed
result needs to be cast to unsigned to avoid a sign extension before
comparing with the double word unsigned result.
The modified testcase fails without the patch and works with the
patch. This patch reduces GCC C testsuite unexpected failures from
1445 to 1439 (-6).
Jim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-sim-adds32.patch
Type: text/x-patch
Size: 1733 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20170326/94cc2ea8/attachment.bin>
More information about the Gdb-patches
mailing list