Add support for the MIPS eXtended Physical Address (XPA) ASE.
authorAndrew Bennett <andrew.bennett@imgtec.com>
Wed, 23 Apr 2014 10:24:30 +0000 (11:24 +0100)
committerAndrew Bennett <andrew.bennett@imgtec.com>
Wed, 23 Apr 2014 12:01:18 +0000 (13:01 +0100)
commit7d64c587c15f290d228ca550bb288d53f0eb2ac4
tree72600357f6d2371bd27de80b4e69a4216855293a
parentcd0449ab05e9045682a81bf521bd0c8732c98feb
Add support for the MIPS eXtended Physical Address (XPA) ASE.

ChangeLog:

binutils/
* doc/binutils.texi: Document the disassemble MIPS XPA instructions
command line option.

gas/
* config/tc-mips.c (options): Add OPTION_XPA and OPTION_NO_XPA.
  (md_longopts): Add xpa and no-xpa command line options.
  (mips_ases): Add MIPS XPA ASE.
  (mips_cpu_info_table): Update p5600 entry to allow the XPA ASE.
  * doc/as.texinfo: Document the MIPS XPA command line options.
  * doc/c-mips.texi: Document the MIPS XPA command line options,
  and assembler directives.

gas/testsuite/
  * gas/mips/mips.exp: Add xpa tests.
  * gas/mips/xpa.s: New test.
  * gas/mips/xpa.d: Likewise.

include/
  * opcode/mips.h (ASE_XPA): New define.

opcodes/
  * mips-dis.c (mips_arch_choices): Update mips32r2 and mips64r2
  to allow the MIPS XPA ASE.
  (parse_mips_dis_option): Process the -Mxpa option.
  * mips-opc.c (XPA): New define.
  (mips_builtin_opcodes): Add MIPS XPA instructions and move the
  locations of the ctc0 and cfc0 instructions.
15 files changed:
binutils/ChangeLog
binutils/doc/binutils.texi
gas/ChangeLog
gas/config/tc-mips.c
gas/doc/as.texinfo
gas/doc/c-mips.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/xpa.d [new file with mode: 0644]
gas/testsuite/gas/mips/xpa.s [new file with mode: 0644]
include/ChangeLog
include/opcode/mips.h
opcodes/ChangeLog
opcodes/mips-dis.c
opcodes/mips-opc.c