This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

MIPS tests ldstla-32-shared.d, ldstla-32.d


Hi,

  These two tests (ldstla-32-shared.d, ldstla-32.d)
contain a NOP between lw and sw to ensure enough delays.
Ex:
 344:   8c020000        lw      v0,0\(zero\)
 348:   00000000        nop
 34c:   ac82ffff        sw      v0,-1\(a0\)

  The memory interlock is provided for CPUs other than mips1,
so NOPs are not generated.  To make the tests pass, we may
want to pass "-march=mips1" to "as".  Thanks!

Regards,
Chao-ying

2008-06-20  Chao-ying Fu  <fu@mips.com>

	* gas/mips/ldstla-32-shared.d: Add -march=mips1 for as.
	* gas/mips/ldstla-32.d: Likewise.

Index: ldstla-32-shared.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/ldstla-32-shared.d,v
retrieving revision 1.2
diff -u -p -r1.2 ldstla-32-shared.d
--- ldstla-32-shared.d  13 Apr 2005 18:17:10 -0000      1.2
+++ ldstla-32-shared.d  20 Jun 2008 23:04:25 -0000
@@ -1,5 +1,5 @@
 #objdump: -d
-#as: -KPIC -mabi=32
+#as: -KPIC -mabi=32 -march=mips1
 #name: MIPS ld-st-la constants (ABI o32, shared)
 #source: ldstla-32.s

Index: ldstla-32.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/ldstla-32.d,v
retrieving revision 1.2
diff -u -p -r1.2 ldstla-32.d
--- ldstla-32.d 13 Apr 2005 18:17:10 -0000      1.2
+++ ldstla-32.d 20 Jun 2008 23:04:25 -0000
@@ -1,5 +1,5 @@
 #objdump: -d
-#as: -mabi=32
+#as: -mabi=32 -march=mips1
 #name: MIPS ld-st-la constants (ABI o32)
 #source: ldstla-32.s


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]