opcodes/nfp: Fix disassembly of crc[] with swapped operands.
authorFrancois H. Theron <francois.theron@netronome.com>
Tue, 13 Nov 2018 10:33:16 +0000 (12:33 +0200)
committerFrancois H. Theron <francois.theron@netronome.com>
Tue, 13 Nov 2018 13:33:21 +0000 (15:33 +0200)
commit97b3f39201efc9029a9a27d65f13674964c51503
tree9456973ddda4674581b7a06d151b083da98a2162
parent497d849d28d933016ae0ad388c86b08bb16dd504
opcodes/nfp: Fix disassembly of crc[] with swapped operands.

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
binutils/testsuite/binutils-all/nfp/test1.d
binutils/testsuite/binutils-all/nfp/test1_nfp6000.nffw
opcodes/ChangeLog
opcodes/nfp-dis.c