diff options
author | Alan Modra <amodra@gmail.com> | 2008-07-30 06:29:22 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-07-30 06:29:22 +0000 |
commit | 081ba1b3c08bce14fac7c6c240734f7bd230f784 (patch) | |
tree | f1adfcffb0c06adb38e7533e94e82f4c7ae36e76 /gas/config | |
parent | 0af1713e7cd57b52f6c81f73aa58934132198880 (diff) | |
download | gdb-081ba1b3c08bce14fac7c6c240734f7bd230f784.zip gdb-081ba1b3c08bce14fac7c6c240734f7bd230f784.tar.gz gdb-081ba1b3c08bce14fac7c6c240734f7bd230f784.tar.bz2 |
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 'gas/config')
-rw-r--r-- | gas/config/tc-ppc.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 927ddb6..b4a9e1d 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -849,11 +849,12 @@ parse_cpu (const char *arg) /* Do all PPC750s have paired single ops? */ else if (strcmp (arg, "750cl") == 0) ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_PPCPS; - /* -m403 and -m405 mean to assemble for the PowerPC 403/405. */ - else if (strcmp (arg, "403") == 0 - || strcmp (arg, "405") == 0) + else if (strcmp (arg, "403") == 0) ppc_cpu = (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_403 | PPC_OPCODE_32); + else if (strcmp (arg, "405") == 0) + ppc_cpu = (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC + | PPC_OPCODE_403 | PPC_OPCODE_405 | PPC_OPCODE_32); else if (strcmp (arg, "440") == 0 || strcmp (arg, "464") == 0) ppc_cpu = (PPC_OPCODE_PPC | PPC_OPCODE_BOOKE | PPC_OPCODE_32 @@ -1122,7 +1123,8 @@ PowerPC options:\n\ -m601 generate code for PowerPC 601\n\ -mppc, -mppc32, -m603, -m604\n\ generate code for PowerPC 603/604\n\ --m403, -m405 generate code for PowerPC 403/405\n\ +-m403 generate code for PowerPC 403\n\ +-m405 generate code for PowerPC 405\n\ -m440 generate code for PowerPC 440\n\ -m464 generate code for PowerPC 464\n\ -m7400, -m7410, -m7450, -m7455\n\ |