summaryrefslogtreecommitdiff
path: root/include/opcode/ppc.h
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@redback.com>2000-05-03 22:19:45 +0000
committerJ.T. Conklin <jtc@redback.com>2000-05-03 22:19:45 +0000
commit08de3d7d736282007dc65c240da44e68be90313c (patch)
tree428e2675ef2edac8cdac62dbd295bc3d81c1eff7 /include/opcode/ppc.h
parentf9ba203fe2b2e67d421d597949d62c842c0c4048 (diff)
downloadgdb-08de3d7d736282007dc65c240da44e68be90313c.tar.gz
* ppc.h (PPC_OPCODE_ALTIVEC): New opcode flag for vector unit.
(PPC_OPERAND_VR): New operand flag for vector registers.
Diffstat (limited to 'include/opcode/ppc.h')
-rw-r--r--include/opcode/ppc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index 974f0dfa569..246e3c77683 100644
--- a/include/opcode/ppc.h
+++ b/include/opcode/ppc.h
@@ -88,6 +88,9 @@ extern const int powerpc_num_opcodes;
/* Opcode is supported as part of the 64-bit bridge. */
#define PPC_OPCODE_64_BRIDGE (0400)
+/* Opcode is supported by Altivec Vector Unit */
+#define PPC_OPCODE_ALTIVEC (01000)
+
/* A macro to extract the major opcode from an instruction. */
#define PPC_OP(i) (((i) >> 26) & 0x3f)
@@ -221,6 +224,11 @@ extern const struct powerpc_operand powerpc_operands[];
number is allowed). This flag will only be set for a signed
operand. */
#define PPC_OPERAND_NEGATIVE (04000)
+
+/* This operand names a vector unit register. The disassembler
+ prints these with a leading 'v'. */
+#define PPC_OPERAND_VR (010000)
+
/* The POWER and PowerPC assemblers use a few macros. We keep them
with the operands table for simplicity. The macro table is an