OSDN Git Service

Teach X86 MC instruction lowering that VMOVAPSrr and other VEX-encoded register to...
authorCraig Topper <craig.topper@gmail.com>
Thu, 14 Mar 2013 07:09:57 +0000 (07:09 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 14 Mar 2013 07:09:57 +0000 (07:09 +0000)
commit599521f1671d720a2c786058810537287920f44a
tree29c5c4bb78de3e832137e37a0bb637ae1bd224de
parent6f8c6852a08df9d41f4e0242624ec744cd7e0d2f
Teach X86 MC instruction lowering that VMOVAPSrr and other VEX-encoded register to register moves should be switched from using the MRMSrcReg form to the MRMDestReg form if the source register is a 64-bit extended register and the destination register is not. This allows the instruction to be encoded using the 2-byte VEX form instead of the 3-byte VEX form. The GNU assembler has similar behavior.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177011 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86MCInstLower.cpp