[PATCH] opcodes/nfp: Fix disassembly of crc[] with swapped operands.
Francois H. Theron
francois.theron@netronome.com
Thu Nov 1 15:57:00 GMT 2018
The decoding of the CRC operation in alu instructions was using bits
from the instruction word directly, instead of srcA which would be
different if the swap bit was set.
Signed-off-by: Francois H. Theron <francois.theron@netronome.com>
---
binutils/ChangeLog | 4 +++
binutils/testsuite/binutils-all/nfp/test1.d | 32 +++++++++++++++---
.../binutils-all/nfp/test1_nfp6000.nffw | Bin 9880 -> 10128 bytes
opcodes/ChangeLog | 4 +++
opcodes/nfp-dis.c | 12 +++----
5 files changed, 42 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-opcodes-nfp-Fix-disassembly-of-crc-with-swapped-oper.patch
Type: text/x-patch
Size: 5160 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20181101/8b31acf4/attachment.bin>
More information about the Binutils
mailing list