This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 3/9] MIPS/GAS: Reformat MIPS IV FPU test
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: binutils at sourceware dot org
- Cc: Richard Sandiford <rdsandiford at googlemail dot com>, Catherine Moore <clm at codesourcery dot com>, gnu-mips-sgxx at codesourcery dot com
- Date: Fri, 2 Jul 2010 17:13:40 +0100 (BST)
- Subject: [PATCH 3/9] MIPS/GAS: Reformat MIPS IV FPU test
Hi,
This is a change that reformats MIPS IV FPU test patterns so that any
insertions/removals only require to modify the affected area of the
template. This makes it easier to catch unwanted changes when such
modifications are applied.
Additionally missing escapes for the "." special character are added.
Other than that there are no functional changes.
2010-07-02 Maciej W. Rozycki <macro@codesourcery.com>
gas/testsuite/
* gas/mips/mips4-fp.d: Reformat.
OK to commit?
Maciej
binutils-250040.diff
Index: binutils-fsf-trunk-quilt/gas/testsuite/gas/mips/mips4-fp.d
===================================================================
--- binutils-fsf-trunk-quilt.orig/gas/testsuite/gas/mips/mips4-fp.d 2010-05-12 22:07:14.000000000 +0100
+++ binutils-fsf-trunk-quilt/gas/testsuite/gas/mips/mips4-fp.d 2010-07-02 01:18:35.000000000 +0100
@@ -5,44 +5,44 @@
.*: +file format .*mips.*
-Disassembly of section .text:
-0+0000 <[^>]*> bc1f 00000000+ <text_label>
-0+0004 <[^>]*> nop
-0+0008 <[^>]*> bc1f \$fcc1,00000000+ <text_label>
-0+000c <[^>]*> nop
-0+0010 <[^>]*> bc1fl \$fcc1,00000000+ <text_label>
-0+0014 <[^>]*> nop
-0+0018 <[^>]*> bc1t \$fcc1,00000000+ <text_label>
-0+001c <[^>]*> nop
-0+0020 <[^>]*> bc1tl \$fcc2,00000000+ <text_label>
-0+0024 <[^>]*> nop
-0+0028 <[^>]*> c.f.d \$f4,\$f6
-0+002c <[^>]*> c.f.d \$fcc1,\$f4,\$f6
-0+0030 <[^>]*> ldxc1 \$f2,a0\(a1\)
-0+0034 <[^>]*> lwxc1 \$f2,a0\(a1\)
-0+0038 <[^>]*> madd.d \$f0,\$f2,\$f4,\$f6
-0+003c <[^>]*> madd.s \$f10,\$f8,\$f2,\$f0
-0+0040 <[^>]*> movf a0,a1,\$fcc4
-0+0044 <[^>]*> movf.d \$f4,\$f6,\$fcc0
-0+0048 <[^>]*> movf.s \$f4,\$f6,\$fcc0
-0+004c <[^>]*> movn.d \$f4,\$f6,a2
-0+0050 <[^>]*> movn.s \$f4,\$f6,a2
-0+0054 <[^>]*> movt a0,a1,\$fcc4
-0+0058 <[^>]*> movt.d \$f4,\$f6,\$fcc0
-0+005c <[^>]*> movt.s \$f4,\$f6,\$fcc0
-0+0060 <[^>]*> movz.d \$f4,\$f6,a2
-0+0064 <[^>]*> movz.s \$f4,\$f6,a2
-0+0068 <[^>]*> msub.d \$f0,\$f2,\$f4,\$f6
-0+006c <[^>]*> msub.s \$f0,\$f2,\$f4,\$f6
-0+0070 <[^>]*> nmadd.d \$f0,\$f2,\$f4,\$f6
-0+0074 <[^>]*> nmadd.s \$f0,\$f2,\$f4,\$f6
-0+0078 <[^>]*> nmsub.d \$f0,\$f2,\$f4,\$f6
-0+007c <[^>]*> nmsub.s \$f0,\$f2,\$f4,\$f6
-0+0080 <[^>]*> prefx 0x4,a0\(a1\)
-0+0084 <[^>]*> recip.d \$f4,\$f6
-0+0088 <[^>]*> recip.s \$f4,\$f6
-0+008c <[^>]*> rsqrt.d \$f4,\$f6
-0+0090 <[^>]*> rsqrt.s \$f4,\$f6
-0+0094 <[^>]*> sdxc1 \$f4,a0\(a1\)
-0+0098 <[^>]*> swxc1 \$f4,a0\(a1\)
- ...
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> bc1f 0+0000 <text_label>
+[0-9a-f]+ <[^>]*> nop
+[0-9a-f]+ <[^>]*> bc1f \$fcc1,0+0000 <text_label>
+[0-9a-f]+ <[^>]*> nop
+[0-9a-f]+ <[^>]*> bc1fl \$fcc1,0+0000 <text_label>
+[0-9a-f]+ <[^>]*> nop
+[0-9a-f]+ <[^>]*> bc1t \$fcc1,0+0000 <text_label>
+[0-9a-f]+ <[^>]*> nop
+[0-9a-f]+ <[^>]*> bc1tl \$fcc2,0+0000 <text_label>
+[0-9a-f]+ <[^>]*> nop
+[0-9a-f]+ <[^>]*> c.f.d \$f4,\$f6
+[0-9a-f]+ <[^>]*> c.f.d \$fcc1,\$f4,\$f6
+[0-9a-f]+ <[^>]*> ldxc1 \$f2,a0\(a1\)
+[0-9a-f]+ <[^>]*> lwxc1 \$f2,a0\(a1\)
+[0-9a-f]+ <[^>]*> madd.d \$f0,\$f2,\$f4,\$f6
+[0-9a-f]+ <[^>]*> madd.s \$f10,\$f8,\$f2,\$f0
+[0-9a-f]+ <[^>]*> movf a0,a1,\$fcc4
+[0-9a-f]+ <[^>]*> movf.d \$f4,\$f6,\$fcc0
+[0-9a-f]+ <[^>]*> movf.s \$f4,\$f6,\$fcc0
+[0-9a-f]+ <[^>]*> movn.d \$f4,\$f6,a2
+[0-9a-f]+ <[^>]*> movn.s \$f4,\$f6,a2
+[0-9a-f]+ <[^>]*> movt a0,a1,\$fcc4
+[0-9a-f]+ <[^>]*> movt.d \$f4,\$f6,\$fcc0
+[0-9a-f]+ <[^>]*> movt.s \$f4,\$f6,\$fcc0
+[0-9a-f]+ <[^>]*> movz.d \$f4,\$f6,a2
+[0-9a-f]+ <[^>]*> movz.s \$f4,\$f6,a2
+[0-9a-f]+ <[^>]*> msub.d \$f0,\$f2,\$f4,\$f6
+[0-9a-f]+ <[^>]*> msub.s \$f0,\$f2,\$f4,\$f6
+[0-9a-f]+ <[^>]*> nmadd.d \$f0,\$f2,\$f4,\$f6
+[0-9a-f]+ <[^>]*> nmadd.s \$f0,\$f2,\$f4,\$f6
+[0-9a-f]+ <[^>]*> nmsub.d \$f0,\$f2,\$f4,\$f6
+[0-9a-f]+ <[^>]*> nmsub.s \$f0,\$f2,\$f4,\$f6
+[0-9a-f]+ <[^>]*> prefx 0x4,a0\(a1\)
+[0-9a-f]+ <[^>]*> recip.d \$f4,\$f6
+[0-9a-f]+ <[^>]*> recip.s \$f4,\$f6
+[0-9a-f]+ <[^>]*> rsqrt.d \$f4,\$f6
+[0-9a-f]+ <[^>]*> rsqrt.s \$f4,\$f6
+[0-9a-f]+ <[^>]*> sdxc1 \$f4,a0\(a1\)
+[0-9a-f]+ <[^>]*> swxc1 \$f4,a0\(a1\)
+ \.\.\.