From: Alan Modra Date: Thu, 19 May 2016 07:24:54 +0000 (+0930) Subject: Correct "Fix powerpc subis range" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=514e58b726338c24b672d96bd48f8ce8a47f7803;p=binutils-gdb.git Correct "Fix powerpc subis range" * ppc-opc.c (NSISIGNOPT): Use insert_nsi and extract_nsi. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 333a6025180..f3e1d211647 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2016-05-19 Alan Modra + + * ppc-opc.c (NSISIGNOPT): Use insert_nsi and extract_nsi. + 2016-05-19 Alan Modra * ppc-opc.c: Formatting. diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 1c03c88bdab..b44ce0f81d2 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. */