OSDN Git Service

[X86] Make the VFMA*231 variants commutable and relax the alignment restrictions
authorLang Hames <lhames@gmail.com>
Wed, 2 Apr 2014 22:06:16 +0000 (22:06 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 2 Apr 2014 22:06:16 +0000 (22:06 +0000)
commitb1b4d0819577bfa2a7538b7b2437bc3ffd52d4bb
treef546aed09997af5ba1a049b7347250b2f1b1c9b3
parent3845c071a7b4ff54d7d8ff4642a66e3a666349d1
[X86] Make the VFMA*231 variants commutable and relax the alignment restrictions
on FMA3 memory operands. FMA3 instructions are VEX encoded, so they can load
from unaligned memory.

Testcase to follow, along with related patch.

<rdar://problem/16478629>

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