OSDN Git Service

[gas/]
authorrsandifo <rsandifo>
Mon, 30 Sep 2002 12:04:51 +0000 (12:04 +0000)
committerrsandifo <rsandifo>
Mon, 30 Sep 2002 12:04:51 +0000 (12:04 +0000)
commit74f29409521bfea623a732c8b04a2f5e8fca64b5
treeb373dbd29c4cdc8562156f8d44ac08421799dc9b
parentfa401efee55daaa5ee750e174029cf1f7d27b8c9
[gas/]
* doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
vr5400 and vr5500.  Add entry for -mfix-vr4122-bugs.
* config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
(hilo_interlocks): True for CPU_VR5500.
(gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
(mips_fix_vr4122_bugs): New.
(append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
(mips_emit_delays): Likewise.
(macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
[M_ROLI]: Likewise ror if CPU_HAS_ROR.
(validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
(OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
(md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
(OPTION_ELF_BASE): Bump.
(md_parse_option): Handle the new options.
(mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
vr5400 and vr5500.

[gas/testsuite/]
* gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to...
* gas/mips/vr4111.[sd]: ...this new test.
* gas/mips/vr4120.[sd],
* gas/mips/vr4122.[sd],
* gas/mips/vr5400.[sd],
* gas/mips/vr5500.[sd]: New tests.
* mips.exp: Run them.
15 files changed:
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips4100.d
gas/testsuite/gas/mips/mips4100.s
gas/testsuite/gas/mips/vr4111.d [new file with mode: 0644]
gas/testsuite/gas/mips/vr4111.s [new file with mode: 0644]
gas/testsuite/gas/mips/vr4120.d [new file with mode: 0644]
gas/testsuite/gas/mips/vr4120.s [new file with mode: 0644]
gas/testsuite/gas/mips/vr4122.d [new file with mode: 0644]
gas/testsuite/gas/mips/vr4122.s [new file with mode: 0644]
gas/testsuite/gas/mips/vr5400.d [new file with mode: 0644]
gas/testsuite/gas/mips/vr5400.s [new file with mode: 0644]
gas/testsuite/gas/mips/vr5500.d [new file with mode: 0644]
gas/testsuite/gas/mips/vr5500.s [new file with mode: 0644]