aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorPeter Bergner <bergner@vnet.ibm.com>2016-05-13 15:15:00 -0500
committerPeter Bergner <bergner@vnet.ibm.com>2016-05-13 15:15:00 -0500
commit1178da445ad5faf37f9cc2be3aaa69d916f10f62 (patch)
treea71836acc91a897b3c6256b1571e6db3195a89ab /opcodes
parent2168b2688ae343a61c467450068503295a5e3deb (diff)
downloadgdb-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')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/ppc-opc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index da823ac..ce23ca1 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
+
+ * ppc-opc.c (IMM8): Use PPC_OPERAND_SIGNOPT.
+
2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
* mips-dis.c (mips_arch_choices): Add ASE_DSPR3 to mips32r6 and
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)