diff options
author | Alan Modra <amodra@gmail.com> | 2010-06-14 14:48:05 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-06-14 14:48:05 +0000 |
commit | e01d869a3be23aa63825fa1a10e894c5aa3c31a9 (patch) | |
tree | f2f2b371b7366b4f3a755020b84ff16b520f2f75 /include/opcode/ppc.h | |
parent | 92b729071eddfad07aa5df4f05fc1d3b7fca6923 (diff) | |
download | gdb-e01d869a3be23aa63825fa1a10e894c5aa3c31a9.zip gdb-e01d869a3be23aa63825fa1a10e894c5aa3c31a9.tar.gz gdb-e01d869a3be23aa63825fa1a10e894c5aa3c31a9.tar.bz2 |
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.
Diffstat (limited to 'include/opcode/ppc.h')
-rw-r--r-- | include/opcode/ppc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index e6dab7e..2d99cd4 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -177,6 +177,9 @@ extern const int powerpc_num_opcodes; /* Opcode is supported by AppliedMicro Titan core */ #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. */ #define PPC_OP(i) (((i) >> 26) & 0x3f) |