diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2012-08-15 15:33:25 +0000 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2012-08-15 15:33:25 +0000 |
commit | 9f6a6cc022e1be500d3e49da1ad8bb2463b6da1b (patch) | |
tree | 1bdc29fcd98fb78e2ee06aef4f81cee59cbf277d /opcodes | |
parent | b82d08cd05cc5895a2b454a88b33bafd463de83d (diff) | |
download | gdb-9f6a6cc022e1be500d3e49da1ad8bb2463b6da1b.zip gdb-9f6a6cc022e1be500d3e49da1ad8bb2463b6da1b.tar.gz gdb-9f6a6cc022e1be500d3e49da1ad8bb2463b6da1b.tar.bz2 |
opcodes/
* ppc-opc.c <xnop, yield, mdoio, mdoom>: New extended mnemonics.
gas/testsuite/
* gas/ppc/common.d ("nop", "xnop"): Add tests.
* gas/ppc/common.s: Likewise.
* gas/ppc/power7.d ("yield", "mdoio", "mdoom"): Add tests.
* gas/ppc/power7.s: Likewise.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/ppc-opc.c | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 15fd020..9399da7 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2012-08-15 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-opc.c <xnop, yield, mdoio, mdoom>: New extended mnemonics. + 2012-08-14 Maciej W. Rozycki <macro@codesourcery.com> * mips-dis.c (print_insn_args): Add GET_OP and GET_OP_S local diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index b5cb48a..911b53b 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -4139,6 +4139,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"oris", OP(25), OP_MASK, PPCCOM, PPCNONE, {RA, RS, UI}}, {"oriu", OP(25), OP_MASK, PWRCOM, PPCNONE, {RA, RS, UI}}, +{"xnop", OP(26), 0xffffffff, PPCCOM, PPCNONE, {0}}, {"xori", OP(26), OP_MASK, PPCCOM, PPCNONE, {RA, RS, UI}}, {"xoril", OP(26), OP_MASK, PWRCOM, PPCNONE, {RA, RS, UI}}, @@ -4924,6 +4925,11 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"miso", 0x7f5ad378, 0xffffffff, E6500, PPCNONE, {0}}, +/* The "yield", "mdoio" and "mdoom" instructions are extended mnemonics for + "or rX,rX,rX", with rX being r27, r29 and r30 respectively. */ +{"yield", 0x7f7bdb78, 0xffffffff, POWER7, PPCNONE, {0}}, +{"mdoio", 0x7fbdeb78, 0xffffffff, POWER7, PPCNONE, {0}}, +{"mdoom", 0x7fdef378, 0xffffffff, POWER7, PPCNONE, {0}}, {"mr", XRC(31,444,0), X_MASK, COM|PPCVLE, PPCNONE, {RA, RS, RBS}}, {"or", XRC(31,444,0), X_MASK, COM|PPCVLE, PPCNONE, {RA, RS, RB}}, {"mr.", XRC(31,444,1), X_MASK, COM|PPCVLE, PPCNONE, {RA, RS, RBS}}, |