summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2009-09-21 10:29:09 +0000
committerBen Elliston <bje@gnu.org>2009-09-21 10:29:09 +0000
commit7bd02cf0dd4184b2f7bee428197a0b8daf8312e3 (patch)
tree48bafec55f0556e8cd0e6f2e9f474500c0aa23dc
parente4b10bb45e49339e001c246a5be4805bffd3b19c (diff)
downloadcygnal-7bd02cf0dd4184b2f7bee428197a0b8daf8312e3.tar.gz
cygnal-7bd02cf0dd4184b2f7bee428197a0b8daf8312e3.tar.bz2
cygnal-7bd02cf0dd4184b2f7bee428197a0b8daf8312e3.zip
gas/
* config/tc-ppc.c (md_show_usage): Document -mpcca2. * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2. gas/testsuite/ * gas/ppc/a2.s: New. * gas/ppc/a2.d: Likewise. * gas/ppc/ppc.exp: Run the a2 dump test. include/opcode/ * ppc.h (PPC_OPCODE_PPCA2): New. opcodes/ * ppc-dis.c (ppc_opts): Add "ppca2" entry. * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx., eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx, icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx., ici mnemonics. (ERAT_T): New operand. (XWC_MASK): New mask. (XOPL2): New macro. (PPCA2): Define.
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/ppc.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 476fdcf65..0282c4677 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-21 Ben Elliston <bje@au.ibm.com>
+
+ * ppc.h (PPC_OPCODE_PPCA2): New.
+
2009-09-05 Martin Thuresson <martin@mtme.org>
* ia64.h (struct ia64_operand): Renamed member class to op_class.
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index dc9a7ba65..79b156289 100644
--- a/include/opcode/ppc.h
+++ b/include/opcode/ppc.h
@@ -165,6 +165,9 @@ extern const int powerpc_num_opcodes;
/* Opcode is supported by Vector-Scalar (VSX) Unit */
#define PPC_OPCODE_VSX 0x80000000
+/* Opcode is supported by A2. */
+#define PPC_OPCODE_PPCA2 0x100000000ULL
+
/* A macro to extract the major opcode from an instruction. */
#define PPC_OP(i) (((i) >> 26) & 0x3f)