Blame SOURCES/gdb-rhbz1320945-power9-30of38.patch

a094f6
commit 026122a670440bc51266f8e013e5c5877c19b54e
a094f6
Author: Peter Bergner <bergner@vnet.ibm.com>
a094f6
Date:   Fri Jun 3 18:38:02 2016 -0500
a094f6
a094f6
    Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
a094f6
    
a094f6
    opcodes/
a094f6
            PR binutils/20196
a094f6
            * ppc-opc.c (powerpc_opcodes <lbarx, lharx, stbcx., sthcx.>): Enable
a094f6
            opcodes for E6500.
a094f6
    
a094f6
    gas/
a094f6
            PR binutils/20196
a094f6
            * gas/testsuite/gas/ppc/e6500.s 
a094f6
            stbcx., sthcx., stwcx., stdcx.>: Add tests.
a094f6
            * gas/testsuite/gas/ppc/e6500.d: Likewise.
a094f6
            * gas/testsuite/gas/ppc/power8.s: Likewise.
a094f6
            * gas/testsuite/gas/ppc/power8.d: Likewise.
a094f6
            * gas/testsuite/gas/ppc/power4.s 
a094f6
            stdcx.>: Add tests.
a094f6
            * gas/testsuite/gas/ppc/power4.d: Likewise.
a094f6
a094f6
### a/opcodes/ChangeLog
a094f6
### b/opcodes/ChangeLog
a094f6
## -1,3 +1,9 @@
a094f6
+2016-06-03  Peter Bergner <bergner@vnet.ibm.com>
a094f6
+
a094f6
+	PR binutils/20196
a094f6
+	* ppc-opc.c (powerpc_opcodes <lbarx, lharx, stbcx., sthcx.>): Enable
a094f6
+	opcodes for E6500.
a094f6
+
a094f6
 2016-06-03  H.J. Lu  <hongjiu.lu@intel.com>
a094f6
 
a094f6
 	PR binutis/18386
a094f6
--- a/opcodes/ppc-opc.c
a094f6
+++ b/opcodes/ppc-opc.c
a094f6
@@ -4824,7 +4824,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
a094f6
 {"mfvrd",	X(31,51)|1,	XX1RB_MASK|1, PPCVSX2,	PPCNONE,	{RA, VS}},
a094f6
 {"eratilx",	X(31,51),	X_MASK,	     PPCA2,	PPCNONE,	{ERAT_T, RA, RB}},
a094f6
 
a094f6
-{"lbarx",	X(31,52),	XEH_MASK,    POWER8|PPCVLE, PPCNONE,	{RT, RA0, RB, EH}},
a094f6
+{"lbarx",	X(31,52),	XEH_MASK,    POWER8|E6500|PPCVLE, PPCNONE, {RT, RA0, RB, EH}},
a094f6
 
a094f6
 {"ldux",	X(31,53),	X_MASK,      PPC64|PPCVLE, PPCNONE,	{RT, RAL, RB}},
a094f6
 
a094f6
@@ -4904,7 +4904,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
a094f6
 {"mfvrwz",	X(31,115)|1,	XX1RB_MASK|1, PPCVSX2,	PPCNONE,	{RA, VS}},
a094f6
 {"mfvsrwz",	X(31,115),	XX1RB_MASK,   PPCVSX2,	PPCNONE,	{RA, XS6}},
a094f6
 
a094f6
-{"lharx",	X(31,116),	XEH_MASK,    POWER8|PPCVLE, PPCNONE,	{RT, RA0, RB, EH}},
a094f6
+{"lharx",	X(31,116),	XEH_MASK,    POWER8|E6500|PPCVLE, PPCNONE, {RT, RA0, RB, EH}},
a094f6
 
a094f6
 {"clf",		X(31,118),	XTO_MASK,    POWER,	PPCNONE,	{RA, RB}},
a094f6
 
a094f6
@@ -5954,7 +5954,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
a094f6
 {"tendall.",	XRC(31,686,1)|(1<<25), XRTRARB_MASK, PPCHTM, PPCNONE,	{0}},
a094f6
 {"tend.",	XRC(31,686,1), XRTARARB_MASK, PPCHTM,	PPCNONE,	{HTM_A}},
a094f6
 
a094f6
-{"stbcx.",	XRC(31,694,1),	X_MASK,      POWER8,	PPCNONE,	{RS, RA0, RB}},
a094f6
+{"stbcx.",	XRC(31,694,1),	X_MASK,      POWER8|E6500, PPCNONE,	{RS, RA0, RB}},
a094f6
 
a094f6
 {"stfsux",	X(31,695),	X_MASK,      COM,	PPCEFS,		{FRS, RAS, RB}},
a094f6
 
a094f6
@@ -5986,7 +5986,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
a094f6
 {"stswi",	X(31,725),	X_MASK, PPCCOM|PPCVLE,	E500|E500MC,	{RS, RA0, NB}},
a094f6
 {"stsi",	X(31,725),	X_MASK,      PWRCOM,	PPCNONE,	{RS, RA0, NB}},
a094f6
 
a094f6
-{"sthcx.",	XRC(31,726,1),	X_MASK,      POWER8,	PPCNONE,	{RS, RA0, RB}},
a094f6
+{"sthcx.",	XRC(31,726,1),	X_MASK,      POWER8|E6500, PPCNONE,	{RS, RA0, RB}},
a094f6
 
a094f6
 {"stfdx",	X(31,727),	X_MASK,      COM,	PPCEFS,		{FRS, RA0, RB}},
a094f6