This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] aarch64 sim bit/bif bug fix


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]