x86: also refuse data size prefix on SIMD insns
authorJan Beulich <jbeulich@suse.com>
Thu, 25 Jun 2020 07:25:12 +0000 (09:25 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Jun 2020 07:25:12 +0000 (09:25 +0200)
commit40d231b4fbcb68d5906a949acd1d421123d74082
treeb3cdd402b4ecf3d5c012959846ea9b2a7a3756ab
parent11abe4264708e70413de9eeb2cbe14ac71e304db
x86: also refuse data size prefix on SIMD insns

The data size prefix alters the meaning of legacy encoded SIMD insns,
and hence shouldn't be accepted there. Use of it also leads to
inconsistencies in SSE2AVX mode. Don't match insns with data size prefix
against SSE2AVX templates.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/prefix32.l
gas/testsuite/gas/i386/prefix32.s
gas/testsuite/gas/i386/prefix64.l
gas/testsuite/gas/i386/prefix64.s
gas/testsuite/gas/i386/sse2avx.d
gas/testsuite/gas/i386/sse2avx.s