This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ppc e500: fix mbar and msync


Yet another boring change.

Masks were wrong.  Order was wrong.

Committed.

2002-12-05  Aldy Hernandez  <aldyh@redhat.com>

	* ppc-opc.c: Move mbar and msync up.  Change mask for mbar and
	msync.

Index: ppc-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-opc.c,v
retrieving revision 1.44
diff -c -p -r1.44 ppc-opc.c
*** ppc-opc.c	4 Dec 2002 17:49:27 -0000	1.44
--- ppc-opc.c	5 Dec 2002 23:05:19 -0000
*************** const struct powerpc_opcode powerpc_opco
*** 4145,4153 ****
  
  { "lwsync",  XSYNC(31,598,1), 0xffffffff, PPCONLY,	{ 0 } },
  { "ptesync", XSYNC(31,598,2), 0xffffffff, PPC64,	{ 0 } },
  { "sync",    X(31,598), XSYNC_MASK,	PPCCOM,		{ LS } },
  { "dcs",     X(31,598), 0xffffffff,	PWRCOM,		{ 0 } },
- { "msync",   X(31,598), 0xf80007fe,	BOOKE,		{ 0 } },
  
  { "lfdx",    X(31,599), X_MASK,		COM,		{ FRT, RA, RB } },
  
--- 4145,4153 ----
  
  { "lwsync",  XSYNC(31,598,1), 0xffffffff, PPCONLY,	{ 0 } },
  { "ptesync", XSYNC(31,598,2), 0xffffffff, PPC64,	{ 0 } },
+ { "msync",   X(31,598), 0xffffffff,	BOOKE,		{ 0 } },
  { "sync",    X(31,598), XSYNC_MASK,	PPCCOM,		{ LS } },
  { "dcs",     X(31,598), 0xffffffff,	PWRCOM,		{ 0 } },
  
  { "lfdx",    X(31,599), X_MASK,		COM,		{ FRT, RA, RB } },
  
*************** const struct powerpc_opcode powerpc_opco
*** 4243,4250 ****
  
  { "slbmfev", X(31,851), XRA_MASK,	PPC64,		{ RT, RB } },
  
  { "eieio",   X(31,854),	0xffffffff,	PPC,		{ 0 } },
- { "mbar",    X(31,854),	0xffffffff,	BOOKE,		{ MO } },
  
  { "tlbsx",   XRC(31,914,0), X_MASK, 	PPC403,		{ RT, RA, RB } },
  { "tlbsx.",  XRC(31,914,1), X_MASK, 	PPC403,		{ RT, RA, RB } },
--- 4243,4250 ----
  
  { "slbmfev", X(31,851), XRA_MASK,	PPC64,		{ RT, RB } },
  
+ { "mbar",    X(31,854),	X_MASK,		BOOKE,		{ MO } },
  { "eieio",   X(31,854),	0xffffffff,	PPC,		{ 0 } },
  
  { "tlbsx",   XRC(31,914,0), X_MASK, 	PPC403,		{ RT, RA, RB } },
  { "tlbsx.",  XRC(31,914,1), X_MASK, 	PPC403,		{ RT, RA, RB } },


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]