From f11e29afea09cc481991c3670e892d6630ebe5de Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 11 May 2011 12:39:08 +0000 Subject: [PATCH] gas/testsuite/ * gas/mips/24k-branch-delay-1.d: Allow 64-bit addresses. Stub out function names. * gas/mips/24k-triple-stores-1.d: Likewise. * gas/mips/24k-triple-stores-2.d: Likewise. * gas/mips/24k-triple-stores-3.d: Likewise. * gas/mips/24k-triple-stores-4.d: Likewise. * gas/mips/24k-triple-stores-5.d: Likewise. * gas/mips/24k-triple-stores-7.d: Likewise. * gas/mips/24k-triple-stores-8.d: Likewise. * gas/mips/24k-triple-stores-9.d: Likewise. * gas/mips/24k-triple-stores-10.d: Likewise. * gas/mips/24k-triple-stores-11.d: Likewise. * gas/mips/24k-triple-stores-6.d: Likewise. Add -EB. * gas/mips/mips.exp: Only run 24k-triple-stores-11.d on ELF targets. --- gas/testsuite/ChangeLog | 17 +++++++++++++++++ gas/testsuite/gas/mips/24k-branch-delay-1.d | 4 ++-- gas/testsuite/gas/mips/24k-triple-stores-1.d | 2 +- gas/testsuite/gas/mips/24k-triple-stores-10.d | 2 +- gas/testsuite/gas/mips/24k-triple-stores-11.d | 2 +- gas/testsuite/gas/mips/24k-triple-stores-2.d | 2 +- gas/testsuite/gas/mips/24k-triple-stores-3.d | 2 +- gas/testsuite/gas/mips/24k-triple-stores-4.d | 2 +- gas/testsuite/gas/mips/24k-triple-stores-5.d | 2 +- gas/testsuite/gas/mips/24k-triple-stores-6.d | 4 ++-- gas/testsuite/gas/mips/24k-triple-stores-7.d | 2 +- gas/testsuite/gas/mips/24k-triple-stores-8.d | 2 +- gas/testsuite/gas/mips/24k-triple-stores-9.d | 2 +- gas/testsuite/gas/mips/mips.exp | 5 ++++- 14 files changed, 35 insertions(+), 15 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 976209f8ac..f1ba9896d6 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,20 @@ +2011-05-11 Richard Sandiford + + * gas/mips/24k-branch-delay-1.d: Allow 64-bit addresses. Stub out + function names. + * gas/mips/24k-triple-stores-1.d: Likewise. + * gas/mips/24k-triple-stores-2.d: Likewise. + * gas/mips/24k-triple-stores-3.d: Likewise. + * gas/mips/24k-triple-stores-4.d: Likewise. + * gas/mips/24k-triple-stores-5.d: Likewise. + * gas/mips/24k-triple-stores-7.d: Likewise. + * gas/mips/24k-triple-stores-8.d: Likewise. + * gas/mips/24k-triple-stores-9.d: Likewise. + * gas/mips/24k-triple-stores-10.d: Likewise. + * gas/mips/24k-triple-stores-11.d: Likewise. + * gas/mips/24k-triple-stores-6.d: Likewise. Add -EB. + * gas/mips/mips.exp: Only run 24k-triple-stores-11.d on ELF targets. + 2011-05-11 Richard Sandiford * gas/mips/24k-branch-delay-1.d: Add -32 to assembler options. diff --git a/gas/testsuite/gas/mips/24k-branch-delay-1.d b/gas/testsuite/gas/mips/24k-branch-delay-1.d index eeca55a44f..66e82c7b1e 100644 --- a/gas/testsuite/gas/mips/24k-branch-delay-1.d +++ b/gas/testsuite/gas/mips/24k-branch-delay-1.d @@ -5,13 +5,13 @@ .*: +file format .*mips.* Disassembly of section .text: -00000000 : +0+ <.*>: 0: 24620005 addiu v0,v1,5 4: 8c440000 lw a0,0\(v0\) 8: ac430000 sw v1,0\(v0\) c: ac430008 sw v1,8\(v0\) 10: 00000000 nop - 14: 10600002 beqz v1,20 + 14: 10600002 beqz v1,20 <.*> 18: ac430010 sw v1,16\(v0\) 1c: 8c430008 lw v1,8\(v0\) 20: 8c450010 lw a1,16\(v0\) diff --git a/gas/testsuite/gas/mips/24k-triple-stores-1.d b/gas/testsuite/gas/mips/24k-triple-stores-1.d index 177609dfbf..584102eb51 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-1.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-1.d @@ -5,7 +5,7 @@ .*: +file format .*mips.* Disassembly of section .text: -00000000 <.text>: +0+ <.*>: 0: a3a20000 sb v0,0\(sp\) 4: 00000000 nop 8: a3a30008 sb v1,8\(sp\) diff --git a/gas/testsuite/gas/mips/24k-triple-stores-10.d b/gas/testsuite/gas/mips/24k-triple-stores-10.d index 80ab0b5cd7..8566ca229d 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-10.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-10.d @@ -5,7 +5,7 @@ .*: +file format .*mips.* Disassembly of section .text: -00000000 <.text>: +0+ <.*>: 0: a1020000 sb v0,0\(t0\) 4: 00000000 nop 8: a1030008 sb v1,8\(t0\) diff --git a/gas/testsuite/gas/mips/24k-triple-stores-11.d b/gas/testsuite/gas/mips/24k-triple-stores-11.d index 1721ae9ac5..66c4a9d044 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-11.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-11.d @@ -5,7 +5,7 @@ .*: +file format .*mips.* Disassembly of section .text: -00000000 <.text>: +0+ <.*>: 0: 00842020 add a0,a0,a0 4: 00842020 add a0,a0,a0 8: 00842020 add a0,a0,a0 diff --git a/gas/testsuite/gas/mips/24k-triple-stores-2.d b/gas/testsuite/gas/mips/24k-triple-stores-2.d index fb6988317f..f294631d6a 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-2.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-2.d @@ -5,7 +5,7 @@ .*: +file format .*mips.* Disassembly of section .text: -00000000 <.text>: +0+ <.*>: 0: a3a20000 sb v0,0\(sp\) 4: 00000000 nop 8: a3a3000a sb v1,10\(sp\) diff --git a/gas/testsuite/gas/mips/24k-triple-stores-3.d b/gas/testsuite/gas/mips/24k-triple-stores-3.d index cc632172fb..831b92764e 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-3.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-3.d @@ -6,7 +6,7 @@ Disassembly of section .text: -00000000 <.text>: +0+ <.*>: 0: a3a2000b sb v0,11\(sp\) 4: 00000000 nop 8: a3a3000b sb v1,11\(sp\) diff --git a/gas/testsuite/gas/mips/24k-triple-stores-4.d b/gas/testsuite/gas/mips/24k-triple-stores-4.d index e7c5170740..e33ad56d69 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-4.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-4.d @@ -5,7 +5,7 @@ .*: +file format .*mips.* Disassembly of section .text: -00000000 <.text>: +0+ <.*>: 0: a113000a sb s3,10\(t0\) 4: 00000000 nop 8: a5130001 sh s3,1\(t0\) diff --git a/gas/testsuite/gas/mips/24k-triple-stores-5.d b/gas/testsuite/gas/mips/24k-triple-stores-5.d index 38539b460d..8c8bb0bc2b 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-5.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-5.d @@ -5,7 +5,7 @@ .*: +file format .*mips.* Disassembly of section .text: -00000000 <.text>: +0+ <.*>: 0: a5020007 sh v0,7\(t0\) 4: 00000000 nop 8: a1030000 sb v1,0\(t0\) diff --git a/gas/testsuite/gas/mips/24k-triple-stores-6.d b/gas/testsuite/gas/mips/24k-triple-stores-6.d index f0a5cac756..553d5ffa7a 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-6.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-6.d @@ -1,11 +1,11 @@ #objdump: -dr -#as: -mfix-24k -32 +#as: -mfix-24k -32 -EB #name: 24K: Triple Store (Store Macro Check) .*: +file format .*mips.* Disassembly of section .text: -00000000 <.text>: +0+ <.*>: 0: abbf0050 swl ra,80\(sp\) 4: 00000000 nop 8: bbbf0053 swr ra,83\(sp\) diff --git a/gas/testsuite/gas/mips/24k-triple-stores-7.d b/gas/testsuite/gas/mips/24k-triple-stores-7.d index 1558d9e016..aa641eb499 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-7.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-7.d @@ -5,7 +5,7 @@ .*: +file format .*mips.* Disassembly of section .text: -00000000 <.text>: +0+ <.*>: 0: a1130004 sb s3,4\(t0\) 4: 00000000 nop 8: ad130008 sw s3,8\(t0\) diff --git a/gas/testsuite/gas/mips/24k-triple-stores-8.d b/gas/testsuite/gas/mips/24k-triple-stores-8.d index 65c3987a60..158dd3a18b 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-8.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-8.d @@ -5,7 +5,7 @@ .*: +file format .*mips.* Disassembly of section .text: -00000000 <.text>: +0+ <.*>: 0: a1130000 sb s3,0\(t0\) 4: 00000000 nop 8: a1130001 sb s3,1\(t0\) diff --git a/gas/testsuite/gas/mips/24k-triple-stores-9.d b/gas/testsuite/gas/mips/24k-triple-stores-9.d index f2c15c15e1..2ed929f07d 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-9.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-9.d @@ -6,7 +6,7 @@ Disassembly of section .text: -00000000 <.text>: +0+ <.*>: 0: a1020000 sb v0,0\(t0\) 4: 00000000 nop 8: a1030008 sb v1,8\(t0\) diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index 6e721bd2ea..8995518a76 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -491,7 +491,10 @@ if { [istarget mips*-*-vxworks*] } { run_dump_test_arches "24k-triple-stores-8" [mips_arch_list_matching mips1] run_dump_test_arches "24k-triple-stores-9" [mips_arch_list_matching mips1] run_dump_test_arches "24k-triple-stores-10" [mips_arch_list_matching mips1] - run_dump_test_arches "24k-triple-stores-11" [mips_arch_list_matching mips1] + if $elf { + run_dump_test_arches "24k-triple-stores-11" \ + [mips_arch_list_matching mips1] + } if $elf { run_dump_test_arches "jal-svr4pic" \