public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Extend mips gas testcase for cache instructions
@ 2006-05-08 21:07 Thiemo Seufer
  2006-05-08 21:17 ` Eric Christopher
  0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2006-05-08 21:07 UTC (permalink / raw)
  To: binutils

Hello All,

I applied the appended patch.


Thiemo


2006-05-08  Thiemo Seufer  <ths@mips.com>

	* gas/mips/mips32.s, gas/mips/mips32.d: Extend testcase to check
	larger offset arguments for cache instructions.

 
Index: gas/mips/mips32.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips32.d,v
retrieving revision 1.11
diff -u -p -r1.11 mips32.d
--- gas/mips/mips32.d	20 Jul 2004 17:49:29 -0000	1.11
+++ gas/mips/mips32.d	8 May 2006 18:15:08 -0000
@@ -38,19 +38,29 @@ Disassembly of section .text:
 0+0070 <[^>]*> bc250000 	cache	0x5,0\(at\)
 0+0074 <[^>]*> bc457fff 	cache	0x5,32767\(v0\)
 0+0078 <[^>]*> bc658000 	cache	0x5,-32768\(v1\)
-0+007c <[^>]*> 42000018 	eret
-0+0080 <[^>]*> 42000008 	tlbp
-0+0084 <[^>]*> 42000001 	tlbr
-0+0088 <[^>]*> 42000002 	tlbwi
-0+008c <[^>]*> 42000006 	tlbwr
-0+0090 <[^>]*> 42000020 	wait
-0+0094 <[^>]*> 42000020 	wait
-0+0098 <[^>]*> 4359e260 	wait	0x56789
-0+009c <[^>]*> 0000000d 	break
-0+00a0 <[^>]*> 0000000d 	break
-0+00a4 <[^>]*> 0345000d 	break	0x345
-0+00a8 <[^>]*> 0048d14d 	break	0x48,0x345
-0+00ac <[^>]*> 7000003f 	sdbbp
-0+00b0 <[^>]*> 7000003f 	sdbbp
-0+00b4 <[^>]*> 7159e27f 	sdbbp	0x56789
-	...
+0+007c <[^>]*> 3c010001 	lui	at,0x1
+0+0080 <[^>]*> 00240821 	addu	at,at,a0
+0+0084 <[^>]*> bc258000 	cache	0x5,-32768\(at\)
+0+0088 <[^>]*> 3c01ffff 	lui	at,0xffff
+0+008c <[^>]*> 00250821 	addu	at,at,a1
+0+0090 <[^>]*> bc257fff 	cache	0x5,32767\(at\)
+0+0094 <[^>]*> 3c010001 	lui	at,0x1
+0+0098 <[^>]*> bc258000 	cache	0x5,-32768\(at\)
+0+009c <[^>]*> 3c01ffff 	lui	at,0xffff
+0+00a0 <[^>]*> bc257fff 	cache	0x5,32767\(at\)
+0+00a4 <[^>]*> 42000018 	eret
+0+00a8 <[^>]*> 42000008 	tlbp
+0+00ac <[^>]*> 42000001 	tlbr
+0+00b0 <[^>]*> 42000002 	tlbwi
+0+00b4 <[^>]*> 42000006 	tlbwr
+0+00b8 <[^>]*> 42000020 	wait
+0+00bc <[^>]*> 42000020 	wait
+0+00c0 <[^>]*> 4359e260 	wait	0x56789
+0+00c4 <[^>]*> 0000000d 	break
+0+00c8 <[^>]*> 0000000d 	break
+0+00cc <[^>]*> 0345000d 	break	0x345
+0+00d0 <[^>]*> 0048d14d 	break	0x48,0x345
+0+00d4 <[^>]*> 7000003f 	sdbbp
+0+00d8 <[^>]*> 7000003f 	sdbbp
+0+00dc <[^>]*> 7159e27f 	sdbbp	0x56789
+	\.\.\.
Index: gas/mips/mips32.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips32.s,v
retrieving revision 1.4
diff -u -p -r1.4 mips32.s
--- gas/mips/mips32.s	20 Jul 2004 17:49:30 -0000	1.4
+++ gas/mips/mips32.s	8 May 2006 18:15:08 -0000
@@ -49,6 +49,12 @@ text_label:
       cache   5, ($1)
       cache   5, 32767($2)
       cache   5, -32768($3)
+      .set at
+      cache   5, 32768($4)
+      cache   5, -32769($5)
+      cache   5, 32768
+      cache   5, -32769
+      .set noat
       eret
       tlbp
       tlbr

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Extend mips gas testcase for cache instructions
  2006-05-08 21:07 [PATCH] Extend mips gas testcase for cache instructions Thiemo Seufer
@ 2006-05-08 21:17 ` Eric Christopher
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Christopher @ 2006-05-08 21:17 UTC (permalink / raw)
  To: Thiemo Seufer; +Cc: binutils


On May 8, 2006, at 11:19 AM, Thiemo Seufer wrote:

> Hello All,
>
> I applied the appended patch.
>

thanks.

-eric

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-08 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-08 21:07 [PATCH] Extend mips gas testcase for cache instructions Thiemo Seufer
2006-05-08 21:17 ` Eric Christopher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).