]> granicus.if.org Git - llvm/commit
[X86] Allow assembly parser to accept x/y/z suffixes on non-memory vfpclassps/pd...
authorCraig Topper <craig.topper@intel.com>
Fri, 3 May 2019 16:15:15 +0000 (16:15 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 3 May 2019 16:15:15 +0000 (16:15 +0000)
commit00136e6ee269bd135575d0869f84bc773d85292d
tree2c85c7f6fc46fa40d9cb8f83707ed3820a5120b8
parentb5f456a009db6764a954f6f23060ebada8ef9a98
[X86] Allow assembly parser to accept x/y/z suffixes on non-memory vfpclassps/pd and on memory forms in intel syntax

The x/y/z suffix is needed to disambiguate the memory form in at&t syntax since no xmm/ymm/zmm register is mentioned.

But we should also allow it for the register and broadcast forms where its not needed for consistency. This matches gas.

The printing code will still only use the suffix for the memory form where it is needed.

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