This is the mail archive of the binutils@sources.redhat.com 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]

[PATCH] SH gas testsuite: Fix sh4a opcode (Committed)


Hi,

I've checked the attached patch in as the obvious fix corresponding
to the recent change of an opcode for sh4a in opcodes/sh-opc.h:

2004-01-27  Michael Snyder  <msnyder@redhat.com>

        * sh-opc.h (sh_table): "fsrra", not "fssra".

Regtested on sh-elf and sh4-unknown-linux-gnu.

Regards,
	kaz
--
2004-02-01  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* gas/sh/sh4a-fp.d: Fix opcode name fssra to fsrra.
	* gas/sh/sh4a-fp.s: Likewise.
	* gas/sh/err-sh4a-fp.s: Likewise.

diff -u3prN ORIG/src/gas/testsuite/gas/sh/err-sh4a-fp.s LOCAL/src/gas/testsuite/gas/sh/err-sh4a-fp.s
--- ORIG/src/gas/testsuite/gas/sh/err-sh4a-fp.s	Mon Dec 22 18:01:48 2003
+++ LOCAL/src/gas/testsuite/gas/sh/err-sh4a-fp.s	Sun Feb  1 16:25:51 2004
@@ -5,10 +5,10 @@
 
 	fpchg	fpul		! { dg-error "excess operands" }
 
-	fssra	fr1, fr2	! { dg-error "excess operands" }
-	fssra			! { dg-error "invalid operands|missing operand" }
-	fssra	fpul		! { dg-error "invalid operands" }
-	fssra	dr0, dr2	! { dg-error "invalid operands" }
+	fsrra	fr1, fr2	! { dg-error "excess operands" }
+	fsrra			! { dg-error "invalid operands|missing operand" }
+	fsrra	fpul		! { dg-error "invalid operands" }
+	fsrra	dr0, dr2	! { dg-error "invalid operands" }
 
 	fsca	dr0, fpul	! { dg-error "invalid operands" }
 	fsca	fpul, fr0	! { dg-error "invalid operands" }
diff -u3prN ORIG/src/gas/testsuite/gas/sh/sh4a-fp.d LOCAL/src/gas/testsuite/gas/sh/sh4a-fp.d
--- ORIG/src/gas/testsuite/gas/sh/sh4a-fp.d	Mon Dec 22 18:01:48 2003
+++ LOCAL/src/gas/testsuite/gas/sh/sh4a-fp.d	Sun Feb  1 16:24:51 2004
@@ -8,8 +8,8 @@ start address 0x00000000
 
 Disassembly of section \.text:
 0x00000000 f7 fd       	fpchg	
-0x00000002 f1 7d       	fssra	fr1
-0x00000004 f9 7d       	fssra	fr9
-0x00000006 f6 7d       	fssra	fr6
+0x00000002 f1 7d       	fsrra	fr1
+0x00000004 f9 7d       	fsrra	fr9
+0x00000006 f6 7d       	fsrra	fr6
 0x00000008 f2 fd       	fsca	fpul,dr2
 0x0000000a fc fd       	fsca	fpul,dr12
diff -u3prN ORIG/src/gas/testsuite/gas/sh/sh4a-fp.s LOCAL/src/gas/testsuite/gas/sh/sh4a-fp.s
--- ORIG/src/gas/testsuite/gas/sh/sh4a-fp.s	Mon Dec 22 18:01:48 2003
+++ LOCAL/src/gas/testsuite/gas/sh/sh4a-fp.s	Sun Feb  1 16:24:44 2004
@@ -3,9 +3,9 @@
 
 	fpchg
 
-	fssra fr1
-	fssra fr9
-	fssra fr6
+	fsrra fr1
+	fsrra fr9
+	fsrra fr6
 
 	fsca fpul, dr2
 	fsca fpul, dr12


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