diff options
author | Haochen Jiang <haochen.jiang@intel.com> | 2023-11-28 13:29:01 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2023-11-28 13:29:01 +0800 |
commit | 31477859c0c2a9b79a649be98830afebb9aa1d46 (patch) | |
tree | edec9171a41c81f517581905cc5cc1c2fa8a395c /gas | |
parent | 314f65803f1894a1c4c37c19a2d7e6d1e406c3b3 (diff) | |
download | gdb-31477859c0c2a9b79a649be98830afebb9aa1d46.zip gdb-31477859c0c2a9b79a649be98830afebb9aa1d46.tar.gz gdb-31477859c0c2a9b79a649be98830afebb9aa1d46.tar.bz2 |
testsuite: Clean up .allow_index_reg in i386 tests
gas/ChangeLog:
* testsuite/gas/i386/adx.s: Remove .allow_index_reg.
* testsuite/gas/i386/amx-complex-inval.l: Ditto.
* testsuite/gas/i386/amx-complex-inval.s: Ditto.
* testsuite/gas/i386/avx-ifma.s: Ditto.
* testsuite/gas/i386/avx-ne-convert.s: Ditto.
* testsuite/gas/i386/avx-scalar-2.s: Ditto.
* testsuite/gas/i386/avx-vnni-int8.s: Ditto.
* testsuite/gas/i386/avx-vnni.s: Ditto.
* testsuite/gas/i386/avx-wig.s: Ditto.
* testsuite/gas/i386/avx2-wig.s: Ditto.
* testsuite/gas/i386/avx2.s: Ditto.
* testsuite/gas/i386/avx256int.s: Ditto.
* testsuite/gas/i386/avx512_4fmaps.s: Ditto.
* testsuite/gas/i386/avx512_4vnniw.s: Ditto.
* testsuite/gas/i386/avx512_bf16.s: Ditto.
* testsuite/gas/i386/avx512_bf16_vl-inval.l: Ditto.
* testsuite/gas/i386/avx512_bf16_vl-inval.s: Ditto.
* testsuite/gas/i386/avx512_bf16_vl.s: Ditto.
* testsuite/gas/i386/avx512_fp16-inval-bcast.l: Ditto.
* testsuite/gas/i386/avx512_fp16-inval-bcast.s: Ditto.
* testsuite/gas/i386/avx512_fp16.s: Ditto.
* testsuite/gas/i386/avx512_fp16_pseudo_ops.s: Ditto.
* testsuite/gas/i386/avx512_fp16_vl.s: Ditto.
* testsuite/gas/i386/avx512_vpopcntdq.s: Ditto.
* testsuite/gas/i386/avx512bitalg.s: Ditto.
* testsuite/gas/i386/avx512bitalg_vl.s: Ditto.
* testsuite/gas/i386/avx512bw-opts.s: Ditto.
* testsuite/gas/i386/avx512bw-wig.s: Ditto.
* testsuite/gas/i386/avx512bw.s: Ditto.
* testsuite/gas/i386/avx512bw_vl-opts.s: Ditto.
* testsuite/gas/i386/avx512bw_vl-wig.s: Ditto.
* testsuite/gas/i386/avx512bw_vl.s: Ditto.
* testsuite/gas/i386/avx512cd.s: Ditto.
* testsuite/gas/i386/avx512cd_vl.s: Ditto.
* testsuite/gas/i386/avx512dq-rcig.s: Ditto.
* testsuite/gas/i386/avx512dq.s: Ditto.
* testsuite/gas/i386/avx512dq_vl.s: Ditto.
* testsuite/gas/i386/avx512er-rcig.s: Ditto.
* testsuite/gas/i386/avx512er.s: Ditto.
* testsuite/gas/i386/avx512f-opts.s: Ditto.
* testsuite/gas/i386/avx512f-rcig.s: Ditto.
* testsuite/gas/i386/avx512f.s: Ditto.
* testsuite/gas/i386/avx512f_gfni.s: Ditto.
* testsuite/gas/i386/avx512f_vaes.s: Ditto.
* testsuite/gas/i386/avx512f_vl-opts.s: Ditto.
* testsuite/gas/i386/avx512f_vl-wig.s: Ditto.
* testsuite/gas/i386/avx512f_vl.s: Ditto.
* testsuite/gas/i386/avx512f_vpclmulqdq.s: Ditto.
* testsuite/gas/i386/avx512ifma.s: Ditto.
* testsuite/gas/i386/avx512ifma_vl.s: Ditto.
* testsuite/gas/i386/avx512pf.s: Ditto.
* testsuite/gas/i386/avx512vbmi.s: Ditto.
* testsuite/gas/i386/avx512vbmi2.s: Ditto.
* testsuite/gas/i386/avx512vbmi2_vl.s: Ditto.
* testsuite/gas/i386/avx512vbmi_vl.s: Ditto.
* testsuite/gas/i386/avx512vl_gfni.s: Ditto.
* testsuite/gas/i386/avx512vl_vaes.s: Ditto.
* testsuite/gas/i386/avx512vl_vpclmulqdq.s: Ditto.
* testsuite/gas/i386/avx512vnni.s: Ditto.
* testsuite/gas/i386/avx512vnni_vl.s: Ditto.
* testsuite/gas/i386/bmi.s: Ditto.
* testsuite/gas/i386/bmi2.s: Ditto.
* testsuite/gas/i386/cldemote.s: Ditto.
* testsuite/gas/i386/clflushopt.s: Ditto.
* testsuite/gas/i386/clwb.s: Ditto.
* testsuite/gas/i386/cmpccxadd-inval.l: Ditto.
* testsuite/gas/i386/cmpccxadd-inval.s: Ditto.
* testsuite/gas/i386/enqcmd-inval.l: Ditto.
* testsuite/gas/i386/enqcmd-inval.s: Ditto.
* testsuite/gas/i386/enqcmd.s: Ditto.
* testsuite/gas/i386/evex-lig-2.s: Ditto.
* testsuite/gas/i386/evex-lig.s: Ditto.
* testsuite/gas/i386/evex-wig.s: Ditto.
* testsuite/gas/i386/evex.s: Ditto.
* testsuite/gas/i386/fma-scalar.s: Ditto.
* testsuite/gas/i386/fma.s: Ditto.
* testsuite/gas/i386/fma4.s: Ditto.
* testsuite/gas/i386/gfni.s: Ditto.
* testsuite/gas/i386/hle.s: Ditto.
* testsuite/gas/i386/ilp32/enqcmd.s: Ditto.
* testsuite/gas/i386/ilp32/movdir.s: Ditto.
* testsuite/gas/i386/lwp.s: Ditto.
* testsuite/gas/i386/movdir.s: Ditto.
* testsuite/gas/i386/movdir64b-reg.l: Ditto.
* testsuite/gas/i386/movdir64b-reg.s: Ditto.
* testsuite/gas/i386/mpx-inval-1.l: Ditto.
* testsuite/gas/i386/mpx-inval-1.s: Ditto.
* testsuite/gas/i386/mpx.s: Ditto.
* testsuite/gas/i386/msrlist-inval.l: Ditto.
* testsuite/gas/i386/msrlist-inval.s: Ditto.
* testsuite/gas/i386/notrack.s: Ditto.
* testsuite/gas/i386/notrackbad.l: Ditto.
* testsuite/gas/i386/notrackbad.s: Ditto.
* testsuite/gas/i386/optimize-1.s: Ditto.
* testsuite/gas/i386/optimize-2.s: Ditto.
* testsuite/gas/i386/optimize-3.s: Ditto.
* testsuite/gas/i386/optimize-6.s: Ditto.
* testsuite/gas/i386/optimize-6a.l: Ditto.
* testsuite/gas/i386/optimize-7.l: Ditto.
* testsuite/gas/i386/optimize-7.s: Ditto.
* testsuite/gas/i386/opts.s: Ditto.
* testsuite/gas/i386/prefetchwt1.s: Ditto.
* testsuite/gas/i386/raoint.s: Ditto.
* testsuite/gas/i386/sha.s: Ditto.
* testsuite/gas/i386/sse2avx.s: Ditto.
* testsuite/gas/i386/tbm.s: Ditto.
* testsuite/gas/i386/vaes.s: Ditto.
* testsuite/gas/i386/vex-lig-2.s: Ditto.
* testsuite/gas/i386/vp2intersect-inval-bcast.l: Ditto.
* testsuite/gas/i386/vp2intersect-inval-bcast.s: Ditto.
* testsuite/gas/i386/vpclmulqdq.s: Ditto.
* testsuite/gas/i386/x86-64-adx.s: Ditto.
* testsuite/gas/i386/x86-64-amx-complex.s: Ditto.
* testsuite/gas/i386/x86-64-amx-fp16.s: Ditto.
* testsuite/gas/i386/x86-64-avx-ifma.s: Ditto.
* testsuite/gas/i386/x86-64-avx-ne-convert.s: Ditto.
* testsuite/gas/i386/x86-64-avx-scalar-2.s: Ditto.
* testsuite/gas/i386/x86-64-avx-swap.s: Ditto.
* testsuite/gas/i386/x86-64-avx-vnni-int8.s: Ditto.
* testsuite/gas/i386/x86-64-avx-vnni.s: Ditto.
* testsuite/gas/i386/x86-64-avx-wig.s: Ditto.
* testsuite/gas/i386/x86-64-avx2-wig.s: Ditto.
* testsuite/gas/i386/x86-64-avx2.s: Ditto.
* testsuite/gas/i386/x86-64-avx256int.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniw.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_bf16.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l: Ditto.
* testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.l: Ditto.
* testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_fp16-inval-register.l: Ditto.
* testsuite/gas/i386/x86-64-avx512_fp16-inval-register.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_fp16.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_fp16_pseudo_ops.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_fp16_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_vpopcntdq.s: Ditto.
* testsuite/gas/i386/x86-64-avx512bitalg.s: Ditto.
* testsuite/gas/i386/x86-64-avx512bitalg_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512bw-opts.s: Ditto.
* testsuite/gas/i386/x86-64-avx512bw-wig.s: Ditto.
* testsuite/gas/i386/x86-64-avx512bw.s: Ditto.
* testsuite/gas/i386/x86-64-avx512bw_vl-opts.s: Ditto.
* testsuite/gas/i386/x86-64-avx512bw_vl-wig.s: Ditto.
* testsuite/gas/i386/x86-64-avx512bw_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512cd.s: Ditto.
* testsuite/gas/i386/x86-64-avx512cd_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512dq-rcig.s: Ditto.
* testsuite/gas/i386/x86-64-avx512dq.s: Ditto.
* testsuite/gas/i386/x86-64-avx512dq_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512er-rcig.s: Ditto.
* testsuite/gas/i386/x86-64-avx512er.s: Ditto.
* testsuite/gas/i386/x86-64-avx512f-opts.s: Ditto.
* testsuite/gas/i386/x86-64-avx512f-rcig.s: Ditto.
* testsuite/gas/i386/x86-64-avx512f.s: Ditto.
* testsuite/gas/i386/x86-64-avx512f_gfni.s: Ditto.
* testsuite/gas/i386/x86-64-avx512f_vaes.s: Ditto.
* testsuite/gas/i386/x86-64-avx512f_vl-opts.s: Ditto.
* testsuite/gas/i386/x86-64-avx512f_vl-wig.s: Ditto.
* testsuite/gas/i386/x86-64-avx512f_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s: Ditto.
* testsuite/gas/i386/x86-64-avx512ifma.s: Ditto.
* testsuite/gas/i386/x86-64-avx512ifma_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512pf.s: Ditto.
* testsuite/gas/i386/x86-64-avx512vbmi.s: Ditto.
* testsuite/gas/i386/x86-64-avx512vbmi2.s: Ditto.
* testsuite/gas/i386/x86-64-avx512vbmi2_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512vbmi_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512vl_gfni.s: Ditto.
* testsuite/gas/i386/x86-64-avx512vl_vaes.s: Ditto.
* testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s: Ditto.
* testsuite/gas/i386/x86-64-avx512vnni.s: Ditto.
* testsuite/gas/i386/x86-64-avx512vnni_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx_gfni.s: Ditto.
* testsuite/gas/i386/x86-64-bmi.s: Ditto.
* testsuite/gas/i386/x86-64-bmi2.s: Ditto.
* testsuite/gas/i386/x86-64-cldemote.s: Ditto.
* testsuite/gas/i386/x86-64-clflushopt.s: Ditto.
* testsuite/gas/i386/x86-64-clwb.s: Ditto.
* testsuite/gas/i386/x86-64-cmpccxadd.s: Ditto.
* testsuite/gas/i386/x86-64-enqcmd-inval.l: Ditto.
* testsuite/gas/i386/x86-64-enqcmd-inval.s: Ditto.
* testsuite/gas/i386/x86-64-enqcmd.s: Ditto.
* testsuite/gas/i386/x86-64-evex-lig-2.s: Ditto.
* testsuite/gas/i386/x86-64-evex-lig.s: Ditto.
* testsuite/gas/i386/x86-64-evex-wig.s: Ditto.
* testsuite/gas/i386/x86-64-evex-wig2.s: Ditto.
* testsuite/gas/i386/x86-64-fma-scalar.s: Ditto.
* testsuite/gas/i386/x86-64-fma.s: Ditto.
* testsuite/gas/i386/x86-64-fma4.s: Ditto.
* testsuite/gas/i386/x86-64-fred.s: Ditto.
* testsuite/gas/i386/x86-64-gfni.s: Ditto.
* testsuite/gas/i386/x86-64-hle.s: Ditto.
* testsuite/gas/i386/x86-64-lkgs.s: Ditto.
* testsuite/gas/i386/x86-64-lwp.s: Ditto.
* testsuite/gas/i386/x86-64-movdir.s: Ditto.
* testsuite/gas/i386/x86-64-movdir64b-reg.l: Ditto.
* testsuite/gas/i386/x86-64-movdir64b-reg.s: Ditto.
* testsuite/gas/i386/x86-64-mpx-inval-1.l: Ditto.
* testsuite/gas/i386/x86-64-mpx-inval-1.s: Ditto.
* testsuite/gas/i386/x86-64-mpx-inval-2.l: Ditto.
* testsuite/gas/i386/x86-64-mpx-inval-2.s: Ditto.
* testsuite/gas/i386/x86-64-mpx.s: Ditto.
* testsuite/gas/i386/x86-64-notrack.s: Ditto.
* testsuite/gas/i386/x86-64-notrackbad.l: Ditto.
* testsuite/gas/i386/x86-64-notrackbad.s: Ditto.
* testsuite/gas/i386/x86-64-optimize-1.s: Ditto.
* testsuite/gas/i386/x86-64-optimize-2.s: Ditto.
* testsuite/gas/i386/x86-64-optimize-3.s: Ditto.
* testsuite/gas/i386/x86-64-optimize-4.s: Ditto.
* testsuite/gas/i386/x86-64-optimize-7.s: Ditto.
* testsuite/gas/i386/x86-64-optimize-7a.l: Ditto.
* testsuite/gas/i386/x86-64-optimize-8.l: Ditto.
* testsuite/gas/i386/x86-64-optimize-8.s: Ditto.
* testsuite/gas/i386/x86-64-opts.s: Ditto.
* testsuite/gas/i386/x86-64-prefetchi-warn.s: Ditto.
* testsuite/gas/i386/x86-64-prefetchi.s: Ditto.
* testsuite/gas/i386/x86-64-prefetchwt1.s: Ditto.
* testsuite/gas/i386/x86-64-raoint.s: Ditto.
* testsuite/gas/i386/x86-64-sha.s: Ditto.
* testsuite/gas/i386/x86-64-sse2avx.s: Ditto.
* testsuite/gas/i386/x86-64-tbm.s: Ditto.
* testsuite/gas/i386/x86-64-vaes.s: Ditto.
* testsuite/gas/i386/x86-64-vex-lig-2.s: Ditto.
* testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.l: Ditto.
* testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.s: Ditto.
* testsuite/gas/i386/x86-64-vpclmulqdq.s: Ditto.
* testsuite/gas/i386/x86-64-xop.s: Ditto.
* testsuite/gas/i386/x86-64-xsavec.s: Ditto.
* testsuite/gas/i386/x86-64-xsaves.s: Ditto.
* testsuite/gas/i386/xop.s: Ditto.
* testsuite/gas/i386/xsavec.s: Ditto.
* testsuite/gas/i386/xsaves.s: Ditto.
Diffstat (limited to 'gas')
234 files changed, 350 insertions, 574 deletions
diff --git a/gas/testsuite/gas/i386/adx.s b/gas/testsuite/gas/i386/adx.s index a474d94..6763f88 100644 --- a/gas/testsuite/gas/i386/adx.s +++ b/gas/testsuite/gas/i386/adx.s @@ -1,5 +1,4 @@ # Check ADX instructions. - .allow_index_reg .text _start: adcx 400(%ecx), %eax diff --git a/gas/testsuite/gas/i386/amx-complex-inval.l b/gas/testsuite/gas/i386/amx-complex-inval.l index df6713c..712f197 100644 --- a/gas/testsuite/gas/i386/amx-complex-inval.l +++ b/gas/testsuite/gas/i386/amx-complex-inval.l @@ -1,3 +1,3 @@ .* Assembler messages: -.*:6: Error: `tcmmimfp16ps' is only supported in 64-bit mode -.*:7: Error: `tcmmrlfp16ps' is only supported in 64-bit mode +.*:5: Error: `tcmmimfp16ps' is only supported in 64-bit mode +.*:6: Error: `tcmmrlfp16ps' is only supported in 64-bit mode diff --git a/gas/testsuite/gas/i386/amx-complex-inval.s b/gas/testsuite/gas/i386/amx-complex-inval.s index b1bbf32..f008d29 100644 --- a/gas/testsuite/gas/i386/amx-complex-inval.s +++ b/gas/testsuite/gas/i386/amx-complex-inval.s @@ -1,6 +1,5 @@ # Check Illegal AMX-COMPLEX instructions - .allow_index_reg .text _start: tcmmimfp16ps %tmm1, %tmm2, %tmm3 diff --git a/gas/testsuite/gas/i386/avx-ifma.s b/gas/testsuite/gas/i386/avx-ifma.s index 8104696..9b71463 100644 --- a/gas/testsuite/gas/i386/avx-ifma.s +++ b/gas/testsuite/gas/i386/avx-ifma.s @@ -1,5 +1,3 @@ - .allow_index_reg - .macro test_insn mnemonic \mnemonic %xmm2, %xmm4, %xmm2 {evex} \mnemonic %xmm2, %xmm4, %xmm2 diff --git a/gas/testsuite/gas/i386/avx-ne-convert.s b/gas/testsuite/gas/i386/avx-ne-convert.s index 7fb8666..6630dc0 100644 --- a/gas/testsuite/gas/i386/avx-ne-convert.s +++ b/gas/testsuite/gas/i386/avx-ne-convert.s @@ -1,6 +1,5 @@ # Check 32bit AVX-NE-CONVERT instructions - .allow_index_reg .text _start: vbcstnebf162ps 0x10000000(%esp, %esi, 8), %xmm6 #AVX-NE-CONVERT diff --git a/gas/testsuite/gas/i386/avx-scalar-2.s b/gas/testsuite/gas/i386/avx-scalar-2.s index f48347f..971d167 100644 --- a/gas/testsuite/gas/i386/avx-scalar-2.s +++ b/gas/testsuite/gas/i386/avx-scalar-2.s @@ -1,6 +1,5 @@ # Check VEX.128 scalar instructions with -mavxscalar=256 -msse2avx - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/avx-vnni-int8.s b/gas/testsuite/gas/i386/avx-vnni-int8.s index e3cfeb6..6eb78ce 100644 --- a/gas/testsuite/gas/i386/avx-vnni-int8.s +++ b/gas/testsuite/gas/i386/avx-vnni-int8.s @@ -1,6 +1,5 @@ # Check 32bit AVX-VNNI-INT8 instructions - .allow_index_reg .text _start: vpdpbssd %ymm4, %ymm5, %ymm6 #AVX-VNNI-INT8 diff --git a/gas/testsuite/gas/i386/avx-vnni.s b/gas/testsuite/gas/i386/avx-vnni.s index 6260330..cadb257 100644 --- a/gas/testsuite/gas/i386/avx-vnni.s +++ b/gas/testsuite/gas/i386/avx-vnni.s @@ -1,5 +1,3 @@ - .allow_index_reg - .macro test_insn mnemonic \mnemonic %xmm2, %xmm4, %xmm2 {evex} \mnemonic %xmm2, %xmm4, %xmm2 diff --git a/gas/testsuite/gas/i386/avx-wig.s b/gas/testsuite/gas/i386/avx-wig.s index 4d17ab4..7d94f23 100644 --- a/gas/testsuite/gas/i386/avx-wig.s +++ b/gas/testsuite/gas/i386/avx-wig.s @@ -1,6 +1,5 @@ # Check AVX WIG instructions - .allow_index_reg .text _start: andn (%eax), %eax, %eax diff --git a/gas/testsuite/gas/i386/avx2-wig.s b/gas/testsuite/gas/i386/avx2-wig.s index 7ed63c2..3764f43 100644 --- a/gas/testsuite/gas/i386/avx2-wig.s +++ b/gas/testsuite/gas/i386/avx2-wig.s @@ -1,6 +1,5 @@ # Check AVX2 WIG instructions - .allow_index_reg .text _start: vmovntdqa (%ecx),%ymm4 diff --git a/gas/testsuite/gas/i386/avx2.s b/gas/testsuite/gas/i386/avx2.s index 9c883a8..be65aa2 100644 --- a/gas/testsuite/gas/i386/avx2.s +++ b/gas/testsuite/gas/i386/avx2.s @@ -1,6 +1,5 @@ # Check i386 AVX2 instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/avx256int.s b/gas/testsuite/gas/i386/avx256int.s index 4d3d13b..ad556b1 100644 --- a/gas/testsuite/gas/i386/avx256int.s +++ b/gas/testsuite/gas/i386/avx256int.s @@ -1,6 +1,5 @@ # Check i386 256bit integer AVX instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/avx512_4fmaps.s b/gas/testsuite/gas/i386/avx512_4fmaps.s index 316b7f7..c70f8e0 100644 --- a/gas/testsuite/gas/i386/avx512_4fmaps.s +++ b/gas/testsuite/gas/i386/avx512_4fmaps.s @@ -1,6 +1,5 @@ # Check 32bit AVX512_4FMAPS instructions - .allow_index_reg .text _start: v4fmaddps (%ecx), %zmm4, %zmm1 # AVX512_4FMAPS diff --git a/gas/testsuite/gas/i386/avx512_4vnniw.s b/gas/testsuite/gas/i386/avx512_4vnniw.s index a67d854..7e73c82 100644 --- a/gas/testsuite/gas/i386/avx512_4vnniw.s +++ b/gas/testsuite/gas/i386/avx512_4vnniw.s @@ -1,6 +1,5 @@ # Check 32bit AVX512_4VNNIW instructions - .allow_index_reg .text _start: vp4dpwssd (%ecx), %zmm4, %zmm1 # AVX512_4VNNIW diff --git a/gas/testsuite/gas/i386/avx512_bf16.s b/gas/testsuite/gas/i386/avx512_bf16.s index bc6a8eb..192ee4f 100644 --- a/gas/testsuite/gas/i386/avx512_bf16.s +++ b/gas/testsuite/gas/i386/avx512_bf16.s @@ -1,6 +1,5 @@ # Check 32bit AVX512_BF16 instructions - .allow_index_reg .text bf16: vcvtne2ps2bf16 %zmm4, %zmm5, %zmm6 #AVX512_BF16 diff --git a/gas/testsuite/gas/i386/avx512_bf16_vl-inval.l b/gas/testsuite/gas/i386/avx512_bf16_vl-inval.l index dfd21d6..badbc63 100644 --- a/gas/testsuite/gas/i386/avx512_bf16_vl-inval.l +++ b/gas/testsuite/gas/i386/avx512_bf16_vl-inval.l @@ -1,7 +1,7 @@ .*: Assembler messages: +.*:5: Error: .* .*:6: Error: .* .*:7: Error: .* -.*:8: Error: .* +.*:10: Error: .* .*:11: Error: .* .*:12: Error: .* -.*:13: Error: .* diff --git a/gas/testsuite/gas/i386/avx512_bf16_vl-inval.s b/gas/testsuite/gas/i386/avx512_bf16_vl-inval.s index e9e36b0..f1b49a6 100644 --- a/gas/testsuite/gas/i386/avx512_bf16_vl-inval.s +++ b/gas/testsuite/gas/i386/avx512_bf16_vl-inval.s @@ -1,6 +1,5 @@ # Check illegal AVX512{BF16,VL} instructions - .allow_index_reg .text _start: vcvtneps2bf16 0x10000000(%rbp, %r14, 8), %xmm3{%k7} #AVX512{BF16,VL} MASK_ENABLING diff --git a/gas/testsuite/gas/i386/avx512_bf16_vl.s b/gas/testsuite/gas/i386/avx512_bf16_vl.s index 9d5d9bd..bdcdd20 100644 --- a/gas/testsuite/gas/i386/avx512_bf16_vl.s +++ b/gas/testsuite/gas/i386/avx512_bf16_vl.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{BF16,VL} instructions - .allow_index_reg .text bf16: vcvtne2ps2bf16 %ymm4, %ymm5, %ymm6 #AVX512{BF16,VL} diff --git a/gas/testsuite/gas/i386/avx512_fp16-inval-bcast.l b/gas/testsuite/gas/i386/avx512_fp16-inval-bcast.l index cec63a6..ab57eca 100644 --- a/gas/testsuite/gas/i386/avx512_fp16-inval-bcast.l +++ b/gas/testsuite/gas/i386/avx512_fp16-inval-bcast.l @@ -1,27 +1,27 @@ .*: Assembler messages: -.*:6: Error: unsupported broadcast for `vcvtpd2ph' -.*:7: Error: unsupported broadcast for `vcvtuqq2ph' -.*:8: Error: unsupported broadcast for `vcvtdq2ph' -.*:9: Error: unsupported broadcast for `vcvtudq2ph' -.*:10: Error: unsupported broadcast for `vcmpph' -.*:11: Error: Unsupported broadcast: `\{1to64\}' -.*:12: Error: unsupported broadcast for `vfmadd132ph' -.*:13: Error: unsupported broadcast for `vfcmaddcph' -.*:14: Error: unsupported broadcast for `vfcmulcph' -.*:15: Error: unsupported broadcast for `vcvtdq2ph' -.*:16: Error: unsupported broadcast for `vfmaddcph' +.*:5: Error: unsupported broadcast for `vcvtpd2ph' +.*:6: Error: unsupported broadcast for `vcvtuqq2ph' +.*:7: Error: unsupported broadcast for `vcvtdq2ph' +.*:8: Error: unsupported broadcast for `vcvtudq2ph' +.*:9: Error: unsupported broadcast for `vcmpph' +.*:10: Error: Unsupported broadcast: `\{1to64\}' +.*:11: Error: unsupported broadcast for `vfmadd132ph' +.*:12: Error: unsupported broadcast for `vfcmaddcph' +.*:13: Error: unsupported broadcast for `vfcmulcph' +.*:14: Error: unsupported broadcast for `vcvtdq2ph' +.*:15: Error: unsupported broadcast for `vfmaddcph' +.*:16: Error: unsupported broadcast for `vfmulcph' .*:17: Error: unsupported broadcast for `vfmulcph' -.*:18: Error: unsupported broadcast for `vfmulcph' -.*:21: Error: unsupported broadcast for `vcvtpd2ph' -.*:22: Error: unsupported broadcast for `vcvtuqq2ph' -.*:23: Error: unsupported broadcast for `vcvtdq2ph' -.*:24: Error: unsupported broadcast for `vcvtudq2ph' -.*:25: Error: unsupported broadcast for `vcmpph' -.*:26: Error: Unsupported broadcast: `\{1to64\}' -.*:27: Error: unsupported broadcast for `vfmsubadd231ph' -.*:28: Error: unsupported broadcast for `vfcmaddcph' -.*:29: Error: unsupported broadcast for `vfcmulcph' -.*:30: Error: unsupported broadcast for `vcvtdq2ph' -.*:31: Error: unsupported broadcast for `vfcmaddcph' +.*:20: Error: unsupported broadcast for `vcvtpd2ph' +.*:21: Error: unsupported broadcast for `vcvtuqq2ph' +.*:22: Error: unsupported broadcast for `vcvtdq2ph' +.*:23: Error: unsupported broadcast for `vcvtudq2ph' +.*:24: Error: unsupported broadcast for `vcmpph' +.*:25: Error: Unsupported broadcast: `\{1to64\}' +.*:26: Error: unsupported broadcast for `vfmsubadd231ph' +.*:27: Error: unsupported broadcast for `vfcmaddcph' +.*:28: Error: unsupported broadcast for `vfcmulcph' +.*:29: Error: unsupported broadcast for `vcvtdq2ph' +.*:30: Error: unsupported broadcast for `vfcmaddcph' +.*:31: Error: unsupported broadcast for `vfmulcph' .*:32: Error: unsupported broadcast for `vfmulcph' -.*:33: Error: unsupported broadcast for `vfmulcph' diff --git a/gas/testsuite/gas/i386/avx512_fp16-inval-bcast.s b/gas/testsuite/gas/i386/avx512_fp16-inval-bcast.s index d2e44e6..eb557f1 100644 --- a/gas/testsuite/gas/i386/avx512_fp16-inval-bcast.s +++ b/gas/testsuite/gas/i386/avx512_fp16-inval-bcast.s @@ -1,6 +1,5 @@ # Check error for invalid {1toXX} and {2toXX} broadcasts. - .allow_index_reg .text _start: vcvtpd2ph (%ecx){1to16}, %xmm3 diff --git a/gas/testsuite/gas/i386/avx512_fp16.s b/gas/testsuite/gas/i386/avx512_fp16.s index 1e8f6dc..53a8c9f 100644 --- a/gas/testsuite/gas/i386/avx512_fp16.s +++ b/gas/testsuite/gas/i386/avx512_fp16.s @@ -1,6 +1,5 @@ # Check 32bit AVX512-FP16 instructions - .allow_index_reg .text _start: vaddph %zmm4, %zmm5, %zmm6 #AVX512-FP16 diff --git a/gas/testsuite/gas/i386/avx512_fp16_pseudo_ops.s b/gas/testsuite/gas/i386/avx512_fp16_pseudo_ops.s index a7b45be..4c9f0cc 100644 --- a/gas/testsuite/gas/i386/avx512_fp16_pseudo_ops.s +++ b/gas/testsuite/gas/i386/avx512_fp16_pseudo_ops.s @@ -1,6 +1,5 @@ # Check 32bit VCM.*{PH,SH} instructions - .allow_index_reg .text _start: vcmpeq_oqph %zmm5, %zmm6, %k5 diff --git a/gas/testsuite/gas/i386/avx512_fp16_vl.s b/gas/testsuite/gas/i386/avx512_fp16_vl.s index b00739c..ede247d 100644 --- a/gas/testsuite/gas/i386/avx512_fp16_vl.s +++ b/gas/testsuite/gas/i386/avx512_fp16_vl.s @@ -1,6 +1,5 @@ # Check 32bit AVX512-FP16,AVX512VL instructions - .allow_index_reg .text _start: vaddph %ymm4, %ymm5, %ymm6 #AVX512-FP16,AVX512VL diff --git a/gas/testsuite/gas/i386/avx512_vpopcntdq.s b/gas/testsuite/gas/i386/avx512_vpopcntdq.s index d9cc952..1b9a043 100644 --- a/gas/testsuite/gas/i386/avx512_vpopcntdq.s +++ b/gas/testsuite/gas/i386/avx512_vpopcntdq.s @@ -1,6 +1,5 @@ # Check 32bit AVX512_VPOPCNTDQ instructions - .allow_index_reg .text vpopcnt: vpopcntd %zmm5, %zmm6 # AVX512_VPOPCNTDQ diff --git a/gas/testsuite/gas/i386/avx512bitalg.s b/gas/testsuite/gas/i386/avx512bitalg.s index 4920fd2..c2102c8 100644 --- a/gas/testsuite/gas/i386/avx512bitalg.s +++ b/gas/testsuite/gas/i386/avx512bitalg.s @@ -1,6 +1,5 @@ # Check 32bit AVX512BITALG instructions - .allow_index_reg .text bitalg: vpshufbitqmb %zmm4, %zmm5, %k5 # AVX512BITALG diff --git a/gas/testsuite/gas/i386/avx512bitalg_vl.s b/gas/testsuite/gas/i386/avx512bitalg_vl.s index 6c54535..591d51a 100644 --- a/gas/testsuite/gas/i386/avx512bitalg_vl.s +++ b/gas/testsuite/gas/i386/avx512bitalg_vl.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{BITALG,VL} instructions - .allow_index_reg .text bitalg: vpshufbitqmb %xmm4, %xmm5, %k5{%k7} # AVX512{BITALG,VL} diff --git a/gas/testsuite/gas/i386/avx512bw-opts.s b/gas/testsuite/gas/i386/avx512bw-opts.s index 901c3f3..8237cab 100644 --- a/gas/testsuite/gas/i386/avx512bw-opts.s +++ b/gas/testsuite/gas/i386/avx512bw-opts.s @@ -1,6 +1,5 @@ # Check 32bit AVX512BW swap instructions - .allow_index_reg .text _start: vmovdqu8 %zmm5, %zmm6 # AVX512BW diff --git a/gas/testsuite/gas/i386/avx512bw-wig.s b/gas/testsuite/gas/i386/avx512bw-wig.s index 94859c0..c7c34ed 100644 --- a/gas/testsuite/gas/i386/avx512bw-wig.s +++ b/gas/testsuite/gas/i386/avx512bw-wig.s @@ -1,6 +1,5 @@ # Check 32bit AVX512BW WIG instructions - .allow_index_reg .text _start: vpabsb %zmm5, %zmm6 # AVX512BW diff --git a/gas/testsuite/gas/i386/avx512bw.s b/gas/testsuite/gas/i386/avx512bw.s index 3101cfc..79cd76a 100644 --- a/gas/testsuite/gas/i386/avx512bw.s +++ b/gas/testsuite/gas/i386/avx512bw.s @@ -1,6 +1,5 @@ # Check 32bit AVX512BW instructions - .allow_index_reg .text _start: vpabsb %zmm5, %zmm6 # AVX512BW diff --git a/gas/testsuite/gas/i386/avx512bw_vl-opts.s b/gas/testsuite/gas/i386/avx512bw_vl-opts.s index c434cae..de956d1 100644 --- a/gas/testsuite/gas/i386/avx512bw_vl-opts.s +++ b/gas/testsuite/gas/i386/avx512bw_vl-opts.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{BW,VL} swap instructions - .allow_index_reg .text _start: vmovdqu8 %xmm5, %xmm6{%k7} # AVX512{BW,VL} diff --git a/gas/testsuite/gas/i386/avx512bw_vl-wig.s b/gas/testsuite/gas/i386/avx512bw_vl-wig.s index 7e1df8a..f77b32c 100644 --- a/gas/testsuite/gas/i386/avx512bw_vl-wig.s +++ b/gas/testsuite/gas/i386/avx512bw_vl-wig.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{BW,VL} WIG instructions - .allow_index_reg .text _start: vpabsb %xmm5, %xmm6{%k7} # AVX512{BW,VL} diff --git a/gas/testsuite/gas/i386/avx512bw_vl.s b/gas/testsuite/gas/i386/avx512bw_vl.s index 14e9882..eeffe06 100644 --- a/gas/testsuite/gas/i386/avx512bw_vl.s +++ b/gas/testsuite/gas/i386/avx512bw_vl.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{BW,VL} instructions - .allow_index_reg .text _start: vpabsb %xmm5, %xmm6{%k7} # AVX512{BW,VL} diff --git a/gas/testsuite/gas/i386/avx512cd.s b/gas/testsuite/gas/i386/avx512cd.s index aec0dd8..d2ece63 100644 --- a/gas/testsuite/gas/i386/avx512cd.s +++ b/gas/testsuite/gas/i386/avx512cd.s @@ -1,6 +1,5 @@ # Check 32bit AVX512CD instructions - .allow_index_reg .text cd: diff --git a/gas/testsuite/gas/i386/avx512cd_vl.s b/gas/testsuite/gas/i386/avx512cd_vl.s index bb53e5d..fbe518a 100644 --- a/gas/testsuite/gas/i386/avx512cd_vl.s +++ b/gas/testsuite/gas/i386/avx512cd_vl.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{CD,VL} instructions - .allow_index_reg .text cd: vpconflictd %xmm5, %xmm6{%k7} # AVX512{CD,VL} diff --git a/gas/testsuite/gas/i386/avx512dq-rcig.s b/gas/testsuite/gas/i386/avx512dq-rcig.s index 7255ced..7b5f467 100644 --- a/gas/testsuite/gas/i386/avx512dq-rcig.s +++ b/gas/testsuite/gas/i386/avx512dq-rcig.s @@ -1,6 +1,5 @@ # Check 32bit AVX512DQ-RCIG instructions - .allow_index_reg .text _start: vrangepd $0xab, {sae}, %zmm4, %zmm5, %zmm6 # AVX512DQ diff --git a/gas/testsuite/gas/i386/avx512dq.s b/gas/testsuite/gas/i386/avx512dq.s index 7df5723..8681c32 100644 --- a/gas/testsuite/gas/i386/avx512dq.s +++ b/gas/testsuite/gas/i386/avx512dq.s @@ -1,6 +1,5 @@ # Check 32bit AVX512DQ instructions - .allow_index_reg .text _start: vbroadcastf32x8 (%ecx), %zmm6 # AVX512DQ diff --git a/gas/testsuite/gas/i386/avx512dq_vl.s b/gas/testsuite/gas/i386/avx512dq_vl.s index 813e4d1..c6359d3 100644 --- a/gas/testsuite/gas/i386/avx512dq_vl.s +++ b/gas/testsuite/gas/i386/avx512dq_vl.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{DQ,VL} instructions - .allow_index_reg .text _start: vbroadcastf64x2 (%ecx), %ymm6{%k7} # AVX512{DQ,VL} diff --git a/gas/testsuite/gas/i386/avx512er-rcig.s b/gas/testsuite/gas/i386/avx512er-rcig.s index fe9a7a0..ff069a6 100644 --- a/gas/testsuite/gas/i386/avx512er-rcig.s +++ b/gas/testsuite/gas/i386/avx512er-rcig.s @@ -1,6 +1,5 @@ # Check 32bit AVX512ER-RCIG instructions - .allow_index_reg .text _start: vexp2ps {sae}, %zmm5, %zmm6 # AVX512ER diff --git a/gas/testsuite/gas/i386/avx512er.s b/gas/testsuite/gas/i386/avx512er.s index 21098bf..e17d260 100644 --- a/gas/testsuite/gas/i386/avx512er.s +++ b/gas/testsuite/gas/i386/avx512er.s @@ -1,6 +1,5 @@ # Check 32bit AVX512ER instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/avx512f-opts.s b/gas/testsuite/gas/i386/avx512f-opts.s index 91ccd25..d8fcbe4 100644 --- a/gas/testsuite/gas/i386/avx512f-opts.s +++ b/gas/testsuite/gas/i386/avx512f-opts.s @@ -1,6 +1,5 @@ # Check 32bit AVX512F instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/avx512f-rcig.s b/gas/testsuite/gas/i386/avx512f-rcig.s index 84e777b..cbb5046 100644 --- a/gas/testsuite/gas/i386/avx512f-rcig.s +++ b/gas/testsuite/gas/i386/avx512f-rcig.s @@ -1,6 +1,5 @@ # Check 32bit AVX512F-RCIG instructions - .allow_index_reg .text _start: vcmppd $0xab, {sae}, %zmm5, %zmm6, %k5 # AVX512F diff --git a/gas/testsuite/gas/i386/avx512f.s b/gas/testsuite/gas/i386/avx512f.s index 3b0fb70..a4e5b47 100644 --- a/gas/testsuite/gas/i386/avx512f.s +++ b/gas/testsuite/gas/i386/avx512f.s @@ -1,6 +1,5 @@ # Check 32bit AVX512F instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/avx512f_gfni.s b/gas/testsuite/gas/i386/avx512f_gfni.s index 87cda8b..4047625 100644 --- a/gas/testsuite/gas/i386/avx512f_gfni.s +++ b/gas/testsuite/gas/i386/avx512f_gfni.s @@ -1,6 +1,5 @@ # Check 32bit AVX512F,GFNI instructions - .allow_index_reg .text _start: vgf2p8affineqb $0xab, %zmm4, %zmm5, %zmm6 # AVX512F,GFNI diff --git a/gas/testsuite/gas/i386/avx512f_vaes.s b/gas/testsuite/gas/i386/avx512f_vaes.s index eb76504..1a23fa3 100644 --- a/gas/testsuite/gas/i386/avx512f_vaes.s +++ b/gas/testsuite/gas/i386/avx512f_vaes.s @@ -1,6 +1,5 @@ # Check 32bit AVX512F,VAES instructions - .allow_index_reg .text _start: vaesdec %zmm4, %zmm5, %zmm6 # AVX512F,VAES diff --git a/gas/testsuite/gas/i386/avx512f_vl-opts.s b/gas/testsuite/gas/i386/avx512f_vl-opts.s index abf37fc..9bfdf0f 100644 --- a/gas/testsuite/gas/i386/avx512f_vl-opts.s +++ b/gas/testsuite/gas/i386/avx512f_vl-opts.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{F,VL} swap instructions - .allow_index_reg .text _start: vmovapd %xmm5, %xmm6{%k7} # AVX512{F,VL} diff --git a/gas/testsuite/gas/i386/avx512f_vl-wig.s b/gas/testsuite/gas/i386/avx512f_vl-wig.s index fcd8e87..76a8245 100644 --- a/gas/testsuite/gas/i386/avx512f_vl-wig.s +++ b/gas/testsuite/gas/i386/avx512f_vl-wig.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{F,VL} WIG instructions - .allow_index_reg .text _start: vpmovsxbd %xmm5, %xmm6{%k7} # AVX512{F,VL} diff --git a/gas/testsuite/gas/i386/avx512f_vl.s b/gas/testsuite/gas/i386/avx512f_vl.s index 170d1d0..69f4f56 100644 --- a/gas/testsuite/gas/i386/avx512f_vl.s +++ b/gas/testsuite/gas/i386/avx512f_vl.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{F,VL} instructions - .allow_index_reg .text _start: vaddpd %xmm4, %xmm5, %xmm6{%k7} # AVX512{F,VL} diff --git a/gas/testsuite/gas/i386/avx512f_vpclmulqdq.s b/gas/testsuite/gas/i386/avx512f_vpclmulqdq.s index be41dd9..8bd4639 100644 --- a/gas/testsuite/gas/i386/avx512f_vpclmulqdq.s +++ b/gas/testsuite/gas/i386/avx512f_vpclmulqdq.s @@ -1,6 +1,5 @@ # Check 32bit AVX512F,VPCLMULQDQ instructions - .allow_index_reg .text _start: vpclmulqdq $0xab, %zmm1, %zmm3, %zmm1 # AVX512F,VPCLMULQDQ diff --git a/gas/testsuite/gas/i386/avx512ifma.s b/gas/testsuite/gas/i386/avx512ifma.s index 96749cc..3fded14 100644 --- a/gas/testsuite/gas/i386/avx512ifma.s +++ b/gas/testsuite/gas/i386/avx512ifma.s @@ -1,6 +1,5 @@ # Check 32bit AVX512IFMA instructions - .allow_index_reg .text ifma: vpmadd52luq %zmm4, %zmm5, %zmm6 # AVX512IFMA diff --git a/gas/testsuite/gas/i386/avx512ifma_vl.s b/gas/testsuite/gas/i386/avx512ifma_vl.s index 4096b10..f9bf75f 100644 --- a/gas/testsuite/gas/i386/avx512ifma_vl.s +++ b/gas/testsuite/gas/i386/avx512ifma_vl.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{IFMA,VL} instructions - .allow_index_reg .text ifma: vpmadd52luq %xmm4, %xmm5, %xmm6{%k7} # AVX512{IFMA,VL} diff --git a/gas/testsuite/gas/i386/avx512pf.s b/gas/testsuite/gas/i386/avx512pf.s index bfb7a61..331c932 100644 --- a/gas/testsuite/gas/i386/avx512pf.s +++ b/gas/testsuite/gas/i386/avx512pf.s @@ -1,6 +1,5 @@ # Check 32bit AVX512PF instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/avx512vbmi.s b/gas/testsuite/gas/i386/avx512vbmi.s index cbf5604..01229fc 100644 --- a/gas/testsuite/gas/i386/avx512vbmi.s +++ b/gas/testsuite/gas/i386/avx512vbmi.s @@ -1,6 +1,5 @@ # Check 32bit AVX512VBMI instructions - .allow_index_reg .text vbmi: vpermb %zmm4, %zmm5, %zmm6 # AVX512VBMI diff --git a/gas/testsuite/gas/i386/avx512vbmi2.s b/gas/testsuite/gas/i386/avx512vbmi2.s index 2b71720..c6d25b5 100644 --- a/gas/testsuite/gas/i386/avx512vbmi2.s +++ b/gas/testsuite/gas/i386/avx512vbmi2.s @@ -1,6 +1,5 @@ # Check 32bit AVX512VBMI2 instructions - .allow_index_reg .text vbmi2: vpcompressb %zmm6, (%ecx){%k7} # AVX512VBMI2 diff --git a/gas/testsuite/gas/i386/avx512vbmi2_vl.s b/gas/testsuite/gas/i386/avx512vbmi2_vl.s index e83511b..6e86b44 100644 --- a/gas/testsuite/gas/i386/avx512vbmi2_vl.s +++ b/gas/testsuite/gas/i386/avx512vbmi2_vl.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{VBMI2,VL} instructions - .allow_index_reg .text vbmi2: vpcompressb %xmm6, -123456(%esp,%esi,8){%k7} # AVX512{VBMI2,VL} diff --git a/gas/testsuite/gas/i386/avx512vbmi_vl.s b/gas/testsuite/gas/i386/avx512vbmi_vl.s index 5a3a57f..7a65c27 100644 --- a/gas/testsuite/gas/i386/avx512vbmi_vl.s +++ b/gas/testsuite/gas/i386/avx512vbmi_vl.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{VBMI,VL} instructions - .allow_index_reg .text vbmi: vpermb %xmm4, %xmm5, %xmm6{%k7} # AVX512{VBMI,VL} diff --git a/gas/testsuite/gas/i386/avx512vl_gfni.s b/gas/testsuite/gas/i386/avx512vl_gfni.s index d288f22..d29a1c2 100644 --- a/gas/testsuite/gas/i386/avx512vl_gfni.s +++ b/gas/testsuite/gas/i386/avx512vl_gfni.s @@ -1,6 +1,5 @@ # Check 32bit AVX512VL,GFNI instructions - .allow_index_reg .text _start: vgf2p8affineqb $0xab, %xmm4, %xmm5, %xmm6{%k7} # AVX512VL,GFNI diff --git a/gas/testsuite/gas/i386/avx512vl_vaes.s b/gas/testsuite/gas/i386/avx512vl_vaes.s index d35f021..c5c9836 100644 --- a/gas/testsuite/gas/i386/avx512vl_vaes.s +++ b/gas/testsuite/gas/i386/avx512vl_vaes.s @@ -1,6 +1,5 @@ # Check 32bit AVX512VL,VAES instructions - .allow_index_reg .text _start: vaesdec %xmm4, %xmm5, %xmm6 # AVX512VL,VAES diff --git a/gas/testsuite/gas/i386/avx512vl_vpclmulqdq.s b/gas/testsuite/gas/i386/avx512vl_vpclmulqdq.s index 62efaa5..d2f11a0 100644 --- a/gas/testsuite/gas/i386/avx512vl_vpclmulqdq.s +++ b/gas/testsuite/gas/i386/avx512vl_vpclmulqdq.s @@ -1,6 +1,5 @@ # Check 32bit AVX512VL,VPCLMULQDQ instructions - .allow_index_reg .text _start: vpclmulqdq $0xab, %xmm2, %xmm2, %xmm3 # AVX512VL,VPCLMULQDQ diff --git a/gas/testsuite/gas/i386/avx512vnni.s b/gas/testsuite/gas/i386/avx512vnni.s index 3c3a8fe..05ab71d 100644 --- a/gas/testsuite/gas/i386/avx512vnni.s +++ b/gas/testsuite/gas/i386/avx512vnni.s @@ -1,6 +1,5 @@ # Check 32bit AVX512VNNI instructions - .allow_index_reg .text vnni: vpdpwssd %zmm3, %zmm1, %zmm4 # AVX512VNNI diff --git a/gas/testsuite/gas/i386/avx512vnni_vl.s b/gas/testsuite/gas/i386/avx512vnni_vl.s index 9268252..7721b173 100644 --- a/gas/testsuite/gas/i386/avx512vnni_vl.s +++ b/gas/testsuite/gas/i386/avx512vnni_vl.s @@ -1,6 +1,5 @@ # Check 32bit AVX512{VNNI,VL} instructions - .allow_index_reg .text vnni: vpdpwssd %xmm2, %xmm4, %xmm2{%k3} # AVX512{VNNI,VL} diff --git a/gas/testsuite/gas/i386/bmi.s b/gas/testsuite/gas/i386/bmi.s index fe22145..e8b5075 100644 --- a/gas/testsuite/gas/i386/bmi.s +++ b/gas/testsuite/gas/i386/bmi.s @@ -1,6 +1,5 @@ # Check 32bit BMI instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/bmi2.s b/gas/testsuite/gas/i386/bmi2.s index 415994c..3f75e23 100644 --- a/gas/testsuite/gas/i386/bmi2.s +++ b/gas/testsuite/gas/i386/bmi2.s @@ -1,6 +1,5 @@ # Check 32bit BMI2 instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/cldemote.s b/gas/testsuite/gas/i386/cldemote.s index 2856559..2fcd202 100644 --- a/gas/testsuite/gas/i386/cldemote.s +++ b/gas/testsuite/gas/i386/cldemote.s @@ -1,6 +1,5 @@ # Check 32bit CLDEMOTE instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/clflushopt.s b/gas/testsuite/gas/i386/clflushopt.s index a6d4990..855b4fa 100644 --- a/gas/testsuite/gas/i386/clflushopt.s +++ b/gas/testsuite/gas/i386/clflushopt.s @@ -1,6 +1,5 @@ # Check 32bit CLFLUSHOPT instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/clwb.s b/gas/testsuite/gas/i386/clwb.s index 8132218..76c92c3 100644 --- a/gas/testsuite/gas/i386/clwb.s +++ b/gas/testsuite/gas/i386/clwb.s @@ -1,6 +1,5 @@ # Check 32bit CLWB instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/cmpccxadd-inval.l b/gas/testsuite/gas/i386/cmpccxadd-inval.l index 3253886..156d4e9 100644 --- a/gas/testsuite/gas/i386/cmpccxadd-inval.l +++ b/gas/testsuite/gas/i386/cmpccxadd-inval.l @@ -1,5 +1,5 @@ .* Assembler messages: -.*:6: Error: `cmpbexadd' is only supported in 64-bit mode -.*:7: Error: `cmpbxadd' is only supported in 64-bit mode -.*:8: Error: `cmplexadd' is only supported in 64-bit mode -.*:9: Error: `cmplxadd' is only supported in 64-bit mode +.*:5: Error: `cmpbexadd' is only supported in 64-bit mode +.*:6: Error: `cmpbxadd' is only supported in 64-bit mode +.*:7: Error: `cmplexadd' is only supported in 64-bit mode +.*:8: Error: `cmplxadd' is only supported in 64-bit mode diff --git a/gas/testsuite/gas/i386/cmpccxadd-inval.s b/gas/testsuite/gas/i386/cmpccxadd-inval.s index a349628..b89b303 100644 --- a/gas/testsuite/gas/i386/cmpccxadd-inval.s +++ b/gas/testsuite/gas/i386/cmpccxadd-inval.s @@ -1,6 +1,5 @@ # Check Illegal CMPccXADD instructions - .allow_index_reg .text _start: cmpbexadd %eax, %eax, 0x10000000(%esp, %esi, 8) diff --git a/gas/testsuite/gas/i386/enqcmd-inval.l b/gas/testsuite/gas/i386/enqcmd-inval.l index e5af4c7..b69847e 100644 --- a/gas/testsuite/gas/i386/enqcmd-inval.l +++ b/gas/testsuite/gas/i386/enqcmd-inval.l @@ -1,10 +1,10 @@ .*: Assembler messages: +.*:5: Error: invalid register operand size for `enqcmd' .*:6: Error: invalid register operand size for `enqcmd' -.*:7: Error: invalid register operand size for `enqcmd' +.*:7: Error: invalid register operand size for `enqcmds' .*:8: Error: invalid register operand size for `enqcmds' -.*:9: Error: invalid register operand size for `enqcmds' +.*:11: Error: invalid register operand size for `enqcmd' .*:12: Error: invalid register operand size for `enqcmd' -.*:13: Error: invalid register operand size for `enqcmd' +.*:13: Error: invalid register operand size for `enqcmds' .*:14: Error: invalid register operand size for `enqcmds' -.*:15: Error: invalid register operand size for `enqcmds' diff --git a/gas/testsuite/gas/i386/enqcmd-inval.s b/gas/testsuite/gas/i386/enqcmd-inval.s index 33eb6c8..a6eac77 100644 --- a/gas/testsuite/gas/i386/enqcmd-inval.s +++ b/gas/testsuite/gas/i386/enqcmd-inval.s @@ -1,6 +1,5 @@ # Check error for ENQCMD[S] 32-bit instructions - .allow_index_reg .text _start: enqcmd (%si),%eax diff --git a/gas/testsuite/gas/i386/enqcmd.s b/gas/testsuite/gas/i386/enqcmd.s index f7195fa..4569944 100644 --- a/gas/testsuite/gas/i386/enqcmd.s +++ b/gas/testsuite/gas/i386/enqcmd.s @@ -1,6 +1,5 @@ # Check ENQCMD[S] 32-bit instructions - .allow_index_reg .text _start: enqcmd (%ecx),%eax diff --git a/gas/testsuite/gas/i386/evex-lig-2.s b/gas/testsuite/gas/i386/evex-lig-2.s index f69dece..cba2934 100644 --- a/gas/testsuite/gas/i386/evex-lig-2.s +++ b/gas/testsuite/gas/i386/evex-lig-2.s @@ -1,6 +1,5 @@ # Check EVEX non-LIG instructions with with -mevexlig=256 - .allow_index_reg .text _start: {evex} vmovd %xmm4,(%ecx) diff --git a/gas/testsuite/gas/i386/evex-lig.s b/gas/testsuite/gas/i386/evex-lig.s index db0891a..d2adfcb 100644 --- a/gas/testsuite/gas/i386/evex-lig.s +++ b/gas/testsuite/gas/i386/evex-lig.s @@ -1,6 +1,5 @@ # Check EVEX LIG instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/evex-wig.s b/gas/testsuite/gas/i386/evex-wig.s index de8c16c..2495595 100644 --- a/gas/testsuite/gas/i386/evex-wig.s +++ b/gas/testsuite/gas/i386/evex-wig.s @@ -1,6 +1,5 @@ # Check EVEX WIG instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/evex.s b/gas/testsuite/gas/i386/evex.s index 29a5a89..b72e1cd 100644 --- a/gas/testsuite/gas/i386/evex.s +++ b/gas/testsuite/gas/i386/evex.s @@ -1,6 +1,5 @@ # Check EVEX instructions - .allow_index_reg .text _start: .insn EVEX.LIG.F3.0F.W1 0x2a, %eax,{rd-sae},%xmm5,%xmm6 diff --git a/gas/testsuite/gas/i386/fma-scalar.s b/gas/testsuite/gas/i386/fma-scalar.s index 2010eb3..3509469 100644 --- a/gas/testsuite/gas/i386/fma-scalar.s +++ b/gas/testsuite/gas/i386/fma-scalar.s @@ -1,6 +1,5 @@ # Check AVX scalar instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/fma.s b/gas/testsuite/gas/i386/fma.s index f48661e..5ee7528 100644 --- a/gas/testsuite/gas/i386/fma.s +++ b/gas/testsuite/gas/i386/fma.s @@ -1,6 +1,5 @@ # Check FMA instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/fma4.s b/gas/testsuite/gas/i386/fma4.s index 8f4c950..aeb12ce 100644 --- a/gas/testsuite/gas/i386/fma4.s +++ b/gas/testsuite/gas/i386/fma4.s @@ -1,6 +1,5 @@ # Check FMA4 instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/gfni.s b/gas/testsuite/gas/i386/gfni.s index e4166ec..dc424a9 100644 --- a/gas/testsuite/gas/i386/gfni.s +++ b/gas/testsuite/gas/i386/gfni.s @@ -1,6 +1,5 @@ # Check GFNI instructions - .allow_index_reg .text _start: gf2p8mulb %xmm4, %xmm5 diff --git a/gas/testsuite/gas/i386/hle.s b/gas/testsuite/gas/i386/hle.s index 1beddc4..306d557 100644 --- a/gas/testsuite/gas/i386/hle.s +++ b/gas/testsuite/gas/i386/hle.s @@ -1,6 +1,5 @@ # Check 32bit HLE instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/ilp32/enqcmd.s b/gas/testsuite/gas/i386/ilp32/enqcmd.s index 1f83e65..2da4d1f 100644 --- a/gas/testsuite/gas/i386/ilp32/enqcmd.s +++ b/gas/testsuite/gas/i386/ilp32/enqcmd.s @@ -1,6 +1,5 @@ # Check ENQCMD[S] 64-bit instructions in x32 mode - .allow_index_reg .text _start: enqcmd (%rcx),%rax diff --git a/gas/testsuite/gas/i386/ilp32/movdir.s b/gas/testsuite/gas/i386/ilp32/movdir.s index cbf1788..c18660f 100644 --- a/gas/testsuite/gas/i386/ilp32/movdir.s +++ b/gas/testsuite/gas/i386/ilp32/movdir.s @@ -1,6 +1,5 @@ # Check MOVDIR[I,64B] 64-bit instructions in x32 mode - .allow_index_reg .text _start: movdiri %rax, (%rcx) diff --git a/gas/testsuite/gas/i386/lwp.s b/gas/testsuite/gas/i386/lwp.s index bdde329..a418321 100644 --- a/gas/testsuite/gas/i386/lwp.s +++ b/gas/testsuite/gas/i386/lwp.s @@ -1,6 +1,5 @@ # Check 64bit LWP instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/movdir.s b/gas/testsuite/gas/i386/movdir.s index 00c57db..77d6f45 100644 --- a/gas/testsuite/gas/i386/movdir.s +++ b/gas/testsuite/gas/i386/movdir.s @@ -1,6 +1,5 @@ # Check MOVDIR[I,64B] 32-bit instructions - .allow_index_reg .text _start: movdiri %eax, (%ecx) diff --git a/gas/testsuite/gas/i386/movdir64b-reg.l b/gas/testsuite/gas/i386/movdir64b-reg.l index e01d20d..5eb7f9a 100644 --- a/gas/testsuite/gas/i386/movdir64b-reg.l +++ b/gas/testsuite/gas/i386/movdir64b-reg.l @@ -1,5 +1,5 @@ .*: Assembler messages: +.*:5: Error: invalid register operand size for `movdir64b' .*:6: Error: invalid register operand size for `movdir64b' -.*:7: Error: invalid register operand size for `movdir64b' +.*:9: Error: invalid register operand size for `movdir64b' .*:10: Error: invalid register operand size for `movdir64b' -.*:11: Error: invalid register operand size for `movdir64b' diff --git a/gas/testsuite/gas/i386/movdir64b-reg.s b/gas/testsuite/gas/i386/movdir64b-reg.s index ace5e86..fc8e878 100644 --- a/gas/testsuite/gas/i386/movdir64b-reg.s +++ b/gas/testsuite/gas/i386/movdir64b-reg.s @@ -1,6 +1,5 @@ # Check error for MOVDIR64B 32-bit instructions - .allow_index_reg .text _start: movdir64b (%si),%eax diff --git a/gas/testsuite/gas/i386/mpx-inval-1.l b/gas/testsuite/gas/i386/mpx-inval-1.l index f50fd7f..f7fcfaa 100644 --- a/gas/testsuite/gas/i386/mpx-inval-1.l +++ b/gas/testsuite/gas/i386/mpx-inval-1.l @@ -1,60 +1,59 @@ .*: Assembler messages: +.*:5: Error: expecting valid branch instruction after `bnd' .*:6: Error: expecting valid branch instruction after `bnd' .*:7: Error: expecting valid branch instruction after `bnd' +.*:7: Warning: skipping prefixes on `lcall' .*:8: Error: expecting valid branch instruction after `bnd' -.*:8: Warning: skipping prefixes on `lcall' +.*:8: Warning: skipping prefixes on `ljmp' .*:9: Error: expecting valid branch instruction after `bnd' -.*:9: Warning: skipping prefixes on `ljmp' .*:10: Error: expecting valid branch instruction after `bnd' -.*:11: Error: expecting valid branch instruction after `bnd' +.*:13: Error: expecting valid branch instruction after `bnd' .*:14: Error: expecting valid branch instruction after `bnd' .*:15: Error: expecting valid branch instruction after `bnd' +.*:15: Warning: skipping prefixes on `lcall' .*:16: Error: expecting valid branch instruction after `bnd' -.*:16: Warning: skipping prefixes on `lcall' +.*:16: Warning: skipping prefixes on `ljmp' .*:17: Error: expecting valid branch instruction after `bnd' -.*:17: Warning: skipping prefixes on `ljmp' .*:18: Error: expecting valid branch instruction after `bnd' -.*:19: Error: expecting valid branch instruction after `bnd' GAS LISTING .* [ ]*1[ ]+\# MPX instructions -[ ]*2[ ]+\.allow_index_reg -[ ]*3[ ]+\.text -[ ]*4[ ]+\.extern xxx -[ ]*5[ ]+foo: -[ ]*6[ ]+\?\?\?\? F201C3 bnd add %eax, %ebx \# Bad +[ ]*2[ ]+\.text +[ ]*3[ ]+\.extern xxx +[ ]*4[ ]+foo: +[ ]*5[ ]+\?\?\?\? F201C3 bnd add %eax, %ebx \# Bad .* Error: expecting valid branch instruction after `bnd' -[ ]*7[ ]+\?\?\?\? 66F2AB bnd stosw \(%edi\) \# Bad +[ ]*6[ ]+\?\?\?\? 66F2AB bnd stosw \(%edi\) \# Bad .* Error: expecting valid branch instruction after `bnd' -[ ]*8[ ]+\?\?\?\? 9A000000 bnd lcall \$0x1234,\$xxx +[ ]*7[ ]+\?\?\?\? 9A000000 bnd lcall \$0x1234,\$xxx .* Error: expecting valid branch instruction after `bnd' .* Warning: skipping prefixes on `lcall' -[ ]*8[ ]+003412 -[ ]*9[ ]+\?\?\?\? EA000000 bnd ljmp \$0x1234,\$xxx +[ ]*7[ ]+003412 +[ ]*8[ ]+\?\?\?\? EA000000 bnd ljmp \$0x1234,\$xxx .* Error: expecting valid branch instruction after `bnd' .* Warning: skipping prefixes on `ljmp' -[ ]*9[ ]+003412 -[ ]*10[ ]+\?\?\?\? F2E2E9 bnd loop foo +[ ]*8[ ]+003412 +[ ]*9[ ]+\?\?\?\? F2E2E9 bnd loop foo .* Error: expecting valid branch instruction after `bnd' -[ ]*11[ ]+\?\?\?\? 67F2E3E5 bnd jcxz foo +[ ]*10[ ]+\?\?\?\? 67F2E3E5 bnd jcxz foo .* Error: expecting valid branch instruction after `bnd' -[ ]*12[ ]+ -[ ]*13[ ]+\.intel_syntax noprefix -[ ]*14[ ]+\?\?\?\? F201C3 bnd add ebx, eax \# Bad +[ ]*11[ ]+ +[ ]*12[ ]+\.intel_syntax noprefix +[ ]*13[ ]+\?\?\?\? F201C3 bnd add ebx, eax \# Bad .* Error: expecting valid branch instruction after `bnd' -[ ]*15[ ]+\?\?\?\? 66F2AB bnd stos WORD PTR\[edi] \# Bad +[ ]*14[ ]+\?\?\?\? 66F2AB bnd stos WORD PTR\[edi] \# Bad .* Error: expecting valid branch instruction after `bnd' -[ ]*16[ ]+\?\?\?\? 9A000000 bnd lcall 0x1234,xxx +[ ]*15[ ]+\?\?\?\? 9A000000 bnd lcall 0x1234,xxx .* Error: expecting valid branch instruction after `bnd' .* Warning: skipping prefixes on `lcall' -[ ]*16[ ]+003412 -[ ]*17[ ]+\?\?\?\? EA000000 bnd ljmp 0x1234,xxx +[ ]*15[ ]+003412 +[ ]*16[ ]+\?\?\?\? EA000000 bnd ljmp 0x1234,xxx .* Error: expecting valid branch instruction after `bnd' .* Warning: skipping prefixes on `ljmp' -[ ]*17[ ]+003412 -[ ]*18[ ]+\?\?\?\? F2E2CE bnd loop foo +[ ]*16[ ]+003412 +[ ]*17[ ]+\?\?\?\? F2E2CE bnd loop foo .* Error: expecting valid branch instruction after `bnd' -[ ]*19[ ]+\?\?\?\? 67F2E3CA bnd jcxz foo +[ ]*18[ ]+\?\?\?\? 67F2E3CA bnd jcxz foo .* Error: expecting valid branch instruction after `bnd' #pass diff --git a/gas/testsuite/gas/i386/mpx-inval-1.s b/gas/testsuite/gas/i386/mpx-inval-1.s index 74de4f7..9511cdd 100644 --- a/gas/testsuite/gas/i386/mpx-inval-1.s +++ b/gas/testsuite/gas/i386/mpx-inval-1.s @@ -1,5 +1,4 @@ # MPX instructions - .allow_index_reg .text .extern xxx foo: diff --git a/gas/testsuite/gas/i386/mpx.s b/gas/testsuite/gas/i386/mpx.s index 593ff49..bf1ca42 100644 --- a/gas/testsuite/gas/i386/mpx.s +++ b/gas/testsuite/gas/i386/mpx.s @@ -1,5 +1,4 @@ # MPX instructions - .allow_index_reg .text start: ### bndmk diff --git a/gas/testsuite/gas/i386/msrlist-inval.l b/gas/testsuite/gas/i386/msrlist-inval.l index 456f41c..6d9df71 100644 --- a/gas/testsuite/gas/i386/msrlist-inval.l +++ b/gas/testsuite/gas/i386/msrlist-inval.l @@ -1,3 +1,3 @@ .* Assembler messages: -.*:6: Error: `rdmsrlist' is only supported in 64-bit mode -.*:7: Error: `wrmsrlist' is only supported in 64-bit mode +.*:5: Error: `rdmsrlist' is only supported in 64-bit mode +.*:6: Error: `wrmsrlist' is only supported in 64-bit mode diff --git a/gas/testsuite/gas/i386/msrlist-inval.s b/gas/testsuite/gas/i386/msrlist-inval.s index 3c3258a..ac44c21 100644 --- a/gas/testsuite/gas/i386/msrlist-inval.s +++ b/gas/testsuite/gas/i386/msrlist-inval.s @@ -1,6 +1,5 @@ # Check Illegal MSRLIST instructions - .allow_index_reg .text _start: rdmsrlist #MSRLIST diff --git a/gas/testsuite/gas/i386/notrack.s b/gas/testsuite/gas/i386/notrack.s index 52df4dc..0d7842b 100644 --- a/gas/testsuite/gas/i386/notrack.s +++ b/gas/testsuite/gas/i386/notrack.s @@ -1,6 +1,5 @@ # Check 32bit NOTRACK prefix - .allow_index_reg .text _start: notrack call *%eax diff --git a/gas/testsuite/gas/i386/notrackbad.l b/gas/testsuite/gas/i386/notrackbad.l index 75d5553..c4b8cab 100644 --- a/gas/testsuite/gas/i386/notrackbad.l +++ b/gas/testsuite/gas/i386/notrackbad.l @@ -1,31 +1,30 @@ .*: Assembler messages: +.*:5: Error: expecting indirect branch instruction after `notrack' +.*:5: Warning: skipping prefixes on `call' .*:6: Error: expecting indirect branch instruction after `notrack' -.*:6: Warning: skipping prefixes on `call' -.*:7: Error: expecting indirect branch instruction after `notrack' +.*:8: Error: same type of prefix used twice .*:9: Error: same type of prefix used twice -.*:10: Error: same type of prefix used twice +.*:12: Error: same type of prefix used twice .*:13: Error: same type of prefix used twice -.*:14: Error: same type of prefix used twice GAS LISTING .* [ ]*1[ ]+\# Check 32bit unsupported NOTRACK prefix [ ]*2[ ]+ -[ ]*3[ ]+\.allow_index_reg -[ ]*4[ ]+\.text -[ ]*5[ ]+_start: -[ ]*6[ ]+\?\?\?\? [0-9A-F]* notrack call foo +[ ]*3[ ]+\.text +[ ]*4[ ]+_start: +[ ]*5[ ]+\?\?\?\? [0-9A-F]* notrack call foo \*\*\*\* Error: expecting indirect branch instruction after `notrack' \*\*\*\* Warning: skipping prefixes on `call' -[ ]*6[ ]+[0-9A-F]* -[ ]*7[ ]+\?\?\?\? [0-9A-F]* notrack jmp foo +[ ]*5[ ]+[0-9A-F]* +[ ]*6[ ]+\?\?\?\? [0-9A-F]* notrack jmp foo \*\*\*\* Error: expecting indirect branch instruction after `notrack' -[ ]*7[ ]+[0-9A-F]* -[ ]*8[ ]+ -[ ]*9[ ]+fs notrack call \*%eax -[ ]*10[ ]+notrack fs call \*%eax -[ ]*11[ ]+ -[ ]*12[ ]+\.intel_syntax noprefix -[ ]*13[ ]+fs notrack call eax -[ ]*14[ ]+notrack fs call eax +[ ]*6[ ]+[0-9A-F]* +[ ]*7[ ]+ +[ ]*8[ ]+fs notrack call \*%eax +[ ]*9[ ]+notrack fs call \*%eax +[ ]*10[ ]+ +[ ]*11[ ]+\.intel_syntax noprefix +[ ]*12[ ]+fs notrack call eax +[ ]*13[ ]+notrack fs call eax #pass diff --git a/gas/testsuite/gas/i386/notrackbad.s b/gas/testsuite/gas/i386/notrackbad.s index 535ec56..a42e401 100644 --- a/gas/testsuite/gas/i386/notrackbad.s +++ b/gas/testsuite/gas/i386/notrackbad.s @@ -1,6 +1,5 @@ # Check 32bit unsupported NOTRACK prefix - .allow_index_reg .text _start: notrack call foo diff --git a/gas/testsuite/gas/i386/optimize-1.s b/gas/testsuite/gas/i386/optimize-1.s index e253142..f80301d 100644 --- a/gas/testsuite/gas/i386/optimize-1.s +++ b/gas/testsuite/gas/i386/optimize-1.s @@ -1,6 +1,5 @@ # Check instructions with optimized encoding - .allow_index_reg .text _start: vandnpd %zmm1, %zmm1, %zmm5{%k7} diff --git a/gas/testsuite/gas/i386/optimize-2.s b/gas/testsuite/gas/i386/optimize-2.s index 29399ae..5812ea3 100644 --- a/gas/testsuite/gas/i386/optimize-2.s +++ b/gas/testsuite/gas/i386/optimize-2.s @@ -1,6 +1,5 @@ # Check instructions with optimized encoding - .allow_index_reg .text _start: testl $0x7f, %eax diff --git a/gas/testsuite/gas/i386/optimize-3.s b/gas/testsuite/gas/i386/optimize-3.s index efaaa07..badb895 100644 --- a/gas/testsuite/gas/i386/optimize-3.s +++ b/gas/testsuite/gas/i386/optimize-3.s @@ -1,6 +1,5 @@ # Check instructions with optimized encoding - .allow_index_reg .text _start: {nooptimize} testl $0x7f, %eax diff --git a/gas/testsuite/gas/i386/optimize-6.s b/gas/testsuite/gas/i386/optimize-6.s index 103200aa..e672283 100644 --- a/gas/testsuite/gas/i386/optimize-6.s +++ b/gas/testsuite/gas/i386/optimize-6.s @@ -1,6 +1,5 @@ # Check instructions with optimized encoding - .allow_index_reg .text _start: vandnpd %zmm1, %zmm1, %zmm5{%k7} diff --git a/gas/testsuite/gas/i386/optimize-6a.l b/gas/testsuite/gas/i386/optimize-6a.l index 4eaf87d..86d709b 100644 --- a/gas/testsuite/gas/i386/optimize-6a.l +++ b/gas/testsuite/gas/i386/optimize-6a.l @@ -1,32 +1,32 @@ .*: Assembler messages: +.*:5: Error: .* .*:6: Error: .* -.*:7: Error: .* +.*:8: Error: .* .*:9: Error: .* -.*:10: Error: .* +.*:11: Error: .* .*:12: Error: .* -.*:13: Error: .* +.*:14: Error: .* .*:15: Error: .* -.*:16: Error: .* +.*:17: Error: .* .*:18: Error: .* -.*:19: Error: .* +.*:20: Error: .* .*:21: Error: .* -.*:22: Error: .* +.*:23: Error: .* .*:24: Error: .* -.*:25: Error: .* +.*:26: Error: .* .*:27: Error: .* -.*:28: Error: .* +.*:29: Error: .* .*:30: Error: .* -.*:31: Error: .* +.*:32: Error: .* .*:33: Error: .* -.*:34: Error: .* +.*:35: Error: .* .*:36: Error: .* -.*:37: Error: .* +.*:38: Error: .* .*:39: Error: .* -.*:40: Error: .* +.*:41: Error: .* .*:42: Error: .* -.*:43: Error: .* +.*:44: Error: .* .*:45: Error: .* -.*:46: Error: .* GAS LISTING .* @@ -35,48 +35,47 @@ GAS LISTING .* [ ]*3[ ]+\.include "optimize-6\.s" [ ]*1[ ]+\# Check instructions with optimized encoding [ ]*2[ ]+ -[ ]*3[ ]+\.allow_index_reg -[ ]*4[ ]+\.text -[ ]*5[ ]+_start: -[ ]*6[ ]+vandnpd %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*7[ ]+vandnpd %zmm1, %zmm1, %zmm5 -[ ]*8[ ]+ -[ ]*9[ ]+vandnps %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*10[ ]+vandnps %zmm1, %zmm1, %zmm5 -[ ]*11[ ]+ -[ ]*12[ ]+vpandnd %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*13[ ]+vpandnd %zmm1, %zmm1, %zmm5 -[ ]*14[ ]+ -[ ]*15[ ]+vpandnq %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*16[ ]+vpandnq %zmm1, %zmm1, %zmm5 -[ ]*17[ ]+ -[ ]*18[ ]+vxorpd %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*19[ ]+vxorpd %zmm1, %zmm1, %zmm5 -[ ]*20[ ]+ -[ ]*21[ ]+vxorps %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*22[ ]+vxorps %zmm1, %zmm1, %zmm5 -[ ]*23[ ]+ -[ ]*24[ ]+vpxord %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*25[ ]+vpxord %zmm1, %zmm1, %zmm5 -[ ]*26[ ]+ -[ ]*27[ ]+vpxorq %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*28[ ]+vpxorq %zmm1, %zmm1, %zmm5 -[ ]*29[ ]+ -[ ]*30[ ]+vpsubb %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*31[ ]+vpsubb %zmm1, %zmm1, %zmm5 -[ ]*32[ ]+ -[ ]*33[ ]+vpsubw %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*34[ ]+vpsubw %zmm1, %zmm1, %zmm5 -[ ]*35[ ]+ -[ ]*36[ ]+vpsubd %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*37[ ]+vpsubd %zmm1, %zmm1, %zmm5 -[ ]*38[ ]+ -[ ]*39[ ]+vpsubq %zmm1, %zmm1, %zmm5\{%k7\} -[ ]*40[ ]+vpsubq %zmm1, %zmm1, %zmm5 -[ ]*41[ ]+ -[ ]*42[ ]+kxord %k1, %k1, %k5 -[ ]*43[ ]+kxorq %k1, %k1, %k5 -[ ]*44[ ]+ -[ ]*45[ ]+kandnd %k1, %k1, %k5 -[ ]*46[ ]+kandnq %k1, %k1, %k5 +[ ]*3[ ]+\.text +[ ]*4[ ]+_start: +[ ]*5[ ]+vandnpd %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*6[ ]+vandnpd %zmm1, %zmm1, %zmm5 +[ ]*7[ ]+ +[ ]*8[ ]+vandnps %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*9[ ]+vandnps %zmm1, %zmm1, %zmm5 +[ ]*10[ ]+ +[ ]*11[ ]+vpandnd %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*12[ ]+vpandnd %zmm1, %zmm1, %zmm5 +[ ]*13[ ]+ +[ ]*14[ ]+vpandnq %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*15[ ]+vpandnq %zmm1, %zmm1, %zmm5 +[ ]*16[ ]+ +[ ]*17[ ]+vxorpd %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*18[ ]+vxorpd %zmm1, %zmm1, %zmm5 +[ ]*19[ ]+ +[ ]*20[ ]+vxorps %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*21[ ]+vxorps %zmm1, %zmm1, %zmm5 +[ ]*22[ ]+ +[ ]*23[ ]+vpxord %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*24[ ]+vpxord %zmm1, %zmm1, %zmm5 +[ ]*25[ ]+ +[ ]*26[ ]+vpxorq %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*27[ ]+vpxorq %zmm1, %zmm1, %zmm5 +[ ]*28[ ]+ +[ ]*29[ ]+vpsubb %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*30[ ]+vpsubb %zmm1, %zmm1, %zmm5 +[ ]*31[ ]+ +[ ]*32[ ]+vpsubw %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*33[ ]+vpsubw %zmm1, %zmm1, %zmm5 +[ ]*34[ ]+ +[ ]*35[ ]+vpsubd %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*36[ ]+vpsubd %zmm1, %zmm1, %zmm5 +[ ]*37[ ]+ +[ ]*38[ ]+vpsubq %zmm1, %zmm1, %zmm5\{%k7\} +[ ]*39[ ]+vpsubq %zmm1, %zmm1, %zmm5 +[ ]*40[ ]+ +[ ]*41[ ]+kxord %k1, %k1, %k5 +[ ]*42[ ]+kxorq %k1, %k1, %k5 +[ ]*43[ ]+ +[ ]*44[ ]+kandnd %k1, %k1, %k5 +[ ]*45[ ]+kandnq %k1, %k1, %k5 #pass diff --git a/gas/testsuite/gas/i386/optimize-7.l b/gas/testsuite/gas/i386/optimize-7.l index 7b72bed..087d68a 100644 --- a/gas/testsuite/gas/i386/optimize-7.l +++ b/gas/testsuite/gas/i386/optimize-7.l @@ -1,12 +1,11 @@ .*: Assembler messages: -.*:6: Error: .* +.*:5: Error: .* GAS LISTING .* [ ]*1[ ]+\# Check instructions with optimized encoding [ ]*2[ ]+ -[ ]*3[ ]+\.allow_index_reg -[ ]*4[ ]+\.text -[ ]*5[ ]+_start: -[ ]*6[ ]+vmovdqa32 %ymm1, %ymm2 +[ ]*3[ ]+\.text +[ ]*4[ ]+_start: +[ ]*5[ ]+vmovdqa32 %ymm1, %ymm2 #pass diff --git a/gas/testsuite/gas/i386/optimize-7.s b/gas/testsuite/gas/i386/optimize-7.s index 261b4af..e3099f4 100644 --- a/gas/testsuite/gas/i386/optimize-7.s +++ b/gas/testsuite/gas/i386/optimize-7.s @@ -1,6 +1,5 @@ # Check instructions with optimized encoding - .allow_index_reg .text _start: vmovdqa32 %ymm1, %ymm2 diff --git a/gas/testsuite/gas/i386/opts.s b/gas/testsuite/gas/i386/opts.s index 262ce1c..fa45e96 100644 --- a/gas/testsuite/gas/i386/opts.s +++ b/gas/testsuite/gas/i386/opts.s @@ -1,6 +1,5 @@ # Check instructions with encoding options - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/prefetchwt1.s b/gas/testsuite/gas/i386/prefetchwt1.s index ae1b01a..7d9677b 100644 --- a/gas/testsuite/gas/i386/prefetchwt1.s +++ b/gas/testsuite/gas/i386/prefetchwt1.s @@ -1,6 +1,5 @@ -# Check 32bit AVX512PF instructions +# Check 32bit PREFETCHWT1 instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/raoint.s b/gas/testsuite/gas/i386/raoint.s index 04a13dd..c3f3fff 100644 --- a/gas/testsuite/gas/i386/raoint.s +++ b/gas/testsuite/gas/i386/raoint.s @@ -1,6 +1,5 @@ # Check 32bit RAO-INT instructions - .allow_index_reg .text _start: aadd %edx, (%eax) #RAO-INT diff --git a/gas/testsuite/gas/i386/sha.s b/gas/testsuite/gas/i386/sha.s index 59d9b51..4c7fc95 100644 --- a/gas/testsuite/gas/i386/sha.s +++ b/gas/testsuite/gas/i386/sha.s @@ -1,6 +1,5 @@ # Check SHA instructions - .allow_index_reg .text _start: sha1rnds4 $9, %xmm2, %xmm1 diff --git a/gas/testsuite/gas/i386/sse2avx.s b/gas/testsuite/gas/i386/sse2avx.s index 36b754b..f9cf0cb 100644 --- a/gas/testsuite/gas/i386/sse2avx.s +++ b/gas/testsuite/gas/i386/sse2avx.s @@ -1,6 +1,5 @@ # Check SSE to AVX instructions - .allow_index_reg .text _start: # Tests for op mem64 diff --git a/gas/testsuite/gas/i386/tbm.s b/gas/testsuite/gas/i386/tbm.s index b47fdec..7181808 100644 --- a/gas/testsuite/gas/i386/tbm.s +++ b/gas/testsuite/gas/i386/tbm.s @@ -1,4 +1,3 @@ - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/vaes.s b/gas/testsuite/gas/i386/vaes.s index 71d6026..22630a2 100644 --- a/gas/testsuite/gas/i386/vaes.s +++ b/gas/testsuite/gas/i386/vaes.s @@ -1,6 +1,5 @@ # Check VAES instructions - .allow_index_reg .text _start: # Tests for op ymm/mem256, ymm, ymm diff --git a/gas/testsuite/gas/i386/vex-lig-2.s b/gas/testsuite/gas/i386/vex-lig-2.s index dc74d71..10b153f 100644 --- a/gas/testsuite/gas/i386/vex-lig-2.s +++ b/gas/testsuite/gas/i386/vex-lig-2.s @@ -1,6 +1,5 @@ # Check VEX non-LIG instructions with with -mavxscalar=256 - .allow_index_reg .text _start: vmovd %eax, %xmm0 diff --git a/gas/testsuite/gas/i386/vp2intersect-inval-bcast.l b/gas/testsuite/gas/i386/vp2intersect-inval-bcast.l index 4ee46a3..21d5ab0 100644 --- a/gas/testsuite/gas/i386/vp2intersect-inval-bcast.l +++ b/gas/testsuite/gas/i386/vp2intersect-inval-bcast.l @@ -1,13 +1,13 @@ .*: Assembler messages: +.*:5: Error: unsupported broadcast for `vp2intersectd' .*:6: Error: unsupported broadcast for `vp2intersectd' .*:7: Error: unsupported broadcast for `vp2intersectd' -.*:8: Error: unsupported broadcast for `vp2intersectd' +.*:8: Error: unsupported broadcast for `vp2intersectq' .*:9: Error: unsupported broadcast for `vp2intersectq' .*:10: Error: unsupported broadcast for `vp2intersectq' -.*:11: Error: unsupported broadcast for `vp2intersectq' +.*:13: Error: unsupported broadcast for `vp2intersectd' .*:14: Error: unsupported broadcast for `vp2intersectd' .*:15: Error: unsupported broadcast for `vp2intersectd' -.*:16: Error: unsupported broadcast for `vp2intersectd' +.*:16: Error: unsupported broadcast for `vp2intersectq' .*:17: Error: unsupported broadcast for `vp2intersectq' .*:18: Error: unsupported broadcast for `vp2intersectq' -.*:19: Error: unsupported broadcast for `vp2intersectq' diff --git a/gas/testsuite/gas/i386/vp2intersect-inval-bcast.s b/gas/testsuite/gas/i386/vp2intersect-inval-bcast.s index b4479f6..92a24ec 100644 --- a/gas/testsuite/gas/i386/vp2intersect-inval-bcast.s +++ b/gas/testsuite/gas/i386/vp2intersect-inval-bcast.s @@ -1,6 +1,5 @@ # Check error for invalid {1toXX} and {2toXX} broadcasts. - .allow_index_reg .text _start: vp2intersectd 8(%eax){1to8}, %xmm2, %k3 diff --git a/gas/testsuite/gas/i386/vpclmulqdq.s b/gas/testsuite/gas/i386/vpclmulqdq.s index be09d2c..ded630c 100644 --- a/gas/testsuite/gas/i386/vpclmulqdq.s +++ b/gas/testsuite/gas/i386/vpclmulqdq.s @@ -1,6 +1,5 @@ # Check VPCLMULQDQ instructions - .allow_index_reg .text _start: vpclmulqdq $0xab, %ymm4, %ymm5, %ymm6 diff --git a/gas/testsuite/gas/i386/x86-64-adx.s b/gas/testsuite/gas/i386/x86-64-adx.s index ff32b40..685b01c 100644 --- a/gas/testsuite/gas/i386/x86-64-adx.s +++ b/gas/testsuite/gas/i386/x86-64-adx.s @@ -1,5 +1,4 @@ # Check 64 bit ADX instructions. - .allow_index_reg .text _start: adcx 400(%ecx), %eax diff --git a/gas/testsuite/gas/i386/x86-64-amx-complex.s b/gas/testsuite/gas/i386/x86-64-amx-complex.s index 56f1a00..bedcac8 100644 --- a/gas/testsuite/gas/i386/x86-64-amx-complex.s +++ b/gas/testsuite/gas/i386/x86-64-amx-complex.s @@ -1,6 +1,5 @@ # Check 64bit AMX-COMPLEX instructions - .allow_index_reg .text _start: tcmmimfp16ps %tmm4, %tmm5, %tmm6 #AMX-COMPLEX diff --git a/gas/testsuite/gas/i386/x86-64-amx-fp16.s b/gas/testsuite/gas/i386/x86-64-amx-fp16.s index 5a00790..d5ea618 100644 --- a/gas/testsuite/gas/i386/x86-64-amx-fp16.s +++ b/gas/testsuite/gas/i386/x86-64-amx-fp16.s @@ -1,6 +1,5 @@ # Check 64bit AMX-FP16 instructions - .allow_index_reg .text _start: tdpfp16ps %tmm5, %tmm4, %tmm3 diff --git a/gas/testsuite/gas/i386/x86-64-avx-ifma.s b/gas/testsuite/gas/i386/x86-64-avx-ifma.s index bfc524a..3a87960 100644 --- a/gas/testsuite/gas/i386/x86-64-avx-ifma.s +++ b/gas/testsuite/gas/i386/x86-64-avx-ifma.s @@ -1,5 +1,3 @@ - .allow_index_reg - .macro test_insn mnemonic \mnemonic %xmm12, %xmm4, %xmm2 {evex} \mnemonic %xmm12, %xmm4, %xmm2 diff --git a/gas/testsuite/gas/i386/x86-64-avx-ne-convert.s b/gas/testsuite/gas/i386/x86-64-avx-ne-convert.s index c01a95d..14b6a19 100644 --- a/gas/testsuite/gas/i386/x86-64-avx-ne-convert.s +++ b/gas/testsuite/gas/i386/x86-64-avx-ne-convert.s @@ -1,6 +1,5 @@ # Check 64bit AVX-NE-CONVERT instructions - .allow_index_reg .text _start: vbcstnebf162ps 0x10000000(%rbp, %r14, 8), %xmm6 #AVX-NE-CONVERT diff --git a/gas/testsuite/gas/i386/x86-64-avx-scalar-2.s b/gas/testsuite/gas/i386/x86-64-avx-scalar-2.s index 679ce51..f185c43 100644 --- a/gas/testsuite/gas/i386/x86-64-avx-scalar-2.s +++ b/gas/testsuite/gas/i386/x86-64-avx-scalar-2.s @@ -1,6 +1,5 @@ # Check VEX.128 scalar instructions with -mavxscalar=256 -msse2avx - .allow_index_reg .text _start: movd %xmm4,(%rcx) diff --git a/gas/testsuite/gas/i386/x86-64-avx-swap.s b/gas/testsuite/gas/i386/x86-64-avx-swap.s index 5afe5cc..b269276 100644 --- a/gas/testsuite/gas/i386/x86-64-avx-swap.s +++ b/gas/testsuite/gas/i386/x86-64-avx-swap.s @@ -1,6 +1,5 @@ # Check 64bit instructions with encoding options - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-avx-vnni-int8.s b/gas/testsuite/gas/i386/x86-64-avx-vnni-int8.s index bc9145b..f93f423 100644 --- a/gas/testsuite/gas/i386/x86-64-avx-vnni-int8.s +++ b/gas/testsuite/gas/i386/x86-64-avx-vnni-int8.s @@ -1,6 +1,5 @@ # Check 64bit AVX-VNNI-INT8 instructions - .allow_index_reg .text _start: vpdpbssd %ymm8, %ymm9, %ymm10 #AVX-VNNI-INT8 diff --git a/gas/testsuite/gas/i386/x86-64-avx-vnni.s b/gas/testsuite/gas/i386/x86-64-avx-vnni.s index 9c57e6f..8d3ce63 100644 --- a/gas/testsuite/gas/i386/x86-64-avx-vnni.s +++ b/gas/testsuite/gas/i386/x86-64-avx-vnni.s @@ -1,5 +1,3 @@ - .allow_index_reg - .macro test_insn mnemonic \mnemonic %xmm12, %xmm4, %xmm2 {evex} \mnemonic %xmm12, %xmm4, %xmm2 diff --git a/gas/testsuite/gas/i386/x86-64-avx-wig.s b/gas/testsuite/gas/i386/x86-64-avx-wig.s index 6bd3911..df7b6de7 100644 --- a/gas/testsuite/gas/i386/x86-64-avx-wig.s +++ b/gas/testsuite/gas/i386/x86-64-avx-wig.s @@ -1,6 +1,5 @@ # Check AVX WIG instructions - .allow_index_reg .text _start: vaddpd %ymm4,%ymm6,%ymm2 diff --git a/gas/testsuite/gas/i386/x86-64-avx2-wig.s b/gas/testsuite/gas/i386/x86-64-avx2-wig.s index a42cb84..8c723d5 100644 --- a/gas/testsuite/gas/i386/x86-64-avx2-wig.s +++ b/gas/testsuite/gas/i386/x86-64-avx2-wig.s @@ -1,6 +1,5 @@ # Check AVX2 WIG instructions - .allow_index_reg .text _start: vmovntdqa (%rcx),%ymm4 diff --git a/gas/testsuite/gas/i386/x86-64-avx2.s b/gas/testsuite/gas/i386/x86-64-avx2.s index 0a84482..3aa2949 100644 --- a/gas/testsuite/gas/i386/x86-64-avx2.s +++ b/gas/testsuite/gas/i386/x86-64-avx2.s @@ -1,6 +1,5 @@ # Check x86-64 AVX2 instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-avx256int.s b/gas/testsuite/gas/i386/x86-64-avx256int.s index 86d0b60..e8c3eb5 100644 --- a/gas/testsuite/gas/i386/x86-64-avx256int.s +++ b/gas/testsuite/gas/i386/x86-64-avx256int.s @@ -1,6 +1,5 @@ # Check x86-64 256it integer AVX instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-avx512_4fmaps.s b/gas/testsuite/gas/i386/x86-64-avx512_4fmaps.s index 5ba2815..07dac32 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_4fmaps.s +++ b/gas/testsuite/gas/i386/x86-64-avx512_4fmaps.s @@ -1,6 +1,5 @@ # Check 64bit AVX512_4FMAPS instructions - .allow_index_reg .text _start: v4fmaddps (%rcx), %zmm8, %zmm1 # AVX512_4FMAPS diff --git a/gas/testsuite/gas/i386/x86-64-avx512_4vnniw.s b/gas/testsuite/gas/i386/x86-64-avx512_4vnniw.s index b4295f9..adec949 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_4vnniw.s +++ b/gas/testsuite/gas/i386/x86-64-avx512_4vnniw.s @@ -1,6 +1,5 @@ # Check 64bit AVX512_4VNNIW instructions - .allow_index_reg .text _start: vp4dpwssd (%rcx), %zmm8, %zmm1 # AVX512_4VNNIW diff --git a/gas/testsuite/gas/i386/x86-64-avx512_bf16.s b/gas/testsuite/gas/i386/x86-64-avx512_bf16.s index 59f9636..02b34d1 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_bf16.s +++ b/gas/testsuite/gas/i386/x86-64-avx512_bf16.s @@ -1,6 +1,5 @@ # Check 64bit AVX512_BF16 instructions - .allow_index_reg .text _start: vcvtne2ps2bf16 %zmm28, %zmm29, %zmm30 #AVX512_BF16 diff --git a/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l b/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l index dfd21d6..badbc63 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l +++ b/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l @@ -1,7 +1,7 @@ .*: Assembler messages: +.*:5: Error: .* .*:6: Error: .* .*:7: Error: .* -.*:8: Error: .* +.*:10: Error: .* .*:11: Error: .* .*:12: Error: .* -.*:13: Error: .* diff --git a/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s b/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s index 045511b..9b611d3 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s +++ b/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s @@ -1,6 +1,5 @@ # Check illegal 64bit AVX512{BF16,VL} instructions - .allow_index_reg .text _start: vcvtneps2bf16 0x10000000(%rbp, %r14, 8), %xmm30{%k7} #AVX512{BF16,VL} MASK_ENABLING diff --git a/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl.s b/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl.s index 2ac32c3..09e7e0a 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl.s +++ b/gas/testsuite/gas/i386/x86-64-avx512_bf16_vl.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{BF16,VL} instructions - .allow_index_reg .text _start: vcvtne2ps2bf16 %ymm28, %ymm29, %ymm30 #AVX512{BF16,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.l b/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.l index cec63a6..ab57eca 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.l +++ b/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.l @@ -1,27 +1,27 @@ .*: Assembler messages: -.*:6: Error: unsupported broadcast for `vcvtpd2ph' -.*:7: Error: unsupported broadcast for `vcvtuqq2ph' -.*:8: Error: unsupported broadcast for `vcvtdq2ph' -.*:9: Error: unsupported broadcast for `vcvtudq2ph' -.*:10: Error: unsupported broadcast for `vcmpph' -.*:11: Error: Unsupported broadcast: `\{1to64\}' -.*:12: Error: unsupported broadcast for `vfmadd132ph' -.*:13: Error: unsupported broadcast for `vfcmaddcph' -.*:14: Error: unsupported broadcast for `vfcmulcph' -.*:15: Error: unsupported broadcast for `vcvtdq2ph' -.*:16: Error: unsupported broadcast for `vfmaddcph' +.*:5: Error: unsupported broadcast for `vcvtpd2ph' +.*:6: Error: unsupported broadcast for `vcvtuqq2ph' +.*:7: Error: unsupported broadcast for `vcvtdq2ph' +.*:8: Error: unsupported broadcast for `vcvtudq2ph' +.*:9: Error: unsupported broadcast for `vcmpph' +.*:10: Error: Unsupported broadcast: `\{1to64\}' +.*:11: Error: unsupported broadcast for `vfmadd132ph' +.*:12: Error: unsupported broadcast for `vfcmaddcph' +.*:13: Error: unsupported broadcast for `vfcmulcph' +.*:14: Error: unsupported broadcast for `vcvtdq2ph' +.*:15: Error: unsupported broadcast for `vfmaddcph' +.*:16: Error: unsupported broadcast for `vfmulcph' .*:17: Error: unsupported broadcast for `vfmulcph' -.*:18: Error: unsupported broadcast for `vfmulcph' -.*:21: Error: unsupported broadcast for `vcvtpd2ph' -.*:22: Error: unsupported broadcast for `vcvtuqq2ph' -.*:23: Error: unsupported broadcast for `vcvtdq2ph' -.*:24: Error: unsupported broadcast for `vcvtudq2ph' -.*:25: Error: unsupported broadcast for `vcmpph' -.*:26: Error: Unsupported broadcast: `\{1to64\}' -.*:27: Error: unsupported broadcast for `vfmsubadd231ph' -.*:28: Error: unsupported broadcast for `vfcmaddcph' -.*:29: Error: unsupported broadcast for `vfcmulcph' -.*:30: Error: unsupported broadcast for `vcvtdq2ph' -.*:31: Error: unsupported broadcast for `vfcmaddcph' +.*:20: Error: unsupported broadcast for `vcvtpd2ph' +.*:21: Error: unsupported broadcast for `vcvtuqq2ph' +.*:22: Error: unsupported broadcast for `vcvtdq2ph' +.*:23: Error: unsupported broadcast for `vcvtudq2ph' +.*:24: Error: unsupported broadcast for `vcmpph' +.*:25: Error: Unsupported broadcast: `\{1to64\}' +.*:26: Error: unsupported broadcast for `vfmsubadd231ph' +.*:27: Error: unsupported broadcast for `vfcmaddcph' +.*:28: Error: unsupported broadcast for `vfcmulcph' +.*:29: Error: unsupported broadcast for `vcvtdq2ph' +.*:30: Error: unsupported broadcast for `vfcmaddcph' +.*:31: Error: unsupported broadcast for `vfmulcph' .*:32: Error: unsupported broadcast for `vfmulcph' -.*:33: Error: unsupported broadcast for `vfmulcph' diff --git a/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.s b/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.s index 3ec8deb..7b4db7d 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.s +++ b/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.s @@ -1,6 +1,5 @@ # Check error for invalid {1toXX} and {2toXX} broadcasts. - .allow_index_reg .text _start: vcvtpd2ph (%ecx){1to16}, %xmm30 diff --git a/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-register.l b/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-register.l index 4cff673..cf8111e 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-register.l +++ b/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-register.l @@ -1,11 +1,11 @@ .*: Assembler messages: +.*:5: Error: destination and source registers must be distinct for `vfcmaddcph' .*:6: Error: destination and source registers must be distinct for `vfcmaddcph' .*:7: Error: destination and source registers must be distinct for `vfcmaddcph' -.*:8: Error: destination and source registers must be distinct for `vfcmaddcph' -.*:9: Error: destination and source registers must be distinct for `vfcmaddcsh' -.*:10: Error: destination and source registers must be distinct for `vfmaddcph' -.*:11: Error: destination and source registers must be distinct for `vfmaddcsh' -.*:12: Error: destination and source registers must be distinct for `vfcmulcph' -.*:13: Error: destination and source registers must be distinct for `vfcmulcsh' -.*:14: Error: destination and source registers must be distinct for `vfmulcph' -.*:15: Error: destination and source registers must be distinct for `vfmulcsh' +.*:8: Error: destination and source registers must be distinct for `vfcmaddcsh' +.*:9: Error: destination and source registers must be distinct for `vfmaddcph' +.*:10: Error: destination and source registers must be distinct for `vfmaddcsh' +.*:11: Error: destination and source registers must be distinct for `vfcmulcph' +.*:12: Error: destination and source registers must be distinct for `vfcmulcsh' +.*:13: Error: destination and source registers must be distinct for `vfmulcph' +.*:14: Error: destination and source registers must be distinct for `vfmulcsh' diff --git a/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-register.s b/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-register.s index 06b9892..adc8d55 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-register.s +++ b/gas/testsuite/gas/i386/x86-64-avx512_fp16-inval-register.s @@ -1,6 +1,5 @@ # Check error for destination and source operands have the same register . - .allow_index_reg .text _start: vfcmaddcph 8128(%rcx), %zmm29, %zmm29 diff --git a/gas/testsuite/gas/i386/x86-64-avx512_fp16.s b/gas/testsuite/gas/i386/x86-64-avx512_fp16.s index af31a9e..f708cb5 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_fp16.s +++ b/gas/testsuite/gas/i386/x86-64-avx512_fp16.s @@ -1,6 +1,5 @@ # Check 64bit AVX512-FP16 instructions - .allow_index_reg .text _start: vaddph %zmm28, %zmm29, %zmm30 #AVX512-FP16 diff --git a/gas/testsuite/gas/i386/x86-64-avx512_fp16_pseudo_ops.s b/gas/testsuite/gas/i386/x86-64-avx512_fp16_pseudo_ops.s index 167ea73..f30a173 100755 --- a/gas/testsuite/gas/i386/x86-64-avx512_fp16_pseudo_ops.s +++ b/gas/testsuite/gas/i386/x86-64-avx512_fp16_pseudo_ops.s @@ -1,6 +1,5 @@ # Check 64bit VCM.*{PH,SH} instructions - .allow_index_reg .text _start: vcmpeq_oqph %zmm29, %zmm30, %k5 diff --git a/gas/testsuite/gas/i386/x86-64-avx512_fp16_vl.s b/gas/testsuite/gas/i386/x86-64-avx512_fp16_vl.s index 729ae8c..181fa69 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_fp16_vl.s +++ b/gas/testsuite/gas/i386/x86-64-avx512_fp16_vl.s @@ -1,6 +1,5 @@ # Check 64bit AVX512-FP16,AVX512VL instructions - .allow_index_reg .text _start: vaddph %ymm28, %ymm29, %ymm30 #AVX512-FP16,AVX512VL diff --git a/gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq.s b/gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq.s index 06e5ad2..70ae6f3 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq.s +++ b/gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq.s @@ -1,6 +1,5 @@ # Check 64bit AVX512_VPOPCNTDQ instructions - .allow_index_reg .text _start: vpopcntd %zmm29, %zmm30 # AVX512_VPOPCNTDQ diff --git a/gas/testsuite/gas/i386/x86-64-avx512bitalg.s b/gas/testsuite/gas/i386/x86-64-avx512bitalg.s index 73224e9..950ad11 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512bitalg.s +++ b/gas/testsuite/gas/i386/x86-64-avx512bitalg.s @@ -1,6 +1,5 @@ # Check 64bit AVX512BITALG instructions - .allow_index_reg .text _start: vpshufbitqmb %zmm28, %zmm29, %k5 # AVX512BITALG diff --git a/gas/testsuite/gas/i386/x86-64-avx512bitalg_vl.s b/gas/testsuite/gas/i386/x86-64-avx512bitalg_vl.s index 9425ad5..3d12257 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512bitalg_vl.s +++ b/gas/testsuite/gas/i386/x86-64-avx512bitalg_vl.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{BITALG,VL} instructions - .allow_index_reg .text _start: vpshufbitqmb %xmm28, %xmm29, %k5 # AVX512{BITALG,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512bw-opts.s b/gas/testsuite/gas/i386/x86-64-avx512bw-opts.s index c907c2c..9710ea5 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512bw-opts.s +++ b/gas/testsuite/gas/i386/x86-64-avx512bw-opts.s @@ -1,6 +1,5 @@ # Check 64bit AVX512BW swap instructions - .allow_index_reg .text _start: vmovdqu8 %zmm29, %zmm30 # AVX512BW diff --git a/gas/testsuite/gas/i386/x86-64-avx512bw-wig.s b/gas/testsuite/gas/i386/x86-64-avx512bw-wig.s index 1e9a20b..71afd02 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512bw-wig.s +++ b/gas/testsuite/gas/i386/x86-64-avx512bw-wig.s @@ -1,6 +1,5 @@ # Check 64bit AVX512BW WIG instructions - .allow_index_reg .text _start: vpabsb %zmm29, %zmm30 # AVX512BW diff --git a/gas/testsuite/gas/i386/x86-64-avx512bw.s b/gas/testsuite/gas/i386/x86-64-avx512bw.s index d04ddfb..5bd257e 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512bw.s +++ b/gas/testsuite/gas/i386/x86-64-avx512bw.s @@ -1,6 +1,5 @@ # Check 64bit AVX512BW instructions - .allow_index_reg .text _start: vpabsb %zmm29, %zmm30 # AVX512BW diff --git a/gas/testsuite/gas/i386/x86-64-avx512bw_vl-opts.s b/gas/testsuite/gas/i386/x86-64-avx512bw_vl-opts.s index c2c1865..bc0f6c9 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512bw_vl-opts.s +++ b/gas/testsuite/gas/i386/x86-64-avx512bw_vl-opts.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{BW,VL} swap instructions - .allow_index_reg .text _start: vmovdqu8 %xmm29, %xmm30 # AVX512{BW,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512bw_vl-wig.s b/gas/testsuite/gas/i386/x86-64-avx512bw_vl-wig.s index 8eef0cf..e1f2f16 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512bw_vl-wig.s +++ b/gas/testsuite/gas/i386/x86-64-avx512bw_vl-wig.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{BW,VL} WIG instructions - .allow_index_reg .text _start: vpabsb %xmm29, %xmm30 # AVX512{BW,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512bw_vl.s b/gas/testsuite/gas/i386/x86-64-avx512bw_vl.s index 243a596..776f998 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512bw_vl.s +++ b/gas/testsuite/gas/i386/x86-64-avx512bw_vl.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{BW,VL} instructions - .allow_index_reg .text _start: vpabsb %xmm29, %xmm30 # AVX512{BW,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512cd.s b/gas/testsuite/gas/i386/x86-64-avx512cd.s index 832874e..87f73f0 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512cd.s +++ b/gas/testsuite/gas/i386/x86-64-avx512cd.s @@ -1,6 +1,5 @@ # Check 64bit AVX512CD instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-avx512cd_vl.s b/gas/testsuite/gas/i386/x86-64-avx512cd_vl.s index f96d55e..cdde629 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512cd_vl.s +++ b/gas/testsuite/gas/i386/x86-64-avx512cd_vl.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{CD,VL} instructions - .allow_index_reg .text _start: vpconflictd %xmm29, %xmm30 # AVX512{CD,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512dq-rcig.s b/gas/testsuite/gas/i386/x86-64-avx512dq-rcig.s index f375308..64f323f 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512dq-rcig.s +++ b/gas/testsuite/gas/i386/x86-64-avx512dq-rcig.s @@ -1,6 +1,5 @@ # Check 64bit AVX512DQ-RCIG instructions - .allow_index_reg .text _start: vrangepd $0xab, {sae}, %zmm28, %zmm29, %zmm30 # AVX512DQ diff --git a/gas/testsuite/gas/i386/x86-64-avx512dq.s b/gas/testsuite/gas/i386/x86-64-avx512dq.s index 3e6ae53..81669e4 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512dq.s +++ b/gas/testsuite/gas/i386/x86-64-avx512dq.s @@ -1,6 +1,5 @@ # Check 64bit AVX512DQ instructions - .allow_index_reg .text _start: vbroadcastf32x8 (%rcx), %zmm30 # AVX512DQ diff --git a/gas/testsuite/gas/i386/x86-64-avx512dq_vl.s b/gas/testsuite/gas/i386/x86-64-avx512dq_vl.s index 788dda5..7a74805 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512dq_vl.s +++ b/gas/testsuite/gas/i386/x86-64-avx512dq_vl.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{DQ,VL} instructions - .allow_index_reg .text _start: vbroadcastf64x2 (%rcx), %ymm30 # AVX512{DQ,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512er-rcig.s b/gas/testsuite/gas/i386/x86-64-avx512er-rcig.s index 7f02ec4..f7f2c90 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512er-rcig.s +++ b/gas/testsuite/gas/i386/x86-64-avx512er-rcig.s @@ -1,6 +1,5 @@ # Check 64bit AVX512ER-RCIG instructions - .allow_index_reg .text _start: vexp2ps {sae}, %zmm29, %zmm30 # AVX512ER diff --git a/gas/testsuite/gas/i386/x86-64-avx512er.s b/gas/testsuite/gas/i386/x86-64-avx512er.s index 53f2312..436f9be 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512er.s +++ b/gas/testsuite/gas/i386/x86-64-avx512er.s @@ -1,6 +1,5 @@ # Check 64bit AVX512ER instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-avx512f-opts.s b/gas/testsuite/gas/i386/x86-64-avx512f-opts.s index 27898a1..5e92ef3 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512f-opts.s +++ b/gas/testsuite/gas/i386/x86-64-avx512f-opts.s @@ -1,6 +1,5 @@ # Check 64bit AVX512F instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-avx512f-rcig.s b/gas/testsuite/gas/i386/x86-64-avx512f-rcig.s index 0fc3ea8..1a2b4a6 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512f-rcig.s +++ b/gas/testsuite/gas/i386/x86-64-avx512f-rcig.s @@ -1,6 +1,5 @@ # Check 64bit AVX512F-RCIG instructions - .allow_index_reg .text _start: vcmpeqpd {sae}, %zmm29, %zmm30, %k5 # AVX512F diff --git a/gas/testsuite/gas/i386/x86-64-avx512f.s b/gas/testsuite/gas/i386/x86-64-avx512f.s index 705ea17..bef5c01 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512f.s +++ b/gas/testsuite/gas/i386/x86-64-avx512f.s @@ -1,6 +1,5 @@ # Check 64bit AVX512F instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-avx512f_gfni.s b/gas/testsuite/gas/i386/x86-64-avx512f_gfni.s index d5a4d08..cc88058 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512f_gfni.s +++ b/gas/testsuite/gas/i386/x86-64-avx512f_gfni.s @@ -1,6 +1,5 @@ # Check 64bit AVX512F,GFNI instructions - .allow_index_reg .text _start: vgf2p8affineqb $0xab, %zmm28, %zmm29, %zmm30 # AVX512F,GFNI diff --git a/gas/testsuite/gas/i386/x86-64-avx512f_vaes.s b/gas/testsuite/gas/i386/x86-64-avx512f_vaes.s index feadd92..ecbe7ee 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512f_vaes.s +++ b/gas/testsuite/gas/i386/x86-64-avx512f_vaes.s @@ -1,6 +1,5 @@ # Check 64bit AVX512F,VAES instructions - .allow_index_reg .text _start: vaesdec %zmm28, %zmm29, %zmm30 # AVX512F,VAES diff --git a/gas/testsuite/gas/i386/x86-64-avx512f_vl-opts.s b/gas/testsuite/gas/i386/x86-64-avx512f_vl-opts.s index af91b75..4e3f5ec 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512f_vl-opts.s +++ b/gas/testsuite/gas/i386/x86-64-avx512f_vl-opts.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{F,VL} swap instructions - .allow_index_reg .text _start: vmovapd %xmm29, %xmm30 # AVX512{F,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512f_vl-wig.s b/gas/testsuite/gas/i386/x86-64-avx512f_vl-wig.s index f2967b3..05c7f29 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512f_vl-wig.s +++ b/gas/testsuite/gas/i386/x86-64-avx512f_vl-wig.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{F,VL} WIG instructions - .allow_index_reg .text _start: vpmovsxbd %xmm29, %xmm30 # AVX512{F,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512f_vl.s b/gas/testsuite/gas/i386/x86-64-avx512f_vl.s index 429b185..8b9d0f7 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512f_vl.s +++ b/gas/testsuite/gas/i386/x86-64-avx512f_vl.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{F,VL} instructions - .allow_index_reg .text _start: vaddpd %xmm28, %xmm29, %xmm30 # AVX512{F,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s b/gas/testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s index cbf0bdc..ada90dc 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s +++ b/gas/testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s @@ -1,6 +1,5 @@ # Check 64bit AVX512F,VPCLMULQDQ instructions - .allow_index_reg .text _start: vpclmulqdq $0xab, %zmm24, %zmm23, %zmm26 # AVX512F,VPCLMULQDQ diff --git a/gas/testsuite/gas/i386/x86-64-avx512ifma.s b/gas/testsuite/gas/i386/x86-64-avx512ifma.s index ff1f78a..2920814 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512ifma.s +++ b/gas/testsuite/gas/i386/x86-64-avx512ifma.s @@ -1,6 +1,5 @@ # Check 64bit AVX512IFMA instructions - .allow_index_reg .text _start: vpmadd52luq %zmm28, %zmm29, %zmm30 # AVX512IFMA diff --git a/gas/testsuite/gas/i386/x86-64-avx512ifma_vl.s b/gas/testsuite/gas/i386/x86-64-avx512ifma_vl.s index e102383..dbf1c22 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512ifma_vl.s +++ b/gas/testsuite/gas/i386/x86-64-avx512ifma_vl.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{IFMA,VL} instructions - .allow_index_reg .text _start: vpmadd52luq %xmm28, %xmm29, %xmm30 # AVX512{IFMA,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512pf.s b/gas/testsuite/gas/i386/x86-64-avx512pf.s index b53f803..dc37d4f 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512pf.s +++ b/gas/testsuite/gas/i386/x86-64-avx512pf.s @@ -1,6 +1,5 @@ # Check 64bit AVX512PF instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-avx512vbmi.s b/gas/testsuite/gas/i386/x86-64-avx512vbmi.s index 9b93bfc..9c27eec 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512vbmi.s +++ b/gas/testsuite/gas/i386/x86-64-avx512vbmi.s @@ -1,6 +1,5 @@ # Check 64bit AVX512VBMI instructions - .allow_index_reg .text _start: vpermb %zmm28, %zmm29, %zmm30 # AVX512VBMI diff --git a/gas/testsuite/gas/i386/x86-64-avx512vbmi2.s b/gas/testsuite/gas/i386/x86-64-avx512vbmi2.s index 1f65153..0d3751e 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512vbmi2.s +++ b/gas/testsuite/gas/i386/x86-64-avx512vbmi2.s @@ -1,6 +1,5 @@ # Check 64bit AVX512VBMI2 instructions - .allow_index_reg .text _start: vpcompressb %zmm30, (%rcx){%k7} # AVX512VBMI2 diff --git a/gas/testsuite/gas/i386/x86-64-avx512vbmi2_vl.s b/gas/testsuite/gas/i386/x86-64-avx512vbmi2_vl.s index 84abe2b..cc6edfd 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512vbmi2_vl.s +++ b/gas/testsuite/gas/i386/x86-64-avx512vbmi2_vl.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{VBMI2,VL} instructions - .allow_index_reg .text _start: vpcompressb %xmm30, (%rcx){%k7} # AVX512{VBMI2,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512vbmi_vl.s b/gas/testsuite/gas/i386/x86-64-avx512vbmi_vl.s index fa451df..c56af84 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512vbmi_vl.s +++ b/gas/testsuite/gas/i386/x86-64-avx512vbmi_vl.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{VBMI,VL} instructions - .allow_index_reg .text _start: vpermb %xmm28, %xmm29, %xmm30 # AVX512{VBMI,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx512vl_gfni.s b/gas/testsuite/gas/i386/x86-64-avx512vl_gfni.s index ea73c57..9a97232 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512vl_gfni.s +++ b/gas/testsuite/gas/i386/x86-64-avx512vl_gfni.s @@ -1,6 +1,5 @@ # Check 64bit AVX512VL,GFNI instructions - .allow_index_reg .text _start: vgf2p8affineqb $0xab, %xmm28, %xmm29, %xmm30 # AVX512VL,GFNI diff --git a/gas/testsuite/gas/i386/x86-64-avx512vl_vaes.s b/gas/testsuite/gas/i386/x86-64-avx512vl_vaes.s index 0b5b111..17d1d18 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512vl_vaes.s +++ b/gas/testsuite/gas/i386/x86-64-avx512vl_vaes.s @@ -1,6 +1,5 @@ # Check 64bit AVX512VL,VAES instructions - .allow_index_reg .text _start: vaesdec %xmm28, %xmm29, %xmm30 # AVX512VL,VAES diff --git a/gas/testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s b/gas/testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s index c5c04c8..1a96fbe 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s +++ b/gas/testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s @@ -1,6 +1,5 @@ # Check 64bit AVX512VL,VPCLMULQDQ instructions - .allow_index_reg .text _start: vpclmulqdq $0xab, %xmm18, %xmm29, %xmm25 # AVX512VL,VPCLMULQDQ diff --git a/gas/testsuite/gas/i386/x86-64-avx512vnni.s b/gas/testsuite/gas/i386/x86-64-avx512vnni.s index 8ae051c..072c4ff 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512vnni.s +++ b/gas/testsuite/gas/i386/x86-64-avx512vnni.s @@ -1,6 +1,5 @@ # Check 64bit AVX512VNNI instructions - .allow_index_reg .text _start: vpdpwssd %zmm17, %zmm18, %zmm18 # AVX512VNNI diff --git a/gas/testsuite/gas/i386/x86-64-avx512vnni_vl.s b/gas/testsuite/gas/i386/x86-64-avx512vnni_vl.s index 9c85ac7..152de6c 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512vnni_vl.s +++ b/gas/testsuite/gas/i386/x86-64-avx512vnni_vl.s @@ -1,6 +1,5 @@ # Check 64bit AVX512{VNNI,VL} instructions - .allow_index_reg .text _start: vpdpwssd %xmm20, %xmm22, %xmm26 # AVX512{VNNI,VL} diff --git a/gas/testsuite/gas/i386/x86-64-avx_gfni.s b/gas/testsuite/gas/i386/x86-64-avx_gfni.s index 7f56f8e..c35cef7 100644 --- a/gas/testsuite/gas/i386/x86-64-avx_gfni.s +++ b/gas/testsuite/gas/i386/x86-64-avx_gfni.s @@ -1,7 +1,6 @@ # Check AVX GFNI instructions -.allow_index_reg -.text + .text _start: vgf2p8mulb %ymm4, %ymm5, %ymm6 vgf2p8mulb -123456(%rax,%r14,8), %ymm5, %ymm6 @@ -27,7 +26,7 @@ _start: vgf2p8affineinvqb $123, -123456(%rax,%r14,8), %xmm5, %xmm6 vgf2p8affineinvqb $123, 126(%rdx), %xmm5, %xmm6 -.intel_syntax noprefix + .intel_syntax noprefix vgf2p8mulb ymm6, ymm5, ymm4 vgf2p8mulb ymm6, ymm5, YMMWORD PTR [rax+r14*8-123456] diff --git a/gas/testsuite/gas/i386/x86-64-bmi.s b/gas/testsuite/gas/i386/x86-64-bmi.s index ef222c9..1e4f860 100644 --- a/gas/testsuite/gas/i386/x86-64-bmi.s +++ b/gas/testsuite/gas/i386/x86-64-bmi.s @@ -1,6 +1,5 @@ # Check 64bit BMI instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-bmi2.s b/gas/testsuite/gas/i386/x86-64-bmi2.s index 677421f..28d8f05 100644 --- a/gas/testsuite/gas/i386/x86-64-bmi2.s +++ b/gas/testsuite/gas/i386/x86-64-bmi2.s @@ -1,6 +1,5 @@ # Check 64bit BMI2 instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-cldemote.s b/gas/testsuite/gas/i386/x86-64-cldemote.s index ecf203f..693bc26 100644 --- a/gas/testsuite/gas/i386/x86-64-cldemote.s +++ b/gas/testsuite/gas/i386/x86-64-cldemote.s @@ -1,6 +1,5 @@ # Check 64bit CLDEMOTE instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-clflushopt.s b/gas/testsuite/gas/i386/x86-64-clflushopt.s index 3e64d06..805fdad 100644 --- a/gas/testsuite/gas/i386/x86-64-clflushopt.s +++ b/gas/testsuite/gas/i386/x86-64-clflushopt.s @@ -1,6 +1,5 @@ # Check 64bit CLFLUSHOPT instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-clwb.s b/gas/testsuite/gas/i386/x86-64-clwb.s index 817fe9e..4866505 100644 --- a/gas/testsuite/gas/i386/x86-64-clwb.s +++ b/gas/testsuite/gas/i386/x86-64-clwb.s @@ -1,6 +1,5 @@ # Check 64bit CLWB instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-cmpccxadd.s b/gas/testsuite/gas/i386/x86-64-cmpccxadd.s index f2eb84a..1bacd90 100644 --- a/gas/testsuite/gas/i386/x86-64-cmpccxadd.s +++ b/gas/testsuite/gas/i386/x86-64-cmpccxadd.s @@ -1,6 +1,5 @@ # Check 64bit CMPccXADD instructions - .allow_index_reg .text _start: cmpbexadd %eax, %ecx, 0x10000000(%rbp, %r14, 8) #CMPCCXADD diff --git a/gas/testsuite/gas/i386/x86-64-enqcmd-inval.l b/gas/testsuite/gas/i386/x86-64-enqcmd-inval.l index be8d48f..ee755ba 100644 --- a/gas/testsuite/gas/i386/x86-64-enqcmd-inval.l +++ b/gas/testsuite/gas/i386/x86-64-enqcmd-inval.l @@ -1,13 +1,13 @@ .* Assembler messages: +.*5: Error: invalid register operand size for `enqcmd' .*6: Error: invalid register operand size for `enqcmd' .*7: Error: invalid register operand size for `enqcmd' .*8: Error: invalid register operand size for `enqcmd' -.*9: Error: invalid register operand size for `enqcmd' +.*9: Error: invalid register operand size for `enqcmds' .*10: Error: invalid register operand size for `enqcmds' .*11: Error: invalid register operand size for `enqcmds' .*12: Error: invalid register operand size for `enqcmds' -.*13: Error: invalid register operand size for `enqcmds' +.*15: Error: invalid register operand size for `enqcmd' .*16: Error: invalid register operand size for `enqcmd' -.*17: Error: invalid register operand size for `enqcmd' +.*17: Error: invalid register operand size for `enqcmds' .*18: Error: invalid register operand size for `enqcmds' -.*19: Error: invalid register operand size for `enqcmds' diff --git a/gas/testsuite/gas/i386/x86-64-enqcmd-inval.s b/gas/testsuite/gas/i386/x86-64-enqcmd-inval.s index 6dd5c9c..339455e 100644 --- a/gas/testsuite/gas/i386/x86-64-enqcmd-inval.s +++ b/gas/testsuite/gas/i386/x86-64-enqcmd-inval.s @@ -1,6 +1,5 @@ # Check error for ENQCMD[S] 64-bit instructions - .allow_index_reg .text _start: enqcmd (%esi),%rax diff --git a/gas/testsuite/gas/i386/x86-64-enqcmd.s b/gas/testsuite/gas/i386/x86-64-enqcmd.s index 9abbdae..77535cd 100644 --- a/gas/testsuite/gas/i386/x86-64-enqcmd.s +++ b/gas/testsuite/gas/i386/x86-64-enqcmd.s @@ -1,6 +1,5 @@ # Check ENQCMD[S] 64-bit instructions - .allow_index_reg .text _start: enqcmd (%rcx),%rax diff --git a/gas/testsuite/gas/i386/x86-64-evex-lig-2.s b/gas/testsuite/gas/i386/x86-64-evex-lig-2.s index 9c64f6b..830c4d8 100644 --- a/gas/testsuite/gas/i386/x86-64-evex-lig-2.s +++ b/gas/testsuite/gas/i386/x86-64-evex-lig-2.s @@ -1,6 +1,5 @@ # Check EVEX non-LIG instructions with with -mevexlig=256 - .allow_index_reg .text _start: {evex} vmovd %xmm4,(%rcx) diff --git a/gas/testsuite/gas/i386/x86-64-evex-lig.s b/gas/testsuite/gas/i386/x86-64-evex-lig.s index 28e6607..05b80fd 100644 --- a/gas/testsuite/gas/i386/x86-64-evex-lig.s +++ b/gas/testsuite/gas/i386/x86-64-evex-lig.s @@ -1,6 +1,5 @@ # Check EVEX LIG instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-evex-wig.s b/gas/testsuite/gas/i386/x86-64-evex-wig.s index 8dee163..e80d02f 100644 --- a/gas/testsuite/gas/i386/x86-64-evex-wig.s +++ b/gas/testsuite/gas/i386/x86-64-evex-wig.s @@ -1,6 +1,5 @@ # Check EVEX WIG instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-evex-wig2.s b/gas/testsuite/gas/i386/x86-64-evex-wig2.s index 5fb1782..b3a0507 100644 --- a/gas/testsuite/gas/i386/x86-64-evex-wig2.s +++ b/gas/testsuite/gas/i386/x86-64-evex-wig2.s @@ -1,6 +1,5 @@ # Check non-WIG EVEX instructions with -mevexwig=1 - .allow_index_reg .text _start: vcvtsi2ss %eax, {rd-sae}, %xmm25, %xmm6 diff --git a/gas/testsuite/gas/i386/x86-64-fma-scalar.s b/gas/testsuite/gas/i386/x86-64-fma-scalar.s index 422ce77..40625f8 100644 --- a/gas/testsuite/gas/i386/x86-64-fma-scalar.s +++ b/gas/testsuite/gas/i386/x86-64-fma-scalar.s @@ -1,6 +1,5 @@ # Check 64bit AVX scalar instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-fma.s b/gas/testsuite/gas/i386/x86-64-fma.s index a7d1e7a..410bf51 100644 --- a/gas/testsuite/gas/i386/x86-64-fma.s +++ b/gas/testsuite/gas/i386/x86-64-fma.s @@ -1,6 +1,5 @@ # Check 64bit FMA instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-fma4.s b/gas/testsuite/gas/i386/x86-64-fma4.s index df6e3d3..028ac97 100644 --- a/gas/testsuite/gas/i386/x86-64-fma4.s +++ b/gas/testsuite/gas/i386/x86-64-fma4.s @@ -1,6 +1,5 @@ # Check 64bit FMA4 instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-fred.s b/gas/testsuite/gas/i386/x86-64-fred.s index 0e5d3d3..c4cce20 100644 --- a/gas/testsuite/gas/i386/x86-64-fred.s +++ b/gas/testsuite/gas/i386/x86-64-fred.s @@ -1,6 +1,5 @@ # Check 64bit FRED instructions - .allow_index_reg .text _start: erets #FRED diff --git a/gas/testsuite/gas/i386/x86-64-gfni.s b/gas/testsuite/gas/i386/x86-64-gfni.s index 618e649..882043f 100644 --- a/gas/testsuite/gas/i386/x86-64-gfni.s +++ b/gas/testsuite/gas/i386/x86-64-gfni.s @@ -1,6 +1,5 @@ # Check 64bit GFNI instructions - .allow_index_reg .text _start: gf2p8mulb %xmm4, %xmm5 diff --git a/gas/testsuite/gas/i386/x86-64-hle.s b/gas/testsuite/gas/i386/x86-64-hle.s index 035c4ac..8a78ea4 100644 --- a/gas/testsuite/gas/i386/x86-64-hle.s +++ b/gas/testsuite/gas/i386/x86-64-hle.s @@ -1,6 +1,5 @@ # Check 64bit HLE instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-lkgs.s b/gas/testsuite/gas/i386/x86-64-lkgs.s index 546bbcc..a02d3a7 100644 --- a/gas/testsuite/gas/i386/x86-64-lkgs.s +++ b/gas/testsuite/gas/i386/x86-64-lkgs.s @@ -1,6 +1,5 @@ # Check 64bit LKGS instructions - .allow_index_reg .text _start: lkgs %r12 #LKGS diff --git a/gas/testsuite/gas/i386/x86-64-lwp.s b/gas/testsuite/gas/i386/x86-64-lwp.s index f016623..7c15698 100644 --- a/gas/testsuite/gas/i386/x86-64-lwp.s +++ b/gas/testsuite/gas/i386/x86-64-lwp.s @@ -1,6 +1,5 @@ # Check 64bit LWP instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-movdir.s b/gas/testsuite/gas/i386/x86-64-movdir.s index 79f2977..2b1ec92 100644 --- a/gas/testsuite/gas/i386/x86-64-movdir.s +++ b/gas/testsuite/gas/i386/x86-64-movdir.s @@ -1,6 +1,5 @@ # Check MOVDIR[I,64B] 64-bit instructions - .allow_index_reg .text _start: movdiri %rax, (%rcx) diff --git a/gas/testsuite/gas/i386/x86-64-movdir64b-reg.l b/gas/testsuite/gas/i386/x86-64-movdir64b-reg.l index 2f0e13d..e54ac2b 100644 --- a/gas/testsuite/gas/i386/x86-64-movdir64b-reg.l +++ b/gas/testsuite/gas/i386/x86-64-movdir64b-reg.l @@ -1,7 +1,7 @@ .*: Assembler messages: +.*:5: Error: invalid register operand size for `movdir64b' .*:6: Error: invalid register operand size for `movdir64b' .*:7: Error: invalid register operand size for `movdir64b' .*:8: Error: invalid register operand size for `movdir64b' -.*:9: Error: invalid register operand size for `movdir64b' +.*:11: Error: invalid register operand size for `movdir64b' .*:12: Error: invalid register operand size for `movdir64b' -.*:13: Error: invalid register operand size for `movdir64b' diff --git a/gas/testsuite/gas/i386/x86-64-movdir64b-reg.s b/gas/testsuite/gas/i386/x86-64-movdir64b-reg.s index 8697a87..3cc3281 100644 --- a/gas/testsuite/gas/i386/x86-64-movdir64b-reg.s +++ b/gas/testsuite/gas/i386/x86-64-movdir64b-reg.s @@ -1,6 +1,5 @@ # Check error for MOVDIR64B 32-bit instructions - .allow_index_reg .text _start: movdir64b (%esi),%rax diff --git a/gas/testsuite/gas/i386/x86-64-mpx-inval-1.l b/gas/testsuite/gas/i386/x86-64-mpx-inval-1.l index 361de10..c83ea76 100644 --- a/gas/testsuite/gas/i386/x86-64-mpx-inval-1.l +++ b/gas/testsuite/gas/i386/x86-64-mpx-inval-1.l @@ -1,34 +1,33 @@ .*: Assembler messages: +.*:3: Error: expecting valid branch instruction after `bnd' .*:4: Error: expecting valid branch instruction after `bnd' .*:5: Error: expecting valid branch instruction after `bnd' .*:6: Error: expecting valid branch instruction after `bnd' -.*:7: Error: expecting valid branch instruction after `bnd' +.*:9: Error: expecting valid branch instruction after `bnd' .*:10: Error: expecting valid branch instruction after `bnd' .*:11: Error: expecting valid branch instruction after `bnd' .*:12: Error: expecting valid branch instruction after `bnd' -.*:13: Error: expecting valid branch instruction after `bnd' GAS LISTING .* [ ]*1[ ]+\# MPX instructions -[ ]*2[ ]+\.allow_index_reg -[ ]*3[ ]+\.text -[ ]*4[ ]+\?\?\?\? F24801C3 bnd add %rax, %rbx \# Bad +[ ]*2[ ]+\.text +[ ]*3[ ]+\?\?\?\? F24801C3 bnd add %rax, %rbx \# Bad .* Error: expecting valid branch instruction after `bnd' -[ ]*5[ ]+\?\?\?\? 6766F2AB bnd stosw \(%edi\) \# Bad +[ ]*4[ ]+\?\?\?\? 6766F2AB bnd stosw \(%edi\) \# Bad .* Error: expecting valid branch instruction after `bnd' -[ ]*6[ ]+\?\?\?\? F2E2(00|0A) bnd loop foo +[ ]*5[ ]+\?\?\?\? F2E2(00|0A) bnd loop foo .* Error: expecting valid branch instruction after `bnd' -[ ]*7[ ]+\?\?\?\? F2E3(00|0D) bnd jrcxz foo +[ ]*6[ ]+\?\?\?\? F2E3(00|0D) bnd jrcxz foo .* Error: expecting valid branch instruction after `bnd' -[ ]*8[ ]+ -[ ]*9[ ]+\.intel_syntax noprefix -[ ]*10[ ]+\?\?\?\? F24801C3 bnd add rbx, rax \# Bad +[ ]*7[ ]+ +[ ]*8[ ]+\.intel_syntax noprefix +[ ]*9[ ]+\?\?\?\? F24801C3 bnd add rbx, rax \# Bad .* Error: expecting valid branch instruction after `bnd' -[ ]*11[ ]+\?\?\?\? 6766F2AB bnd stos WORD PTR \[edi] \# Bad +[ ]*10[ ]+\?\?\?\? 6766F2AB bnd stos WORD PTR \[edi] \# Bad .* Error: expecting valid branch instruction after `bnd' -[ ]*12[ ]+\?\?\?\? F2E2(00|18) bnd loop foo +[ ]*11[ ]+\?\?\?\? F2E2(00|18) bnd loop foo .* Error: expecting valid branch instruction after `bnd' -[ ]*13[ ]+\?\?\?\? F2E3(00|1B)( |90) bnd jrcxz foo +[ ]*12[ ]+\?\?\?\? F2E3(00|1B)( |90) bnd jrcxz foo .* Error: expecting valid branch instruction after `bnd' #pass diff --git a/gas/testsuite/gas/i386/x86-64-mpx-inval-1.s b/gas/testsuite/gas/i386/x86-64-mpx-inval-1.s index afa04fc..2cee52f 100644 --- a/gas/testsuite/gas/i386/x86-64-mpx-inval-1.s +++ b/gas/testsuite/gas/i386/x86-64-mpx-inval-1.s @@ -1,5 +1,4 @@ # MPX instructions - .allow_index_reg .text bnd add %rax, %rbx # Bad bnd stosw (%edi) # Bad diff --git a/gas/testsuite/gas/i386/x86-64-mpx-inval-2.l b/gas/testsuite/gas/i386/x86-64-mpx-inval-2.l index 0fc4e31..d830387 100644 --- a/gas/testsuite/gas/i386/x86-64-mpx-inval-2.l +++ b/gas/testsuite/gas/i386/x86-64-mpx-inval-2.l @@ -1,74 +1,73 @@ .*: Assembler messages: +.*:5: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:6: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:7: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:8: Error: `\(%rip\)' cannot be used here -.*:9: Error: .* +.*:7: Error: `\(%rip\)' cannot be used here +.*:8: Error: .* +.*:11: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:12: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:13: Error: 32-bit address isn't allowed in 64-bit MPX instructions. +.*:14: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:15: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:16: Error: 32-bit address isn't allowed in 64-bit MPX instructions. +.*:18: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:19: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:20: Error: 32-bit address isn't allowed in 64-bit MPX instructions. +.*:20: Error: .* `bndcl' .*:21: Error: .* `bndcl' -.*:22: Error: .* `bndcl' +.*:24: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:25: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:26: Error: 32-bit address isn't allowed in 64-bit MPX instructions. +.*:26: Error: .* `bndcu' .*:27: Error: .* `bndcu' -.*:28: Error: .* `bndcu' +.*:30: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:31: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:32: Error: 32-bit address isn't allowed in 64-bit MPX instructions. +.*:32: Error: .* `bndcn' .*:33: Error: .* `bndcn' -.*:34: Error: .* `bndcn' +.*:36: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:37: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:38: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:39: Warning: register scaling is being ignored here -.*:40: Error: `base\(%rip\)' cannot be used here -.*:41: Error: .* +.*:38: Warning: register scaling is being ignored here +.*:39: Error: `base\(%rip\)' cannot be used here +.*:40: Error: .* +.*:43: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:44: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:45: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:46: Warning: register scaling is being ignored here -.*:47: Error: `base\(%rip\)' cannot be used here -.*:48: Error: .* +.*:45: Warning: register scaling is being ignored here +.*:46: Error: `base\(%rip\)' cannot be used here +.*:47: Error: .* +.*:50: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:51: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:52: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:53: Error: `\[rip\]' cannot be used here -.*:54: Error: .* -.*:55: Error: `\[rax\+rsp\]' is not a valid base/index expression +.*:52: Error: `\[rip\]' cannot be used here +.*:53: Error: .* +.*:54: Error: `\[rax\+rsp\]' is not a valid base/index expression +.*:57: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:58: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:59: Error: 32-bit address isn't allowed in 64-bit MPX instructions. +.*:60: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:61: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:62: Error: 32-bit address isn't allowed in 64-bit MPX instructions. +.*:64: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:65: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:66: Error: 32-bit address isn't allowed in 64-bit MPX instructions. +.*:66: Error: .* `bndcl' .*:67: Error: .* `bndcl' -.*:68: Error: .* `bndcl' +.*:70: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:71: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:72: Error: 32-bit address isn't allowed in 64-bit MPX instructions. +.*:72: Error: .* `bndcu' .*:73: Error: .* `bndcu' -.*:74: Error: .* `bndcu' +.*:76: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:77: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:78: Error: 32-bit address isn't allowed in 64-bit MPX instructions. +.*:78: Error: .* `bndcn' .*:79: Error: .* `bndcn' -.*:80: Error: .* `bndcn' +.*:82: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:83: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:84: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:85: Warning: register scaling is being ignored here -.*:86: Error: `\[rip\+base\]' cannot be used here -.*:87: Error: .* -.*:88: Error: `\[rax\+rsp\]' is not a valid base/index expression +.*:84: Warning: register scaling is being ignored here +.*:85: Error: `\[rip\+base\]' cannot be used here +.*:86: Error: .* +.*:87: Error: `\[rax\+rsp\]' is not a valid base/index expression +.*:90: Error: 32-bit address isn't allowed in 64-bit MPX instructions. .*:91: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:92: Error: 32-bit address isn't allowed in 64-bit MPX instructions. -.*:93: Warning: register scaling is being ignored here -.*:94: Error: `\[rip\+base\]' cannot be used here -.*:95: Error: .* -.*:96: Error: `\[rax\+rsp\]' is not a valid base/index expression +.*:92: Warning: register scaling is being ignored here +.*:93: Error: `\[rip\+base\]' cannot be used here +.*:94: Error: .* +.*:95: Error: `\[rax\+rsp\]' is not a valid base/index expression GAS LISTING .* [ ]*1[ ]+\# MPX instructions -[ ]*2[ ]+\.allow_index_reg -[ ]*3[ ]+\.text -[ ]*4[ ]+ +[ ]*2[ ]+\.text +[ ]*3[ ]+ [ ]*[1-9][0-9]*[ ]+\#\#\# bndmk [ ]*[1-9][0-9]*[ ]+\?\?\?\? 67F30F1B bndmk \(%eax\), %bnd1 .* Error: 32-bit address isn't allowed in 64-bit MPX instructions\. @@ -122,10 +121,10 @@ GAS LISTING .* .* Error: 32-bit address isn't allowed in 64-bit MPX instructions\. [ ]*[1-9][0-9]*[ ]+4C0103 [ ]*[1-9][0-9]*[ ]+bndcn %ecx, %bnd1 +[ ]*[1-9][0-9]*[ ]+bndcn %cx, %bnd1 GAS LISTING .* -[ ]*[1-9][0-9]*[ ]+bndcn %cx, %bnd1 [ ]*[1-9][0-9]*[ ]+ [ ]*[1-9][0-9]*[ ]+\#\#\# bndstx [ ]*[1-9][0-9]*[ ]+\?\?\?\? 670F1B44 bndstx %bnd0, 0x3\(%eax,%ebx,1\) @@ -182,10 +181,10 @@ GAS LISTING .* [ ]*[1-9][0-9]*[ ]+\#\#\# bndcl [ ]*[1-9][0-9]*[ ]+\?\?\?\? 67F30F1A bndcl bnd1, \[eax\] .* Error: 32-bit address isn't allowed in 64-bit MPX instructions\. +[ ]*[1-9][0-9]*[ ]+08 GAS LISTING .* -[ ]*[1-9][0-9]*[ ]+08 [ ]*[1-9][0-9]*[ ]+\?\?\?\? 67F30F1A bndcl bnd1, \[edx\+1\*eax\+0x3\] .* Error: 32-bit address isn't allowed in 64-bit MPX instructions\. [ ]*[1-9][0-9]*[ ]+4C0203 diff --git a/gas/testsuite/gas/i386/x86-64-mpx-inval-2.s b/gas/testsuite/gas/i386/x86-64-mpx-inval-2.s index dc555eb..6297c80 100644 --- a/gas/testsuite/gas/i386/x86-64-mpx-inval-2.s +++ b/gas/testsuite/gas/i386/x86-64-mpx-inval-2.s @@ -1,5 +1,4 @@ # MPX instructions - .allow_index_reg .text ### bndmk diff --git a/gas/testsuite/gas/i386/x86-64-mpx.s b/gas/testsuite/gas/i386/x86-64-mpx.s index 2d328ac..452adca 100644 --- a/gas/testsuite/gas/i386/x86-64-mpx.s +++ b/gas/testsuite/gas/i386/x86-64-mpx.s @@ -1,5 +1,4 @@ # MPX instructions - .allow_index_reg .text start: ### bndmk diff --git a/gas/testsuite/gas/i386/x86-64-notrack.s b/gas/testsuite/gas/i386/x86-64-notrack.s index 2681c2d..0146bbe 100644 --- a/gas/testsuite/gas/i386/x86-64-notrack.s +++ b/gas/testsuite/gas/i386/x86-64-notrack.s @@ -1,6 +1,5 @@ # Check 64bit NOTRACK prefix - .allow_index_reg .text _start: notrack call *%rax diff --git a/gas/testsuite/gas/i386/x86-64-notrackbad.l b/gas/testsuite/gas/i386/x86-64-notrackbad.l index 173b3d1..bf54666 100644 --- a/gas/testsuite/gas/i386/x86-64-notrackbad.l +++ b/gas/testsuite/gas/i386/x86-64-notrackbad.l @@ -1,31 +1,30 @@ .*: Assembler messages: +.*:5: Error: expecting indirect branch instruction after `notrack' +.*:5: Warning: skipping prefixes on `call' .*:6: Error: expecting indirect branch instruction after `notrack' -.*:6: Warning: skipping prefixes on `call' -.*:7: Error: expecting indirect branch instruction after `notrack' +.*:8: Error: same type of prefix used twice .*:9: Error: same type of prefix used twice -.*:10: Error: same type of prefix used twice +.*:12: Error: same type of prefix used twice .*:13: Error: same type of prefix used twice -.*:14: Error: same type of prefix used twice GAS LISTING .* [ ]*1[ ]+\# Check 64bit unsupported NOTRACK prefix [ ]*2[ ]+ -[ ]*3[ ]+\.allow_index_reg -[ ]*4[ ]+\.text -[ ]*5[ ]+_start: -[ ]*6[ ]+\?\?\?\? [0-9A-F]* notrack call foo +[ ]*3[ ]+\.text +[ ]*4[ ]+_start: +[ ]*5[ ]+\?\?\?\? [0-9A-F]* notrack call foo \*\*\*\* Error: expecting indirect branch instruction after `notrack' \*\*\*\* Warning: skipping prefixes on `call' -[ ]*6[ ]+[0-9A-F]* -[ ]*7[ ]+\?\?\?\? [0-9A-F]* notrack jmp foo +[ ]*5[ ]+[0-9A-F]* +[ ]*6[ ]+\?\?\?\? [0-9A-F]* notrack jmp foo \*\*\*\* Error: expecting indirect branch instruction after `notrack' -[ ]*7[ ]+[0-9A-F]* -[ ]*8[ ]+ -[ ]*9[ ]+fs notrack call \*%rax -[ ]*10[ ]+notrack fs call \*%rax -[ ]*11[ ]+ -[ ]*12[ ]+\.intel_syntax noprefix -[ ]*13[ ]+fs notrack call rax -[ ]*14[ ]+notrack fs call rax +[ ]*6[ ]+[0-9A-F]* +[ ]*7[ ]+ +[ ]*8[ ]+fs notrack call \*%rax +[ ]*9[ ]+notrack fs call \*%rax +[ ]*10[ ]+ +[ ]*11[ ]+\.intel_syntax noprefix +[ ]*12[ ]+fs notrack call rax +[ ]*13[ ]+notrack fs call rax #pass diff --git a/gas/testsuite/gas/i386/x86-64-notrackbad.s b/gas/testsuite/gas/i386/x86-64-notrackbad.s index 4f49328..bc781aa 100644 --- a/gas/testsuite/gas/i386/x86-64-notrackbad.s +++ b/gas/testsuite/gas/i386/x86-64-notrackbad.s @@ -1,6 +1,5 @@ # Check 64bit unsupported NOTRACK prefix - .allow_index_reg .text _start: notrack call foo diff --git a/gas/testsuite/gas/i386/x86-64-optimize-1.s b/gas/testsuite/gas/i386/x86-64-optimize-1.s index 8042155..ed48412 100644 --- a/gas/testsuite/gas/i386/x86-64-optimize-1.s +++ b/gas/testsuite/gas/i386/x86-64-optimize-1.s @@ -1,6 +1,5 @@ # Check 64bit instructions with optimized encoding - .allow_index_reg .text _start: andq $foo, %rax diff --git a/gas/testsuite/gas/i386/x86-64-optimize-2.s b/gas/testsuite/gas/i386/x86-64-optimize-2.s index 3d16a78..1d1b8e1 100644 --- a/gas/testsuite/gas/i386/x86-64-optimize-2.s +++ b/gas/testsuite/gas/i386/x86-64-optimize-2.s @@ -1,6 +1,5 @@ # Check 64bit instructions with optimized encoding - .allow_index_reg .text _start: vandnpd %zmm1, %zmm1, %zmm15{%k7} diff --git a/gas/testsuite/gas/i386/x86-64-optimize-3.s b/gas/testsuite/gas/i386/x86-64-optimize-3.s index bab99cf..843c3e4 100644 --- a/gas/testsuite/gas/i386/x86-64-optimize-3.s +++ b/gas/testsuite/gas/i386/x86-64-optimize-3.s @@ -1,6 +1,5 @@ # Check 64bit instructions with optimized encoding - .allow_index_reg .text _start: testq $0x7f, %rax diff --git a/gas/testsuite/gas/i386/x86-64-optimize-4.s b/gas/testsuite/gas/i386/x86-64-optimize-4.s index 97264e2..988d9ec 100644 --- a/gas/testsuite/gas/i386/x86-64-optimize-4.s +++ b/gas/testsuite/gas/i386/x86-64-optimize-4.s @@ -1,6 +1,5 @@ # Check 64bit instructions with optimized encoding - .allow_index_reg .text _start: {nooptimize} testl $0x7f, %eax diff --git a/gas/testsuite/gas/i386/x86-64-optimize-7.s b/gas/testsuite/gas/i386/x86-64-optimize-7.s index 0112f47..dc6bb6b 100644 --- a/gas/testsuite/gas/i386/x86-64-optimize-7.s +++ b/gas/testsuite/gas/i386/x86-64-optimize-7.s @@ -1,6 +1,5 @@ # Check 64bit instructions with optimized encoding - .allow_index_reg .text _start: vandnpd %zmm1, %zmm1, %zmm15{%k7} diff --git a/gas/testsuite/gas/i386/x86-64-optimize-7a.l b/gas/testsuite/gas/i386/x86-64-optimize-7a.l index a0fd01d..77bb769 100644 --- a/gas/testsuite/gas/i386/x86-64-optimize-7a.l +++ b/gas/testsuite/gas/i386/x86-64-optimize-7a.l @@ -1,52 +1,52 @@ .*: Assembler messages: +.*:5: Error: .* .*:6: Error: .* .*:7: Error: .* .*:8: Error: .* -.*:9: Error: .* +.*:10: Error: .* .*:11: Error: .* .*:12: Error: .* .*:13: Error: .* -.*:14: Error: .* +.*:15: Error: .* .*:16: Error: .* .*:17: Error: .* .*:18: Error: .* -.*:19: Error: .* +.*:20: Error: .* .*:21: Error: .* .*:22: Error: .* .*:23: Error: .* -.*:24: Error: .* +.*:25: Error: .* .*:26: Error: .* .*:27: Error: .* .*:28: Error: .* -.*:29: Error: .* +.*:30: Error: .* .*:31: Error: .* .*:32: Error: .* .*:33: Error: .* -.*:34: Error: .* +.*:35: Error: .* .*:36: Error: .* .*:37: Error: .* .*:38: Error: .* -.*:39: Error: .* +.*:40: Error: .* .*:41: Error: .* .*:42: Error: .* .*:43: Error: .* -.*:44: Error: .* +.*:45: Error: .* .*:46: Error: .* .*:47: Error: .* .*:48: Error: .* -.*:49: Error: .* +.*:50: Error: .* .*:51: Error: .* .*:52: Error: .* .*:53: Error: .* -.*:54: Error: .* +.*:55: Error: .* .*:56: Error: .* .*:57: Error: .* .*:58: Error: .* -.*:59: Error: .* +.*:60: Error: .* .*:61: Error: .* .*:62: Error: .* .*:63: Error: .* -.*:64: Error: .* GAS LISTING .* @@ -55,69 +55,68 @@ GAS LISTING .* [ ]*3[ ]+\.include "x86-64-optimize-7\.s" [ ]*1[ ]+\# Check 64bit instructions with optimized encoding [ ]*2[ ]+ -[ ]*3[ ]+\.allow_index_reg -[ ]*4[ ]+\.text -[ ]*5[ ]+_start: -[ ]*6[ ]+vandnpd %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*7[ ]+vandnpd %zmm1, %zmm1, %zmm15 -[ ]*8[ ]+vandnpd %zmm1, %zmm1, %zmm16 -[ ]*9[ ]+vandnpd %zmm17, %zmm17, %zmm1 -[ ]*10[ ]+ -[ ]*11[ ]+vandnps %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*12[ ]+vandnps %zmm1, %zmm1, %zmm15 -[ ]*13[ ]+vandnps %zmm1, %zmm1, %zmm16 -[ ]*14[ ]+vandnps %zmm17, %zmm17, %zmm1 -[ ]*15[ ]+ -[ ]*16[ ]+vpandnd %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*17[ ]+vpandnd %zmm1, %zmm1, %zmm15 -[ ]*18[ ]+vpandnd %zmm1, %zmm1, %zmm16 -[ ]*19[ ]+vpandnd %zmm17, %zmm17, %zmm1 -[ ]*20[ ]+ -[ ]*21[ ]+vpandnq %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*22[ ]+vpandnq %zmm1, %zmm1, %zmm15 -[ ]*23[ ]+vpandnq %zmm1, %zmm1, %zmm16 -[ ]*24[ ]+vpandnq %zmm17, %zmm17, %zmm1 -[ ]*25[ ]+ -[ ]*26[ ]+vxorpd %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*27[ ]+vxorpd %zmm1, %zmm1, %zmm15 -[ ]*28[ ]+vxorpd %zmm1, %zmm1, %zmm16 -[ ]*29[ ]+vxorpd %zmm17, %zmm17, %zmm1 -[ ]*30[ ]+ -[ ]*31[ ]+vxorps %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*32[ ]+vxorps %zmm1, %zmm1, %zmm15 -[ ]*33[ ]+vxorps %zmm1, %zmm1, %zmm16 -[ ]*34[ ]+vxorps %zmm17, %zmm17, %zmm1 -[ ]*35[ ]+ -[ ]*36[ ]+vpxord %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*37[ ]+vpxord %zmm1, %zmm1, %zmm15 -[ ]*38[ ]+vpxord %zmm1, %zmm1, %zmm16 -[ ]*39[ ]+vpxord %zmm17, %zmm17, %zmm1 -[ ]*40[ ]+ -[ ]*41[ ]+vpxorq %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*42[ ]+vpxorq %zmm1, %zmm1, %zmm15 -[ ]*43[ ]+vpxorq %zmm1, %zmm1, %zmm16 -[ ]*44[ ]+vpxorq %zmm17, %zmm17, %zmm1 -[ ]*45[ ]+ -[ ]*46[ ]+vpsubb %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*47[ ]+vpsubb %zmm1, %zmm1, %zmm15 -[ ]*48[ ]+vpsubb %zmm1, %zmm1, %zmm16 -[ ]*49[ ]+vpsubb %zmm17, %zmm17, %zmm1 -[ ]*50[ ]+ -[ ]*51[ ]+vpsubw %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*52[ ]+vpsubw %zmm1, %zmm1, %zmm15 -[ ]*53[ ]+vpsubw %zmm1, %zmm1, %zmm16 -[ ]*54[ ]+vpsubw %zmm17, %zmm17, %zmm1 +[ ]*3[ ]+\.text +[ ]*4[ ]+_start: +[ ]*5[ ]+vandnpd %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*6[ ]+vandnpd %zmm1, %zmm1, %zmm15 +[ ]*7[ ]+vandnpd %zmm1, %zmm1, %zmm16 +[ ]*8[ ]+vandnpd %zmm17, %zmm17, %zmm1 +[ ]*9[ ]+ +[ ]*10[ ]+vandnps %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*11[ ]+vandnps %zmm1, %zmm1, %zmm15 +[ ]*12[ ]+vandnps %zmm1, %zmm1, %zmm16 +[ ]*13[ ]+vandnps %zmm17, %zmm17, %zmm1 +[ ]*14[ ]+ +[ ]*15[ ]+vpandnd %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*16[ ]+vpandnd %zmm1, %zmm1, %zmm15 +[ ]*17[ ]+vpandnd %zmm1, %zmm1, %zmm16 +[ ]*18[ ]+vpandnd %zmm17, %zmm17, %zmm1 +[ ]*19[ ]+ +[ ]*20[ ]+vpandnq %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*21[ ]+vpandnq %zmm1, %zmm1, %zmm15 +[ ]*22[ ]+vpandnq %zmm1, %zmm1, %zmm16 +[ ]*23[ ]+vpandnq %zmm17, %zmm17, %zmm1 +[ ]*24[ ]+ +[ ]*25[ ]+vxorpd %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*26[ ]+vxorpd %zmm1, %zmm1, %zmm15 +[ ]*27[ ]+vxorpd %zmm1, %zmm1, %zmm16 +[ ]*28[ ]+vxorpd %zmm17, %zmm17, %zmm1 +[ ]*29[ ]+ +[ ]*30[ ]+vxorps %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*31[ ]+vxorps %zmm1, %zmm1, %zmm15 +[ ]*32[ ]+vxorps %zmm1, %zmm1, %zmm16 +[ ]*33[ ]+vxorps %zmm17, %zmm17, %zmm1 +[ ]*34[ ]+ +[ ]*35[ ]+vpxord %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*36[ ]+vpxord %zmm1, %zmm1, %zmm15 +[ ]*37[ ]+vpxord %zmm1, %zmm1, %zmm16 +[ ]*38[ ]+vpxord %zmm17, %zmm17, %zmm1 +[ ]*39[ ]+ +[ ]*40[ ]+vpxorq %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*41[ ]+vpxorq %zmm1, %zmm1, %zmm15 +[ ]*42[ ]+vpxorq %zmm1, %zmm1, %zmm16 +[ ]*43[ ]+vpxorq %zmm17, %zmm17, %zmm1 +[ ]*44[ ]+ +[ ]*45[ ]+vpsubb %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*46[ ]+vpsubb %zmm1, %zmm1, %zmm15 +[ ]*47[ ]+vpsubb %zmm1, %zmm1, %zmm16 +[ ]*48[ ]+vpsubb %zmm17, %zmm17, %zmm1 +[ ]*49[ ]+ +[ ]*50[ ]+vpsubw %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*51[ ]+vpsubw %zmm1, %zmm1, %zmm15 +[ ]*52[ ]+vpsubw %zmm1, %zmm1, %zmm16 +[ ]*53[ ]+vpsubw %zmm17, %zmm17, %zmm1 +[ ]*54[ ]+ GAS LISTING .* -[ ]*55[ ]+ -[ ]*56[ ]+vpsubd %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*57[ ]+vpsubd %zmm1, %zmm1, %zmm15 -[ ]*58[ ]+vpsubd %zmm1, %zmm1, %zmm16 -[ ]*59[ ]+vpsubd %zmm17, %zmm17, %zmm1 -[ ]*60[ ]+ -[ ]*61[ ]+vpsubq %zmm1, %zmm1, %zmm15\{%k7\} -[ ]*62[ ]+vpsubq %zmm1, %zmm1, %zmm15 -[ ]*63[ ]+vpsubq %zmm1, %zmm1, %zmm16 -[ ]*64[ ]+vpsubq %zmm17, %zmm17, %zmm1 +[ ]*55[ ]+vpsubd %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*56[ ]+vpsubd %zmm1, %zmm1, %zmm15 +[ ]*57[ ]+vpsubd %zmm1, %zmm1, %zmm16 +[ ]*58[ ]+vpsubd %zmm17, %zmm17, %zmm1 +[ ]*59[ ]+ +[ ]*60[ ]+vpsubq %zmm1, %zmm1, %zmm15\{%k7\} +[ ]*61[ ]+vpsubq %zmm1, %zmm1, %zmm15 +[ ]*62[ ]+vpsubq %zmm1, %zmm1, %zmm16 +[ ]*63[ ]+vpsubq %zmm17, %zmm17, %zmm1 #pass diff --git a/gas/testsuite/gas/i386/x86-64-optimize-8.l b/gas/testsuite/gas/i386/x86-64-optimize-8.l index c08b182..7f5727e 100644 --- a/gas/testsuite/gas/i386/x86-64-optimize-8.l +++ b/gas/testsuite/gas/i386/x86-64-optimize-8.l @@ -1,12 +1,11 @@ .*: Assembler messages: -.*:6: Error: .* +.*:5: Error: .* GAS LISTING .* [ ]*1[ ]+\# Check 64bit instructions with optimized encoding [ ]*2[ ]+ -[ ]*3[ ]+\.allow_index_reg -[ ]*4[ ]+\.text -[ ]*5[ ]+_start: -[ ]*6[ ]+vmovdqa32 %ymm1, %ymm2 +[ ]*3[ ]+\.text +[ ]*4[ ]+_start: +[ ]*5[ ]+vmovdqa32 %ymm1, %ymm2 #pass diff --git a/gas/testsuite/gas/i386/x86-64-optimize-8.s b/gas/testsuite/gas/i386/x86-64-optimize-8.s index 4b9865a..ca92520 100644 --- a/gas/testsuite/gas/i386/x86-64-optimize-8.s +++ b/gas/testsuite/gas/i386/x86-64-optimize-8.s @@ -1,6 +1,5 @@ # Check 64bit instructions with optimized encoding - .allow_index_reg .text _start: vmovdqa32 %ymm1, %ymm2 diff --git a/gas/testsuite/gas/i386/x86-64-opts.s b/gas/testsuite/gas/i386/x86-64-opts.s index 74c39f0..c1e7466 100644 --- a/gas/testsuite/gas/i386/x86-64-opts.s +++ b/gas/testsuite/gas/i386/x86-64-opts.s @@ -1,6 +1,5 @@ # Check 64bit instructions with encoding options - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-prefetchi-warn.s b/gas/testsuite/gas/i386/x86-64-prefetchi-warn.s index 330ff31..74935e8 100644 --- a/gas/testsuite/gas/i386/x86-64-prefetchi-warn.s +++ b/gas/testsuite/gas/i386/x86-64-prefetchi-warn.s @@ -1,6 +1,5 @@ # Check error for ICACHE-PREFETCH 64-bit instruction - .allow_index_reg .text _start: prefetchit0 0x12345678(%rax) diff --git a/gas/testsuite/gas/i386/x86-64-prefetchi.s b/gas/testsuite/gas/i386/x86-64-prefetchi.s index cc7c61e..4b8bfec 100644 --- a/gas/testsuite/gas/i386/x86-64-prefetchi.s +++ b/gas/testsuite/gas/i386/x86-64-prefetchi.s @@ -1,6 +1,5 @@ # Check 64bit PREFETCHI instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-prefetchwt1.s b/gas/testsuite/gas/i386/x86-64-prefetchwt1.s index ae63b42..4c037f9 100644 --- a/gas/testsuite/gas/i386/x86-64-prefetchwt1.s +++ b/gas/testsuite/gas/i386/x86-64-prefetchwt1.s @@ -1,6 +1,5 @@ -# Check 64bit AVX512PF instructions +# Check 64bit PREFETCHWT1 instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-raoint.s b/gas/testsuite/gas/i386/x86-64-raoint.s index 645bcfc..3954d7b 100644 --- a/gas/testsuite/gas/i386/x86-64-raoint.s +++ b/gas/testsuite/gas/i386/x86-64-raoint.s @@ -1,6 +1,5 @@ # Check 64bit RAO_INT instructions - .allow_index_reg .text _start: aadd %rdx, (%rax) #RAO-INT diff --git a/gas/testsuite/gas/i386/x86-64-sha.s b/gas/testsuite/gas/i386/x86-64-sha.s index cc4d60e..cee97c2 100644 --- a/gas/testsuite/gas/i386/x86-64-sha.s +++ b/gas/testsuite/gas/i386/x86-64-sha.s @@ -1,6 +1,5 @@ # Check SHA instructions - .allow_index_reg .text _start: sha1rnds4 $9, %xmm2, %xmm1 diff --git a/gas/testsuite/gas/i386/x86-64-sse2avx.s b/gas/testsuite/gas/i386/x86-64-sse2avx.s index dda8b7e..3452de9 100644 --- a/gas/testsuite/gas/i386/x86-64-sse2avx.s +++ b/gas/testsuite/gas/i386/x86-64-sse2avx.s @@ -1,6 +1,5 @@ # Check 64bit SSE to AVX instructions - .allow_index_reg .text _start: # Tests for op mem64 diff --git a/gas/testsuite/gas/i386/x86-64-tbm.s b/gas/testsuite/gas/i386/x86-64-tbm.s index 8937179..409e7e0 100644 --- a/gas/testsuite/gas/i386/x86-64-tbm.s +++ b/gas/testsuite/gas/i386/x86-64-tbm.s @@ -1,4 +1,3 @@ - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-vaes.s b/gas/testsuite/gas/i386/x86-64-vaes.s index 083e659..50e446f 100644 --- a/gas/testsuite/gas/i386/x86-64-vaes.s +++ b/gas/testsuite/gas/i386/x86-64-vaes.s @@ -1,6 +1,5 @@ # Check 64bit VAES instructions - .allow_index_reg .text _start: # Tests for op ymm/mem256, ymm, ymm diff --git a/gas/testsuite/gas/i386/x86-64-vex-lig-2.s b/gas/testsuite/gas/i386/x86-64-vex-lig-2.s index 26338fe..38ab864 100644 --- a/gas/testsuite/gas/i386/x86-64-vex-lig-2.s +++ b/gas/testsuite/gas/i386/x86-64-vex-lig-2.s @@ -1,6 +1,5 @@ # Check VEX non-LIG instructions with with -mavxscalar=256 - .allow_index_reg .text _start: vmovd %eax, %xmm0 diff --git a/gas/testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.l b/gas/testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.l index 4ee46a3..21d5ab0 100644 --- a/gas/testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.l +++ b/gas/testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.l @@ -1,13 +1,13 @@ .*: Assembler messages: +.*:5: Error: unsupported broadcast for `vp2intersectd' .*:6: Error: unsupported broadcast for `vp2intersectd' .*:7: Error: unsupported broadcast for `vp2intersectd' -.*:8: Error: unsupported broadcast for `vp2intersectd' +.*:8: Error: unsupported broadcast for `vp2intersectq' .*:9: Error: unsupported broadcast for `vp2intersectq' .*:10: Error: unsupported broadcast for `vp2intersectq' -.*:11: Error: unsupported broadcast for `vp2intersectq' +.*:13: Error: unsupported broadcast for `vp2intersectd' .*:14: Error: unsupported broadcast for `vp2intersectd' .*:15: Error: unsupported broadcast for `vp2intersectd' -.*:16: Error: unsupported broadcast for `vp2intersectd' +.*:16: Error: unsupported broadcast for `vp2intersectq' .*:17: Error: unsupported broadcast for `vp2intersectq' .*:18: Error: unsupported broadcast for `vp2intersectq' -.*:19: Error: unsupported broadcast for `vp2intersectq' diff --git a/gas/testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.s b/gas/testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.s index e5afe4c..a972190 100644 --- a/gas/testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.s +++ b/gas/testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.s @@ -1,6 +1,5 @@ # Check error for invalid {1toXX} and {2toXX} broadcasts. - .allow_index_reg .text _start: vp2intersectd 8(%rax){1to8}, %zmm2, %k3 diff --git a/gas/testsuite/gas/i386/x86-64-vpclmulqdq.s b/gas/testsuite/gas/i386/x86-64-vpclmulqdq.s index 6537302..0f08af6 100644 --- a/gas/testsuite/gas/i386/x86-64-vpclmulqdq.s +++ b/gas/testsuite/gas/i386/x86-64-vpclmulqdq.s @@ -1,6 +1,5 @@ +# Check 64bit VPCLMULQDQ instructions - - .allow_index_reg .text _start: vpclmulqdq $0xab, %ymm8, %ymm9, %ymm10 diff --git a/gas/testsuite/gas/i386/x86-64-xop.s b/gas/testsuite/gas/i386/x86-64-xop.s index f63bebe..a6af120 100644 --- a/gas/testsuite/gas/i386/x86-64-xop.s +++ b/gas/testsuite/gas/i386/x86-64-xop.s @@ -1,6 +1,5 @@ # Check XOP instructions (maxcombos=16, maxops=3, archbits=64, seed=1) - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-xsavec.s b/gas/testsuite/gas/i386/x86-64-xsavec.s index 7d446d0..d42b10a 100644 --- a/gas/testsuite/gas/i386/x86-64-xsavec.s +++ b/gas/testsuite/gas/i386/x86-64-xsavec.s @@ -1,6 +1,5 @@ # Check 64bit XSAVEC instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/x86-64-xsaves.s b/gas/testsuite/gas/i386/x86-64-xsaves.s index f65b51c..94998fe 100644 --- a/gas/testsuite/gas/i386/x86-64-xsaves.s +++ b/gas/testsuite/gas/i386/x86-64-xsaves.s @@ -1,6 +1,5 @@ # Check 64bit XSAVES instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/xop.s b/gas/testsuite/gas/i386/xop.s index 0a8d411..63b98b3 100644 --- a/gas/testsuite/gas/i386/xop.s +++ b/gas/testsuite/gas/i386/xop.s @@ -1,6 +1,5 @@ # Check XOP instructions (maxcombos=16, maxops=3, archbits=32, seed=1) - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/xsavec.s b/gas/testsuite/gas/i386/xsavec.s index 93415d8..599854c 100644 --- a/gas/testsuite/gas/i386/xsavec.s +++ b/gas/testsuite/gas/i386/xsavec.s @@ -1,6 +1,5 @@ # Check 32bit XSAVEC instructions - .allow_index_reg .text _start: diff --git a/gas/testsuite/gas/i386/xsaves.s b/gas/testsuite/gas/i386/xsaves.s index 697b3dd..f91c1d7 100644 --- a/gas/testsuite/gas/i386/xsaves.s +++ b/gas/testsuite/gas/i386/xsaves.s @@ -1,6 +1,5 @@ # Check 32bit XSAVES instructions - .allow_index_reg .text _start: |