OSDN Git Service

[X86] Remove some intel syntax aliases on (v)cvtpd2(u)dq, (v)cvtpd2ps, (v)cvt(u)qq2ps...
authorCraig Topper <craig.topper@intel.com>
Mon, 29 Apr 2019 06:13:41 +0000 (06:13 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 29 Apr 2019 06:13:41 +0000 (06:13 +0000)
commit7eeddf7b5a367119000a76f545519210f912d609
tree56ac1fb7549fbf88f23e65112157960fcb31c5f4
parente600c4a42a29e2206d41b70e497fe8e82869b869
[X86] Remove some intel syntax aliases on (v)cvtpd2(u)dq, (v)cvtpd2ps, (v)cvt(u)qq2ps. Add 'x' and'y' suffix aliases to masked version of the same in att syntax.

The 128/256 bit version of these instructions require an 'x' or 'y' suffix to
disambiguate the memory form in att syntax.

We were allowing the same suffix in intel syntax, but it appears gas does not
do that.

gas does allow the 'x' and 'y' suffix on register and broadcast forms even
though its not needed. We were allowing it on unmasked register form, but not on
masked versions or on masked or unmasked broadcast form.

While there fix some test coverage holes so they can be extended with the 'x'
and 'y' suffix tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359418 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
lib/Target/X86/X86InstrSSE.td
test/MC/X86/intel-syntax-x86-64-avx.s
test/MC/X86/intel-syntax-x86-64-avx512f_vl.s
test/MC/X86/x86-64-avx512dq_vl.s
test/MC/X86/x86-64-avx512f_vl.s