|
|
a094f6 |
commit dce75bf9848c88583377c608e9734a2f8616d12b
|
|
|
a094f6 |
Author: Nicholas Piggin <npiggin@gmail.com>
|
|
|
a094f6 |
Date: Fri Feb 10 14:18:23 2017 +1000
|
|
|
a094f6 |
|
|
|
a094f6 |
POWER9 add scv/rfscv instruction support
|
|
|
a094f6 |
|
|
|
a094f6 |
opcodes/
|
|
|
a094f6 |
* ppc-opc.c (powerpc_opcodes) <scv, rfscv>: New mnemonics.
|
|
|
a094f6 |
|
|
|
a094f6 |
gas/
|
|
|
a094f6 |
* testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
|
|
|
a094f6 |
|
|
|
a094f6 |
### a/opcodes/ChangeLog
|
|
|
a094f6 |
### b/opcodes/ChangeLog
|
|
|
a094f6 |
## -1,3 +1,7 @@
|
|
|
a094f6 |
+2017-02-10 Nicholas Piggin <npiggin@gmail.com>
|
|
|
a094f6 |
+
|
|
|
a094f6 |
+ * ppc-opc.c (powerpc_opcodes) <scv, rfscv>: New mnemonics.
|
|
|
a094f6 |
+
|
|
|
a094f6 |
2017-02-03 Nick Clifton <nickc@redhat.com>
|
|
|
a094f6 |
|
|
|
a094f6 |
PR 21096
|
|
|
a094f6 |
--- a/opcodes/ppc-opc.c
|
|
|
a094f6 |
+++ b/opcodes/ppc-opc.c
|
|
|
a094f6 |
@@ -441,7 +441,7 @@ const struct powerpc_operand powerpc_operands[] =
|
|
|
a094f6 |
#define L2OPT L32OPT + 1
|
|
|
a094f6 |
{ 0x3, 21, NULL, NULL, PPC_OPERAND_OPTIONAL },
|
|
|
a094f6 |
|
|
|
a094f6 |
- /* The LEV field in a POWER SVC form instruction. */
|
|
|
a094f6 |
+ /* The LEV field in a POWER SVC / POWER9 SCV form instruction. */
|
|
|
a094f6 |
#define SVC_LEV L2OPT + 1
|
|
|
a094f6 |
{ 0x7f, 5, NULL, NULL, 0 },
|
|
|
a094f6 |
|
|
|
a094f6 |
@@ -4142,6 +4142,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
|
|
|
a094f6 |
{"bcla", B(16,1,1), B_MASK, COM, PPCVLE, {BO, BI, BDA}},
|
|
|
a094f6 |
|
|
|
a094f6 |
{"svc", SC(17,0,0), SC_MASK, POWER, PPCVLE, {SVC_LEV, FL1, FL2}},
|
|
|
a094f6 |
+{"scv", SC(17,0,1), SC_MASK, POWER9, PPCVLE, {SVC_LEV}},
|
|
|
a094f6 |
{"svcl", SC(17,0,1), SC_MASK, POWER, PPCVLE, {SVC_LEV, FL1, FL2}},
|
|
|
a094f6 |
{"sc", SC(17,1,0), SC_MASK, PPC, PPCVLE, {LEV}},
|
|
|
a094f6 |
{"svca", SC(17,1,0), SC_MASK, PWRCOM, PPCVLE, {SV}},
|
|
|
a094f6 |
@@ -4391,6 +4392,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
|
|
|
a094f6 |
{"rfi", XL(19,50), 0xffffffff, COM, PPCVLE, {0}},
|
|
|
a094f6 |
{"rfci", XL(19,51), 0xffffffff, PPC403|BOOKE|PPCE300|PPCA2|PPC476, PPCVLE, {0}},
|
|
|
a094f6 |
|
|
|
a094f6 |
+{"rfscv", XL(19,82), 0xffffffff, POWER9, PPCVLE, {0}},
|
|
|
a094f6 |
{"rfsvc", XL(19,82), 0xffffffff, POWER, PPCVLE, {0}},
|
|
|
a094f6 |
|
|
|
a094f6 |
{"rfgi", XL(19,102), 0xffffffff, E500MC|PPCA2, PPCVLE, {0}},
|