diff options
author | Hafiz Abid Qadeer <abidh@codesourcery.com> | 2021-03-24 21:24:35 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <abidh@codesourcery.com> | 2021-03-25 10:52:14 +0000 |
commit | efa30ac3c504d24c55733a627abe49bd0368cf67 (patch) | |
tree | 546cf1df9b817a8cf13f445069f53feb26d603d7 /gas/compress-debug.c | |
parent | 5e74b4959bdeb5660c5e6f3e7a293269043a9a67 (diff) | |
download | binutils-efa30ac3c504d24c55733a627abe49bd0368cf67.zip binutils-efa30ac3c504d24c55733a627abe49bd0368cf67.tar.gz binutils-efa30ac3c504d24c55733a627abe49bd0368cf67.tar.bz2 |
[NIOS2] Fix disassembly of br.n instruction.
The code was checking wrong bit for sign extension. It caused it
to zero-extend instead of sign-extend the immediate value.
2021-03-25 Abid Qadeer <abidh@codesourcery.com>
opcodes/
* nios2-dis.c (nios2_print_insn_arg): Fix sign extension of
immediate in br.n instruction.
gas/
* testsuite/gas/nios2/brn.s: New.
* testsuite/gas/nios2/brn.d: New.
Diffstat (limited to 'gas/compress-debug.c')
0 files changed, 0 insertions, 0 deletions