gas/
* config/tc-ppc.c (md_assemble): Emit APUinfo section for PPC_OPCODE_E500. gas/testsuite/ * gas/ppc/e500.s: Add eieio, mbar and lwsync * gas/ppc/e500.d: Likewise. include/opcode/ * ppc.h (PPC_OPCODE_E500): Define. opcodes/ * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_E500MC from e500 and e500x2. Add PPC_OPCODE_E500 to e500 and e500x2 * ppc-opc.c (powerpc_opcodes): Deprecate all opcodes on EFS which touch floating point regs and are enabled by COM, PPC or PPCCOM. Treat sync as msync on e500. Treat eieio as mbar 1 on e500. Treat lwsync as msync on e500.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2010-06-14  Sebastian Andrzej Siewior  <bigeasy@linutronix.de> | ||||||
|  |  | ||||||
|  | 	* ppc.h (PPC_OPCODE_E500): Define. | ||||||
|  |  | ||||||
| 2010-05-26  Catherine Moore  <clm@codesourcery.com> | 2010-05-26  Catherine Moore  <clm@codesourcery.com> | ||||||
|  |  | ||||||
| 	* opcode/mips.h (INSN_MIPS16): Remove. | 	* opcode/mips.h (INSN_MIPS16): Remove. | ||||||
|   | |||||||
| @@ -177,6 +177,9 @@ extern const int powerpc_num_opcodes; | |||||||
| /* Opcode is supported by AppliedMicro Titan core */ | /* Opcode is supported by AppliedMicro Titan core */ | ||||||
| #define PPC_OPCODE_TITAN         0x400000000ULL | #define PPC_OPCODE_TITAN         0x400000000ULL | ||||||
|  |  | ||||||
|  | /* Opcode which is supported by the e500 family */ | ||||||
|  | #define PPC_OPCODE_E500		0x800000000ULL | ||||||
|  |  | ||||||
| /* A macro to extract the major opcode from an instruction.  */ | /* A macro to extract the major opcode from an instruction.  */ | ||||||
| #define PPC_OP(i) (((i) >> 26) & 0x3f) | #define PPC_OP(i) (((i) >> 26) & 0x3f) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user