From cdf492019f8253a887104489cb80647ea7308d8f Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 8 Sep 2011 16:40:47 +0000 Subject: [PATCH] opcodes/ * sparc-opc.c (pdistn): Destination is integer not float register. gas/testsuite/ * gas/sparc/hpcvis3.s: Correct pdistn test. * gas/sparc/hpcvis3.d: Likewise. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/sparc/hpcvis3.d | 2 +- gas/testsuite/gas/sparc/hpcvis3.s | 2 +- opcodes/ChangeLog | 4 ++++ opcodes/sparc-opc.c | 2 +- 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 3985ae6..b8adc1f 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-09-08 David S. Miller + + * gas/sparc/hpcvis3.s: Correct pdistn test. + * gas/sparc/hpcvis3.d: Likewise. + 2011-09-08 Richard Sandiford PR gas/13167 diff --git a/gas/testsuite/gas/sparc/hpcvis3.d b/gas/testsuite/gas/sparc/hpcvis3.d index 8c49f01..cc99fc5 100644 --- a/gas/testsuite/gas/sparc/hpcvis3.d +++ b/gas/testsuite/gas/sparc/hpcvis3.d @@ -55,7 +55,7 @@ Disassembly of section .text: b4: 9f b2 c5 6d fsra16 %f42, %f44, %f46 b8: a3 b3 45 af fslas32 %f44, %f46, %f48 bc: a7 b3 c5 f1 fsra32 %f46, %f48, %f50 - c0: ab b4 47 f3 pdistn %f48, %f50, %f52 + c0: 83 b4 47 f3 pdistn %f48, %f50, %g1 c4: af b4 c8 15 fmean16 %f50, %f52, %f54 c8: b3 b5 48 57 fpadd64 %f52, %f54, %f56 cc: b7 b5 c8 99 fchksum16 %f54, %f56, %f58 diff --git a/gas/testsuite/gas/sparc/hpcvis3.s b/gas/testsuite/gas/sparc/hpcvis3.s index e262169..da09ffd 100644 --- a/gas/testsuite/gas/sparc/hpcvis3.s +++ b/gas/testsuite/gas/sparc/hpcvis3.s @@ -48,7 +48,7 @@ fsra16 %f42, %f44, %f46 fslas32 %f44, %f46, %f48 fsra32 %f46, %f48, %f50 - pdistn %f48, %f50, %f52 + pdistn %f48, %f50, %g1 fmean16 %f50, %f52, %f54 fpadd64 %f52, %f54, %f56 fchksum16 %f54, %f56, %f58 diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 3f11e66..b59d7c8 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2011-09-08 David S. Miller + + * sparc-opc.c (pdistn): Destination is integer not float register. + 2011-09-07 Andreas Schwab * m68k-opc.c: Use "y" in moveml pattern for mcfisa_a. diff --git a/opcodes/sparc-opc.c b/opcodes/sparc-opc.c index e44d321..c4a5f71 100644 --- a/opcodes/sparc-opc.c +++ b/opcodes/sparc-opc.c @@ -1864,7 +1864,7 @@ SLCBCC("cbnefr", 15), { "fsra16", F3F(2, 0x36, 0x02b), F3F(~2, ~0x36, ~0x02b), "v,B,H", 0, v9b }, { "fslas32", F3F(2, 0x36, 0x02d), F3F(~2, ~0x36, ~0x02d), "v,B,H", 0, v9b }, { "fsra32", F3F(2, 0x36, 0x02f), F3F(~2, ~0x36, ~0x02f), "v,B,H", 0, v9b }, -{ "pdistn", F3F(2, 0x36, 0x03f), F3F(~2, ~0x36, ~0x03f), "v,B,H", 0, v9b }, +{ "pdistn", F3F(2, 0x36, 0x03f), F3F(~2, ~0x36, ~0x03f), "v,B,d", 0, v9b }, { "fmean16", F3F(2, 0x36, 0x040), F3F(~2, ~0x36, ~0x040), "v,B,H", 0, v9b }, { "fpadd64", F3F(2, 0x36, 0x042), F3F(~2, ~0x36, ~0x042), "v,B,H", 0, v9b }, { "fchksum16", F3F(2, 0x36, 0x044), F3F(~2, ~0x36, ~0x044), "v,B,H", 0, v9b }, -- 2.7.4