aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPeter Bergner <bergner@linux.ibm.com>2021-05-27 16:59:15 -0500
committerPeter Bergner <bergner@linux.ibm.com>2021-05-27 16:59:15 -0500
commitebcab74124c822b57ca02b33d5a305f4e191116c (patch)
treed4949119c52f598c60f5588aa36f3ac016478717 /gas
parent24b21115f522cd0fbe55986cd914a593576294ef (diff)
downloadbinutils-ebcab74124c822b57ca02b33d5a305f4e191116c.zip
binutils-ebcab74124c822b57ca02b33d5a305f4e191116c.tar.gz
binutils-ebcab74124c822b57ca02b33d5a305f4e191116c.tar.bz2
PowerPC: Add new xxmr and xxlnot extended mnemonics
opcodes/ * ppc-opc.c (powerpc_opcodes) <xxmr, xxlnot>: New extended mnemonics. gas/ * testsuite/gas/ppc/vsx.d <xxmr, xxlnot>: Add tests. * testsuite/gas/ppc/vsx.s: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/ppc/vsx.d4
-rw-r--r--gas/testsuite/gas/ppc/vsx.s4
3 files changed, 13 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d2f5f76..3e2120d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-27 Peter Bergner <bergner@linux.ibm.com>
+
+ * testsuite/gas/ppc/vsx.d <xxmr, xxlnot>: Add tests.
+ * testsuite/gas/ppc/vsx.s: Likewise.
+
2021-05-27 Alan Modra <amodra@gmail.com>
* config/tc-nds32.c (do_pseudo_push_bhwd, do_pseudo_pop_bhwd),
diff --git a/gas/testsuite/gas/ppc/vsx.d b/gas/testsuite/gas/ppc/vsx.d
index 0fbbf75..7aa9f19 100644
--- a/gas/testsuite/gas/ppc/vsx.d
+++ b/gas/testsuite/gas/ppc/vsx.d
@@ -170,4 +170,8 @@ Disassembly of section \.text:
.*: (7d 0a a6 99|99 a6 0a 7d) lxvd2x vs40,r10,r20
.*: (7d 00 a7 99|99 a7 00 7d) stxvd2x vs40,0,r20
.*: (7d 0a a7 99|99 a7 0a 7d) stxvd2x vs40,r10,r20
+.*: (f1 12 95 17|17 95 12 f1) xxlnot vs40,vs50
+.*: (f1 12 95 17|17 95 12 f1) xxlnot vs40,vs50
+.*: (f1 12 94 97|97 94 12 f1) xxmr vs40,vs50
+.*: (f1 12 94 97|97 94 12 f1) xxmr vs40,vs50
#pass
diff --git a/gas/testsuite/gas/ppc/vsx.s b/gas/testsuite/gas/ppc/vsx.s
index 716174c..cd02a6e 100644
--- a/gas/testsuite/gas/ppc/vsx.s
+++ b/gas/testsuite/gas/ppc/vsx.s
@@ -162,3 +162,7 @@ start:
lxvd2x 40,10,20
stxvd2x 40,0,20
stxvd2x 40,10,20
+ xxlnot 40,50
+ xxlnor 40,50,50
+ xxmr 40,50
+ xxlor 40,50,50