[binutils-gdb] Correct "Fix powerpc subis range"
Alan Modra
amodra@sourceware.org
Thu May 19 07:26:00 GMT 2016
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=514e58b726338c24b672d96bd48f8ce8a47f7803
commit 514e58b726338c24b672d96bd48f8ce8a47f7803
Author: Alan Modra <amodra@gmail.com>
Date: Thu May 19 16:54:54 2016 +0930
Correct "Fix powerpc subis range"
* ppc-opc.c (NSISIGNOPT): Use insert_nsi and extract_nsi.
Diff:
---
opcodes/ChangeLog | 4 ++++
opcodes/ppc-opc.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 333a602..f3e1d21 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,9 @@
2016-05-19 Alan Modra <amodra@gmail.com>
+ * ppc-opc.c (NSISIGNOPT): Use insert_nsi and extract_nsi.
+
+2016-05-19 Alan Modra <amodra@gmail.com>
+
* ppc-opc.c: Formatting.
(NSISIGNOPT): Define.
(powerpc_opcodes <subis>): Use NSISIGNOPT.
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 1c03c88..b44ce0f 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -499,7 +499,7 @@ const struct powerpc_operand powerpc_operands[] =
/* The NSI field in a D form instruction when we accept a wide range
of positive values. */
#define NSISIGNOPT NSI + 1
- { 0xffff, 0, NULL, NULL,
+ { 0xffff, 0, insert_nsi, extract_nsi,
PPC_OPERAND_NEGATIVE | PPC_OPERAND_SIGNED | PPC_OPERAND_SIGNOPT },
/* The RA field in an D, DS, DQ, X, XO, M, or MDS form instruction. */
More information about the Binutils-cvs
mailing list