[PATCH RFA] mips testsuite tweaks for new warnings.

cgd@broadcom.com cgd@broadcom.com
Mon Apr 22 14:59:00 GMT 2002


Looks like more MIPS testsuite entries have big-macro-in-delay-slot
disease.

This patch fixes that.

This is an RFA, because I didn't want to assume that the "good"
solution for these particular tests was to leave the test alone and
add the warning check.


Verified to build/test clean target mips-elf, host sparc-solaris.


chris
===================================================================
2002-04-22  Chris Demetriou  <cgd@broadcom.com>

	* gas/mips/mips-gp64-fp32.l: New file.
	* gas/mips/mips-gp64-fp32.d: Use mips-gp64-fp32.l to check stderr
	output.
	* gas/mips/mips-gp64-fp64.l: New file.
	* gas/mips/mips-gp64-fp64.d: Use mips-gp64-fp64.l to check stderr
	output.

Index: gas/mips/mips-gp64-fp32.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips-gp64-fp32.d,v
retrieving revision 1.4
diff -u -p -r1.4 mips-gp64-fp32.d
--- gas/mips/mips-gp64-fp32.d	25 Feb 2002 13:21:38 -0000	1.4
+++ gas/mips/mips-gp64-fp32.d	22 Apr 2002 21:57:00 -0000
@@ -1,6 +1,7 @@
 #objdump: -d -mmips:8000
 #as: -march=8000 -EB -mfp32
 #name: MIPS -mgp64 -mfp32
+#stderr: mips-gp64-fp32.l
 
 .*: +file format.*
 
Index: gas/mips/mips-gp64-fp32.l
===================================================================
RCS file: gas/mips/mips-gp64-fp32.l
diff -N gas/mips/mips-gp64-fp32.l
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gas/mips/mips-gp64-fp32.l	22 Apr 2002 21:57:00 -0000
@@ -0,0 +1,4 @@
+.*: Assembler messages:
+.*:92: Warning: Macro instruction expanded into multiple instructions in a branch delay slot
+.*:96: Warning: Macro instruction expanded into multiple instructions in a branch delay slot
+.*:100: Warning: Macro instruction expanded into multiple instructions in a branch delay slot
Index: gas/mips/mips-gp64-fp64.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips-gp64-fp64.d,v
retrieving revision 1.4
diff -u -p -r1.4 mips-gp64-fp64.d
--- gas/mips/mips-gp64-fp64.d	25 Feb 2002 13:21:38 -0000	1.4
+++ gas/mips/mips-gp64-fp64.d	22 Apr 2002 21:57:00 -0000
@@ -1,6 +1,7 @@
 #objdump: -d -mmips:8000
 #as: -march=8000 -EB
 #name: MIPS -mgp64 -mfp64
+#stderr: mips-gp64-fp32.l
 
 .*: +file format.*
 
Index: gas/mips/mips-gp64-fp64.l
===================================================================
RCS file: gas/mips/mips-gp64-fp64.l
diff -N gas/mips/mips-gp64-fp64.l
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gas/mips/mips-gp64-fp64.l	22 Apr 2002 21:57:00 -0000
@@ -0,0 +1,4 @@
+.*: Assembler messages:
+.*:92: Warning: Macro instruction expanded into multiple instructions in a branch delay slot
+.*:96: Warning: Macro instruction expanded into multiple instructions in a branch delay slot
+.*:100: Warning: Macro instruction expanded into multiple instructions in a branch delay slot




More information about the Binutils mailing list