[PATCH] fix for aarch64 sim tbnz bug

Mike Frysinger vapier@gentoo.org
Fri Dec 2 09:32:00 GMT 2016


On Thu, Dec 1, 2016 at 11:49 PM, Jim Wilson wrote:
> Debugged another gcc testsuite failure, and found that tbnz/tbz are
> broken when the bit position to test is greater than 31.  There are
> two problems.  The high bit of the bit position is shifted left by the
> wrong amount.  And we need to use (uint64_t)1 to get a 64-bit shift
> result.
>
> Tested with a gcc C testsuite run.  This reduces failures from 2856 to 2710.

can we please start getting tests added to sim too ?  using gcc
indirectly to validate the sim is a bit un
-mike



More information about the Gdb-patches mailing list