aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2020-06-09 11:28:15 +0200
committerJan Beulich <jbeulich@suse.com>2020-06-09 11:28:15 +0200
commit6778f1c48531c81fd90b7d2862345b5e2fa99462 (patch)
tree53a50247306980ea9f20a48e3143ae085fa17a55 /gas
parenta61e306070a182315216e72c8ba53efa6a247814 (diff)
downloadgdb-6778f1c48531c81fd90b7d2862345b5e2fa99462.zip
gdb-6778f1c48531c81fd90b7d2862345b5e2fa99462.tar.gz
gdb-6778f1c48531c81fd90b7d2862345b5e2fa99462.tar.bz2
x86: add missing 64-bit tests for "don't ignore mandatory pseudo prefixes"
Commit da4977e00b73 added the 32-bit test files, but failed to add the 64-bit ones.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/i386/x86-64-pseudos-bad.l3
-rw-r--r--gas/testsuite/gas/i386/x86-64-pseudos-bad.s4
3 files changed, 12 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8b78964..6d2a62f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2020-06-09 Jan Beulich <jbeulich@suse.com>
+ * testsuite/gas/i386/x86-64-pseudos-bad.s,
+ testsuite/gas/i386/x86-64-pseudos-bad.l: New.
+
+2020-06-09 Jan Beulich <jbeulich@suse.com>
+
* testsuite/gas/i386/prefix.s: Add bogus prefix-with-VEX/EVEX
encoding tests.
* testsuite/gas/i386/prefix.d: Adjust expectations.
diff --git a/gas/testsuite/gas/i386/x86-64-pseudos-bad.l b/gas/testsuite/gas/i386/x86-64-pseudos-bad.l
new file mode 100644
index 0000000..9f8f32d
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-pseudos-bad.l
@@ -0,0 +1,3 @@
+.*: Assembler messages:
+.*:3: Error: .*`vmovaps'.*
+.*:4: Error: .*`vmovaps'.*
diff --git a/gas/testsuite/gas/i386/x86-64-pseudos-bad.s b/gas/testsuite/gas/i386/x86-64-pseudos-bad.s
new file mode 100644
index 0000000..805fd2d
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-pseudos-bad.s
@@ -0,0 +1,4 @@
+ .text
+pseudos:
+ {vex} vmovaps %xmm0, %xmm30
+ {vex3} vmovaps %xmm30, %xmm0