]> granicus.if.org Git - llvm/commit
[X86] Support the EVEX versions vcvt(t)ss2si and vcvt(t)sd2si with the {evex} pseudo...
authorCraig Topper <craig.topper@intel.com>
Wed, 10 Apr 2019 01:29:59 +0000 (01:29 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 10 Apr 2019 01:29:59 +0000 (01:29 +0000)
commit75fc7ebb145ea034c13c7ab7d46b15dafac50942
tree202c52420764d3f5fe28361b46de7bbe0357fbc5
parentc90f68822e5545ce6908de02e645366fefcd763d
[X86] Support the EVEX versions vcvt(t)ss2si and vcvt(t)sd2si with the {evex} pseudo prefix in the assembler.

The EVEX versions are ambiguous with the VEX versions based on operands alone so we had explicitly dropped
them from the AsmMatcher table. Unfortunately, when we add them they incorrectly show in the table before
their VEX counterparts. This is different how the prioritization normally works.

To fix this we have to explicitly reject the instructions unless the {evex} prefix has been seen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358041 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp
lib/Target/X86/X86InstrAVX512.td
test/MC/X86/AVX512F_SCALAR-64.s