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]

Re: [Patch] MIPS: Add mips16e save/restore instruction support.


Thiemo Seufer wrote:
[snip]
> > Index: gas/testsuite/gas/mips/mips16e-save.d
> > ===================================================================
> > #objdump: -dr -mmips:isa32 -mmips:16
> > #as: -march=mips32 -mips16
> > #name: mips16e save/restore
> > .*:     file format .*
> 
> File format of .*mips.*
> 
> > Disassembly of section .text:
> > 00000000 <func>:
> >    0:   6481            save    8
> 
> An whitespace regex [ 	]+, which is a bit more robust.

I also checked in the appended patch.


Thiemo


2005-11-14  Thiemo Seufer  <ths@networkno.de>

	* gas/testsuite/gas/mips/mips16e-jrc.d: Tighten file format
	check, relax whitespace checking.


Index: gas/testsuite/gas/mips/mips16e-jrc.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips16e-jrc.d,v
retrieving revision 1.1
diff -u -p -r1.1 mips16e-jrc.d
--- gas/testsuite/gas/mips/mips16e-jrc.d	19 Oct 2005 18:47:09 -0000	1.1
+++ gas/testsuite/gas/mips/mips16e-jrc.d	14 Nov 2005 10:58:20 -0000
@@ -1,14 +1,16 @@
 #objdump: -dr -mmips:isa32 -mmips:16
 #as: -march=mips32 -mips16
 #name: mips16e jalrc/jrc
-.*:     file format .*
+
+.*: +file format .*mips.*
+
 Disassembly of section .text:
 00000000 <.text>:
-   0:	eac0      	jalrc	v0
-   2:	e8a0      	jrc	ra
-   4:	6a01      	li	v0,1
-   6:	6500      	nop
-   8:	6500      	nop
-   a:	6500      	nop
-   c:	6500      	nop
-   e:	6500      	nop
+   0:[ 	]+eac0[ 	]+jalrc[ 	]+v0
+   2:[ 	]+e8a0[ 	]+jrc[ 	]+ra
+   4:[ 	]+6a01[ 	]+li[ 	]+v0,1
+   6:[ 	]+6500[ 	]+nop
+   8:[ 	]+6500[ 	]+nop
+   a:[ 	]+6500[ 	]+nop
+   c:[ 	]+6500[ 	]+nop
+   e:[ 	]+6500[ 	]+nop


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