aboutsummaryrefslogtreecommitdiff
path: root/opcodes/sparc-opc.c
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 /opcodes/sparc-opc.c
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 'opcodes/sparc-opc.c')
-rw-r--r--opcodes/sparc-opc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/sparc-opc.c b/opcodes/sparc-opc.c
index 6fbe025..a2096c5 100644
--- a/opcodes/sparc-opc.c
+++ b/opcodes/sparc-opc.c
@@ -1869,7 +1869,7 @@ SLCBCC("cbnefr", 15),
{ "fnumaddd", F3(2, 0x3f, 0)|OPF_LOW4(14), F3(~2, ~0x3f, 0)|OPF_LOW4(~14), "v,B,5,H", F_FLOAT|F_FJFMAU, v9b },
{ "addxc", F3F(2, 0x36, 0x011), F3F(~2, ~0x36, ~0x011), "1,2,d", F_VIS3, v9b },
{ "addxccc", F3F(2, 0x36, 0x013), F3F(~2, ~0x36, ~0x013), "1,2,d", F_VIS3, v9b },
-{ "random", F3F(2, 0x36, 0x015), F3F(~2, ~0x36, ~0x015), "d", F_RANDOM, v9b },
+{ "random", F3F(2, 0x36, 0x015), F3F(~2, ~0x36, ~0x015), "H", F_FLOAT|F_RANDOM, v9b },
{ "umulxhi", F3F(2, 0x36, 0x016), F3F(~2, ~0x36, ~0x016), "1,2,d", F_VIS3, v9b },
{ "lzd", F3F(2, 0x36, 0x017), F3F(~2, ~0x36, ~0x017), "2,d", F_VIS3, v9b },
{ "cmask8", F3F(2, 0x36, 0x01b), F3F(~2, ~0x36, ~0x01b), "2", F_VIS3, v9b },