aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2011-09-27 04:30:32 +0000
committerDavid S. Miller <davem@redhat.com>2011-09-27 04:30:32 +0000
commit92a7795b59d61413c7df90cf615ec9c9d2977411 (patch)
treeb051438cdca59852d776b4fb66c8ebae845ef1f5 /gas/testsuite
parent79df06c40d5e4c0182d25075d463e861d7e8c930 (diff)
downloadgdb-92a7795b59d61413c7df90cf615ec9c9d2977411.zip
gdb-92a7795b59d61413c7df90cf615ec9c9d2977411.tar.gz
gdb-92a7795b59d61413c7df90cf615ec9c9d2977411.tar.bz2
opcodes/
* sparc-opc.c (sparc_opcodes): Fix random instruction to write to a float instead of an integer register. gas/testsuite/ * gas/sparc/hpcvis3.s: Update to use float reg for random insn. * gas/sparc/hpcvis3.d: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/sparc/hpcvis3.d2
-rw-r--r--gas/testsuite/gas/sparc/hpcvis3.s2
3 files changed, 7 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 5def8f5..9df84ae 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-27 David S. Miller <davem@davemloft.net>
+
+ * gas/sparc/hpcvis3.s: Update to use float reg for random insn.
+ * gas/sparc/hpcvis3.d: Likewise.
+
2011-09-26 David S. Miller <davem@davemloft.net>
* gas/sparc/ima.d: New test.
diff --git a/gas/testsuite/gas/sparc/hpcvis3.d b/gas/testsuite/gas/sparc/hpcvis3.d
index faa3137..f4606ac 100644
--- a/gas/testsuite/gas/sparc/hpcvis3.d
+++ b/gas/testsuite/gas/sparc/hpcvis3.d
@@ -41,7 +41,7 @@ Disassembly of section .text:
7c: 95 f9 11 c6 fnumaddd %f4, %f6, %f8, %f10
80: 8f b1 42 26 addxc %g5, %g6, %g7
84: 97 b2 42 6a addxccc %o1, %o2, %o3
- 88: 99 b0 02 a0 random %o4
+ 88: 8d b0 02 a0 random %f6
8c: 9f b3 42 ce umulxhi %o5, %sp, %o7
90: b5 b0 02 f9 lzd %i1, %i2
94: 81 b0 03 7b cmask8 %i3
diff --git a/gas/testsuite/gas/sparc/hpcvis3.s b/gas/testsuite/gas/sparc/hpcvis3.s
index 8da08f4..9f3ac36 100644
--- a/gas/testsuite/gas/sparc/hpcvis3.s
+++ b/gas/testsuite/gas/sparc/hpcvis3.s
@@ -34,7 +34,7 @@
fnumaddd %f4, %f6, %f8, %f10
addxc %g5, %g6, %g7
addxccc %o1, %o2, %o3
- random %o4
+ random %f6
umulxhi %o5, %o6, %o7
lzd %i1, %i2
cmask8 %i3