summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2014-10-21 09:56:38 +0200
committerAlan Modra <amodra@gmail.com>2014-10-28 16:54:37 +1030
commit2609fe3d3f84ce62b373daa56ba615465c2d5293 (patch)
tree30f3f9f233c99793c77be4df703d15076b29f185 /gas
parent334efb9a97018d8b2f508e5c22e5acb7b824cc76 (diff)
downloadbinutils-2609fe3d3f84ce62b373daa56ba615465c2d5293.tar.gz
binutils-2609fe3d3f84ce62b373daa56ba615465c2d5293.tar.bz2
binutils-2609fe3d3f84ce62b373daa56ba615465c2d5293.zip
ppc: enable msgclr and msgsnd on Power8
According to my reading of the spec it was an oversight for them to not having got enabled when Power8 support got added.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/ppc/power8.d2
-rw-r--r--gas/testsuite/gas/ppc/power8.s2
3 files changed, 8 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 1e9d7efd9e6..b391709ed7f 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,6 +1,10 @@
2014-10-28 Alan Modra <amodra@gmail.com>
Apply truck patches
+ 2014-10-21 Jan Beulich <jbeulich@suse.com>
+ * gas/ppc/power8.s: Test msgclr and msgsnd.
+ * gas/ppc/power8.d: Adjust accordingly.
+
2014-10-18 Alan Modra <amodra@gmail.com>
* gas/i386/inval-equ-2.l: Adjust.
diff --git a/gas/testsuite/gas/ppc/power8.d b/gas/testsuite/gas/ppc/power8.d
index 2d576e6f3db..e66951e2100 100644
--- a/gas/testsuite/gas/ppc/power8.d
+++ b/gas/testsuite/gas/ppc/power8.d
@@ -150,4 +150,6 @@ Disassembly of section \.text:
230: (f3 60 d5 2d|2d d5 60 f3) xscvspdpn vs59,vs26
234: (ff 0e 16 8c|8c 16 0e ff) fmrgow f24,f14,f2
238: (fe c7 2f 8c|8c 2f c7 fe) fmrgew f22,f7,f5
+ 23c: (7c 00 71 9c|9c 71 00 7c) msgsnd r14
+ 240: (7c 00 b9 dc|dc b9 00 7c) msgclr r23
#pass
diff --git a/gas/testsuite/gas/ppc/power8.s b/gas/testsuite/gas/ppc/power8.s
index 8df4f6b20e9..09dbe43c38b 100644
--- a/gas/testsuite/gas/ppc/power8.s
+++ b/gas/testsuite/gas/ppc/power8.s
@@ -142,3 +142,5 @@ power8:
xscvspdpn 59,26
fmrgow 24,14,2
fmrgew 22,7,5
+ msgsnd 14
+ msgclr 23