diff options
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/i386/i386.exp | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/pseudos-bad.l | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/pseudos-bad.s | 13 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/xmmhi64.s | 6 |
4 files changed, 27 insertions, 3 deletions
diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index 86dc1e4..7494afd 100644 --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -492,6 +492,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]] run_list_test "cet-ibt-inval" run_list_test "cet-shstk-inval" run_dump_test "pseudos" + run_list_test "pseudos-bad" run_dump_test "notrack" run_dump_test "notrack-intel" run_list_test "notrackbad" "-al" @@ -1074,6 +1075,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t run_list_test "x86-64-cet-ibt-inval" run_list_test "x86-64-cet-shstk-inval" run_dump_test "x86-64-pseudos" + run_list_test "x86-64-pseudos-bad" run_dump_test "x86-64-notrack" run_dump_test "x86-64-notrack-intel" run_list_test "x86-64-notrackbad" "-al" diff --git a/gas/testsuite/gas/i386/pseudos-bad.l b/gas/testsuite/gas/i386/pseudos-bad.l new file mode 100644 index 0000000..7fbe187 --- /dev/null +++ b/gas/testsuite/gas/i386/pseudos-bad.l @@ -0,0 +1,9 @@ +.*: Assembler messages: +.*:3: Error: .*`nop'.* +.*:4: Error: .*`nop'.* +.*:6: Error: .*`nop'.* +.*:7: Error: .*`nop'.* +.*:9: Error: .*`nop'.* +.*:10: Error: .*`nop'.* +.*:12: Error: .*`vzeroall'.* +.*:13: Error: .*`vmovmskps'.* diff --git a/gas/testsuite/gas/i386/pseudos-bad.s b/gas/testsuite/gas/i386/pseudos-bad.s new file mode 100644 index 0000000..0d57cbf --- /dev/null +++ b/gas/testsuite/gas/i386/pseudos-bad.s @@ -0,0 +1,13 @@ + .text +pseudos: + {vex} nop + {vex} nop %eax + + {vex3} nop + {vex3} nop %eax + + {evex} nop + {evex} nop %eax + + {evex} vzeroall + {evex} vmovmskps %xmm0, %eax diff --git a/gas/testsuite/gas/i386/xmmhi64.s b/gas/testsuite/gas/i386/xmmhi64.s index 4a70cf7..ecac05c 100644 --- a/gas/testsuite/gas/i386/xmmhi64.s +++ b/gas/testsuite/gas/i386/xmmhi64.s @@ -2,6 +2,6 @@ .intel_syntax noprefix .code64 xmm: - {vex2} vaddps xmm0, xmm1, xmm16 - {vex2} vaddps ymm0, ymm1, ymm16 - {vex2} vaddps zmm0, zmm1, zmm16 + vaddps xmm0, xmm1, xmm16 + vaddps ymm0, ymm1, ymm16 + vaddps zmm0, zmm1, zmm16 |