aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ppc-opc.c
diff options
context:
space:
mode:
authorPeter Bergner <bergner@vnet.ibm.com>2012-08-15 21:25:21 +0000
committerPeter Bergner <bergner@vnet.ibm.com>2012-08-15 21:25:21 +0000
commit588925d0654555b1a0024f18bb7c0e073b285686 (patch)
tree2c2cd2b1e2eaf096e845511e1b32096ecbd74132 /opcodes/ppc-opc.c
parent9f6a6cc022e1be500d3e49da1ad8bb2463b6da1b (diff)
downloadgdb-588925d0654555b1a0024f18bb7c0e073b285686.zip
gdb-588925d0654555b1a0024f18bb7c0e073b285686.tar.gz
gdb-588925d0654555b1a0024f18bb7c0e073b285686.tar.bz2
opcodes/
* ppc-opc.c <RSQ, RTQ>: Use PPC_OPERAND_GPR. gas/testsuite/ * gas/ppc/power4.s <lq, stq>: Add more tests. * gas/ppc/power4.d: Likewise.
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r--opcodes/ppc-opc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 911b53b..1b15568 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -512,11 +512,11 @@ const struct powerpc_operand powerpc_operands[] =
#define RD RS
{ 0x1f, 21, NULL, NULL, PPC_OPERAND_GPR },
- /* The RS and RT fields of the DS form stq instruction, which have
- special value restrictions. */
+ /* The RS and RT fields of the DS form stq and DQ form lq instructions,
+ which have special value restrictions. */
#define RSQ RS + 1
#define RTQ RSQ
- { 0x1e, 21, NULL, NULL, PPC_OPERAND_GPR_0 },
+ { 0x1e, 21, NULL, NULL, PPC_OPERAND_GPR },
/* The RS field of the tlbwe instruction, which is optional. */
#define RSO RSQ + 1