diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2011-06-29 20:35:05 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2011-06-29 20:35:05 +0000 |
commit | 02b1ab82d7f90e3520140a048836d60baacbe7a8 (patch) | |
tree | f252ea9d62c9295a184e9d9c9964e59c2f85f6c6 /gas | |
parent | 0ecee54cfd04a60e7ca61ae07c72b20e21390257 (diff) | |
download | gdb-02b1ab82d7f90e3520140a048836d60baacbe7a8.zip gdb-02b1ab82d7f90e3520140a048836d60baacbe7a8.tar.gz gdb-02b1ab82d7f90e3520140a048836d60baacbe7a8.tar.bz2 |
gas/
* config/tc-mips.c (md_mips_end): Call mips_emit_delays.
gas/testsuite/
* gas/mips/24k-triple-stores-9.d: Add -z to dump options and
explicitly match one nop.
* gas/mips/24k-triple-stores-10.d: Likewise.
* gas/mips/24k-triple-stores-11.d: Likewise.
* gas/mips/lifloat.d: Likewise.
* gas/mips/trunc.d: Likewise 1 extra nop.
* gas/mips/vr4111.d: Likewise 2 nops.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 1 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/24k-triple-stores-10.d | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/24k-triple-stores-11.d | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/24k-triple-stores-9.d | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/lifloat.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/trunc.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/vr4111.d | 8 |
9 files changed, 36 insertions, 10 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index cea235d..c450f45 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (md_mips_end): Call mips_emit_delays. + 2011-06-29 Dave Martin <dave.martin@linaro.org> PR gas/12931 diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index ff71a38..5f1470b 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -2111,6 +2111,7 @@ md_begin (void) void md_mips_end (void) { + mips_emit_delays (); if (! ECOFF_DEBUGGING) md_obj_end (); } diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 69f11a6..e22630c 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/24k-triple-stores-9.d: Add -z to dump options and + explicitly match one nop. + * gas/mips/24k-triple-stores-10.d: Likewise. + * gas/mips/24k-triple-stores-11.d: Likewise. + * gas/mips/lifloat.d: Likewise. + * gas/mips/trunc.d: Likewise 1 extra nop. + * gas/mips/vr4111.d: Likewise 2 nops. + 2011-06-26 Richard Sandiford <rdsandiford@googlemail.com> * gas/mips/24k-branch-delay-1.d: Do not allow stores to be put diff --git a/gas/testsuite/gas/mips/24k-triple-stores-10.d b/gas/testsuite/gas/mips/24k-triple-stores-10.d index c93a06d..fd0024c 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-10.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-10.d @@ -1,4 +1,4 @@ -#objdump: -dr +#objdump: -dr -z #as: -mfix-24k -32 #name: 24K: Triple Store (Intervening data #2) @@ -10,4 +10,5 @@ Disassembly of section .text: 4: a1030008 sb v1,8\(t0\) 8: 00000000 nop c: a1040010 sb a0,16\(t0\) - \.\.\. + 10: 00000000 nop +#pass diff --git a/gas/testsuite/gas/mips/24k-triple-stores-11.d b/gas/testsuite/gas/mips/24k-triple-stores-11.d index 66c4a9d..f92913a 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-11.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-11.d @@ -1,4 +1,4 @@ -#objdump: -d +#objdump: -dz #as: -mfix-24k -32 #name: 24K: Triple Store (gprel relocs) @@ -14,4 +14,5 @@ Disassembly of section .text: 14: af830000 sw v1,0\(gp\) 18: 00000000 nop 1c: af840000 sw a0,0\(gp\) - + 20: 00000000 nop +#pass diff --git a/gas/testsuite/gas/mips/24k-triple-stores-9.d b/gas/testsuite/gas/mips/24k-triple-stores-9.d index f6ffc67..1a500c0 100644 --- a/gas/testsuite/gas/mips/24k-triple-stores-9.d +++ b/gas/testsuite/gas/mips/24k-triple-stores-9.d @@ -1,4 +1,4 @@ -#objdump: -dr +#objdump: -drz #as: -mfix-24k -32 #name: 24K: Triple store (Intervening data #1) @@ -12,4 +12,5 @@ Disassembly of section .text: 8: a1030008 sb v1,8\(t0\) c: 00000000 nop 10: a1040010 sb a0,16\(t0\) - \.\.\. + 14: 00000000 nop +#pass diff --git a/gas/testsuite/gas/mips/lifloat.d b/gas/testsuite/gas/mips/lifloat.d index 3f0c161..bd389bf 100644 --- a/gas/testsuite/gas/mips/lifloat.d +++ b/gas/testsuite/gas/mips/lifloat.d @@ -1,4 +1,4 @@ -#objdump: -dr --prefix-addresses -mmips:3000 +#objdump: -drz --prefix-addresses -mmips:3000 #name: MIPS lifloat #as: -32 -mips1 @@ -21,3 +21,5 @@ Disassembly of section .text: 0+0018 <[^>]*> ori a0,a0,0xcd36 0+001c <[^>]*> lwc1 \$f4,[-0-9]+\(gp\) [ ]*1c: [A-Z0-9_]*LITERAL[A-Z0-9_]* .lit4.* +0+0020 <[^>]*> nop +#pass diff --git a/gas/testsuite/gas/mips/trunc.d b/gas/testsuite/gas/mips/trunc.d index 64cc941..d714585 100644 --- a/gas/testsuite/gas/mips/trunc.d +++ b/gas/testsuite/gas/mips/trunc.d @@ -1,4 +1,4 @@ -#objdump: -dr --prefix-addresses -mmips:3000 +#objdump: -drz --prefix-addresses -mmips:3000 #name: MIPS trunc #as: -32 -mips1 -mtune=r3000 @@ -27,3 +27,5 @@ Disassembly of section .text: 0+0044 <[^>]*> cvt.w.s \$f4,\$f6 0+0048 <[^>]*> ctc1 a0,\$31 0+004c <[^>]*> nop +0+0050 <[^>]*> nop +#pass diff --git a/gas/testsuite/gas/mips/vr4111.d b/gas/testsuite/gas/mips/vr4111.d index 6c8d445..cef9eb2 100644 --- a/gas/testsuite/gas/mips/vr4111.d +++ b/gas/testsuite/gas/mips/vr4111.d @@ -1,4 +1,4 @@ -#objdump: -dr +#objdump: -drz #name: MIPS VR4111 #as: -march=vr4111 @@ -7,5 +7,9 @@ Disassembly of section \.text: 0+000 <\.text>: + 0: 00850029 dmadd16 a0,a1 - \.\.\. + + 4: 00000000 nop + + 8: 00000000 nop + c: 00a60028 madd16 a1,a2 + +10: 00000000 nop + +14: 00000000 nop +#pass |