diff options
author | Nick Clifton <nickc@redhat.com> | 2014-03-19 09:38:25 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-03-19 09:38:25 +0000 |
commit | b8985e5c0e880ddaac7dd42171fca4359f85ea95 (patch) | |
tree | 7e3516c4d53f8ebb071ca5456bde4d9f0d9ad5b2 /opcodes/rx-decode.opc | |
parent | 1d63324c56f29034782396ce7f25c09edd0cdc6e (diff) | |
download | gdb-b8985e5c0e880ddaac7dd42171fca4359f85ea95.zip gdb-b8985e5c0e880ddaac7dd42171fca4359f85ea95.tar.gz gdb-b8985e5c0e880ddaac7dd42171fca4359f85ea95.tar.bz2 |
Fix RX gas testsuite failures by accounting for new variations in the disassembler's output.
* rx-decode.opc (bwl): Allow for bogus instructions with a size
field of 3.
(sbwl, ubwl, SCALE): Likewise.
* rx-decode.c: Regenerate.
* gas/rx/mov.d: Update expected disassembly.
Diffstat (limited to 'opcodes/rx-decode.opc')
-rw-r--r-- | opcodes/rx-decode.opc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/opcodes/rx-decode.opc b/opcodes/rx-decode.opc index 8bf1f94..46b8aea 100644 --- a/opcodes/rx-decode.opc +++ b/opcodes/rx-decode.opc @@ -48,21 +48,24 @@ static int bwl[] = { RX_Byte, RX_Word, - RX_Long + RX_Long, + 0 /* Bogus instructions can have a size field set to 3. */ }; static int sbwl[] = { RX_SByte, RX_SWord, - RX_Long + RX_Long, + 0 /* Bogus instructions can have a size field set to 3. */ }; static int ubwl[] = { RX_UByte, RX_UWord, - RX_Long + RX_Long, + 0 /* Bogus instructions can have a size field set to 3. */ }; static int memex[] = @@ -81,7 +84,7 @@ static int memex[] = rx->op[n].size = s ) /* This is for the BWL and BW bitfields. */ -static int SCALE[] = { 1, 2, 4 }; +static int SCALE[] = { 1, 2, 4, 0 }; /* This is for the prefix size enum. */ static int PSCALE[] = { 4, 1, 1, 1, 2, 2, 2, 3, 4 }; |