diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2003-07-15 07:50:39 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2003-07-15 07:50:39 +0000 |
commit | 5a7ea749508ca506900e38238305f70dd1cbe164 (patch) | |
tree | d5eb505d1aad88c7dadeb2bce0154d15fca53449 /gas/testsuite | |
parent | ec178e1bbbb2314200cb408997efc934017f9684 (diff) | |
download | gdb-5a7ea749508ca506900e38238305f70dd1cbe164.zip gdb-5a7ea749508ca506900e38238305f70dd1cbe164.tar.gz gdb-5a7ea749508ca506900e38238305f70dd1cbe164.tar.bz2 |
include/opcode/
* mips.h (CPU_RM7000): New macro.
(OPCODE_IS_MEMBER): Match CPU_RM7000 against 4650 insns.
bfd/
* archures.c (bfd_mach_mips7000): New.
* bfd-in2.h: Regenerated.
* cpu-mips.c (arch_info_struct): Add an entry for mips:7000.
* elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000.
(mips_mach_extensions): Add an entry for it.
opcodes/
* mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries.
gas/
* config/tc-mips.c (hilo_interlocks): True for CPU_RM7000.
(mips_cpu_info_table): Add rm7000 and rm9000 entries.
gas/testsuite/
* gas/mips/rm7000.[sd]: New test.
* gas/mips/mips.exp: Run it.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/rm7000.d | 14 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/rm7000.s | 5 |
4 files changed, 25 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index f747024..17d0d3d 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-07-15 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/rm7000.[sd]: New test. + * gas/mips/mips.exp: Run it. + 2003-07-10 Jakub Jelinek <jakub@redhat.com> * gas/cfi/cfi-ppc-1.s: New test. diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index 25cfdf6..89af998 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -552,6 +552,7 @@ if { [istarget mips*-*-*] } then { run_dump_test "vr4122" run_dump_test "vr5400" run_dump_test "vr5500" + run_dump_test "rm7000" run_dump_test "perfcount" run_dump_test "lineno" run_dump_test "sync" diff --git a/gas/testsuite/gas/mips/rm7000.d b/gas/testsuite/gas/mips/rm7000.d new file mode 100644 index 0000000..05df9c8 --- /dev/null +++ b/gas/testsuite/gas/mips/rm7000.d @@ -0,0 +1,14 @@ +#objdump: -dr -M gpr-names=numeric -m mips:7000 +#name: MIPS RM7000 +#as: -march=rm7000 + +.*: +file format .*mips.* + +Disassembly of section \.text: + +0+000 <\.text>: + * 0: 70a62002 * mul \$4,\$5,\$6 + * 4: 70850000 * mad \$4,\$5 + * 8: 70a60001 * madu \$5,\$6 + * c: 00003812 * mflo \$7 + *10: 01000011 * mthi \$8 diff --git a/gas/testsuite/gas/mips/rm7000.s b/gas/testsuite/gas/mips/rm7000.s new file mode 100644 index 0000000..39de9d5 --- /dev/null +++ b/gas/testsuite/gas/mips/rm7000.s @@ -0,0 +1,5 @@ + mul $4,$5,$6 + mad $4,$5 + madu $5,$6 + mflo $7 + mthi $8 # No delay needed |