OSDN Git Service

[X86] Add InstAliases for 'vmovd' with GR64 registers to select EVEX encoded instruct...
authorCraig Topper <craig.topper@intel.com>
Fri, 5 Jan 2018 21:57:23 +0000 (21:57 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 5 Jan 2018 21:57:23 +0000 (21:57 +0000)
commit510c34022e1e2f55cffe0b3d747c6dc82848667f
tree1a31480f34c73d6ba45ff047ebd1e5c8c001ec3d
parent96332f0c46b3a05f1b64fd0ab35367f77be213b6
[X86] Add InstAliases for 'vmovd' with GR64 registers to select EVEX encoded instructions as well.

Without this we allow "vmovd %rax, %xmm0", but not "vmovd %rax, %xmm16"

This exists due to continue a silly bug where really old versions of the GNU assembler required movd instead of movq on these instructions. This compatibility hack then crept forward to avx version too, but we didn't propagate it to avx512.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321903 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
test/MC/X86/avx512-encodings.s