aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-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 3985ae6..b8adc1f 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-08 David S. Miller <davem@davemloft.net>
+
+ * gas/sparc/hpcvis3.s: Correct pdistn test.
+ * gas/sparc/hpcvis3.d: Likewise.
+
2011-09-08 Richard Sandiford <rdsandiford@googlemail.com>
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