This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] ppc64: Enable icswx instructions for POWER7
- From: Anton Blanchard <anton at samba dot org>
- To: binutils at sourceware dot org
- Date: Sat, 16 Apr 2011 15:42:48 +1000
- Subject: [PATCH] ppc64: Enable icswx instructions for POWER7
Hi,
The POWER7 processor supports icswx, so the patch below enables it.
Anton
--
2011-04-16 Anton Blanchard <anton@samba.org>
* ppc-opc.c (powerpc_opcodes): Enable icswx for POWER7.
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index f877a54..a263206 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -4124,8 +4124,8 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{"slbmte", X(31,402), XRA_MASK, PPC64, PPCNONE, {RS, RB}},
-{"icswx", XRC(31,406,0), X_MASK, PPCA2, PPCNONE, {RS, RA, RB}},
-{"icswx.", XRC(31,406,1), X_MASK, PPCA2, PPCNONE, {RS, RA, RB}},
+{"icswx", XRC(31,406,0), X_MASK, POWER7|PPCA2, PPCNONE, {RS, RA, RB}},
+{"icswx.", XRC(31,406,1), X_MASK, POWER7|PPCA2, PPCNONE, {RS, RA, RB}},
{"sthx", X(31,407), X_MASK, COM, PPCNONE, {RS, RA0, RB}},