public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] ppc64: Enable icswx instructions for POWER7
@ 2011-04-16  5:43 Anton Blanchard
  2011-04-25 23:13 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Blanchard @ 2011-04-16  5:43 UTC (permalink / raw)
  To: binutils


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}},
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ppc64: Enable icswx instructions for POWER7
  2011-04-16  5:43 [PATCH] ppc64: Enable icswx instructions for POWER7 Anton Blanchard
@ 2011-04-25 23:13 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2011-04-25 23:13 UTC (permalink / raw)
  To: Anton Blanchard; +Cc: binutils

On Sat, Apr 16, 2011 at 03:42:48PM +1000, Anton Blanchard wrote:
> 	* ppc-opc.c (powerpc_opcodes): Enable icswx for POWER7.

Committed mainline and branch.

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-25 23:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-16  5:43 [PATCH] ppc64: Enable icswx instructions for POWER7 Anton Blanchard
2011-04-25 23:13 ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).