diff options
author | Jan Beulich <jbeulich@suse.com> | 2020-06-09 11:28:15 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2020-06-09 11:28:15 +0200 |
commit | 6778f1c48531c81fd90b7d2862345b5e2fa99462 (patch) | |
tree | 53a50247306980ea9f20a48e3143ae085fa17a55 /gas | |
parent | a61e306070a182315216e72c8ba53efa6a247814 (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-pseudos-bad.l | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-pseudos-bad.s | 4 |
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 |