diff options
author | Alan Modra <modra@gmail.com> | 2008-07-30 06:29:21 +0000 |
---|---|---|
committer | Alan Modra <modra@gmail.com> | 2008-07-30 06:29:21 +0000 |
commit | 79ea8bbb10421f19c016e44916124d9bb8efbeda (patch) | |
tree | 2b100897ef1b4cde40f6f17f018240dce3ad7465 /include/opcode/ppc.h | |
parent | e3e942ac0038ab67b1e2b67a7c7dcd200438f70a (diff) | |
download | cygnal-79ea8bbb10421f19c016e44916124d9bb8efbeda.tar.gz cygnal-79ea8bbb10421f19c016e44916124d9bb8efbeda.tar.bz2 cygnal-79ea8bbb10421f19c016e44916124d9bb8efbeda.zip |
include/opcode/
* ppc.h (PPC_OPCODE_405): Define.
(PPC_OPERAND_FSL, PPC_OPERAND_FCR, PPC_OPERAND_UDI): Define.
gas/
* config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
(md_show_usage): Likewise.
opcodes/
* ppc-dis.c (print_insn_powerpc): Disassemble FSL/FCR/UDI fields.
* ppc-opc.c (powerpc_operands): Add Xilinx APU related operands.
(insert_sprg, PPC405): Use PPC_OPCODE_405.
(powerpc_opcodes): Add Xilinx APU related opcodes.
Diffstat (limited to 'include/opcode/ppc.h')
-rw-r--r-- | include/opcode/ppc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index 7b789aa60..a6b368ab0 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -154,6 +154,9 @@ extern const int powerpc_num_opcodes; /* Opcode is supported by Power E500MC */ #define PPC_OPCODE_E500MC 0x20000000 +/* Opcode is supported by PowerPC 405 processor. */ +#define PPC_OPCODE_405 0x40000000 + /* A macro to extract the major opcode from an instruction. */ #define PPC_OP(i) (((i) >> 26) & 0x3f) @@ -304,6 +307,11 @@ extern const unsigned int num_powerpc_operands; /* Valid range of operand is 0..n rather than 0..n-1. */ #define PPC_OPERAND_PLUS1 (0x10000) + +/* Xilinx APU and FSL related operands */ +#define PPC_OPERAND_FSL (0x20000) +#define PPC_OPERAND_FCR (0x40000) +#define PPC_OPERAND_UDI (0x80000) /* The POWER and PowerPC assemblers use a few macros. We keep them with the operands table for simplicity. The macro table is an |