[PATCH] aarch64 sim bit/bif bug fix

Nick Clifton nickc@redhat.com
Mon Feb 13 15:36:00 GMT 2017


Hi Jim,

> This fixes the bit and bif instructions.  The code is using u32
> set/get, but 16/8 loop bounds, which gives out of range errors.  Also,
> it is computing the value wrong, as it is a bitwise operation, not an
> operation checking byte/word values for zero/non-zero.  I rewrote the
> code a little to make the operation more obvious.  It now looks more
> like bsl which is a closely related instruction.
> 
> The testcase fails without the patch and works with the patch.  GCC C
> testsuite failures drop from 1701 to 1590 (-111).

Approved - please apply.

Cheers
  Nick




More information about the Gdb-patches mailing list