diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2016-05-13 15:15:00 -0500 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2016-05-13 15:15:00 -0500 |
commit | 1178da445ad5faf37f9cc2be3aaa69d916f10f62 (patch) | |
tree | a71836acc91a897b3c6256b1571e6db3195a89ab /opcodes/ppc-opc.c | |
parent | 2168b2688ae343a61c467450068503295a5e3deb (diff) | |
download | gdb-1178da445ad5faf37f9cc2be3aaa69d916f10f62.zip gdb-1178da445ad5faf37f9cc2be3aaa69d916f10f62.tar.gz gdb-1178da445ad5faf37f9cc2be3aaa69d916f10f62.tar.bz2 |
Accept valid one byte signed and unsigned values for the IMM8 operand.
opcodes/
* ppc-opc.c (IMM8): Use PPC_OPERAND_SIGNOPT.
gas/
* testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
* testsuite/gas/ppc/power9.s: Likewise.
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r-- | opcodes/ppc-opc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index d4ba5d4..04f2231 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -942,7 +942,7 @@ const struct powerpc_operand powerpc_operands[] = /* The 8-bit IMM8 field in a XX1 form instruction. */ #define IMM8 IH + 1 - { 0xff, 11, NULL, NULL, 0 }, + { 0xff, 11, NULL, NULL, PPC_OPERAND_SIGNOPT }, }; const unsigned int num_powerpc_operands = (sizeof (powerpc_operands) |