In LLVM FMA3 operands are dst, src1, src2, src3, however dst is not encoded as it...
authorNadav Rotem <nrotem@apple.com>
Wed, 21 Aug 2013 05:03:10 +0000 (05:03 +0000)
committerNadav Rotem <nrotem@apple.com>
Wed, 21 Aug 2013 05:03:10 +0000 (05:03 +0000)
commit7efc04cb40a602f0d51c12d2ab55b30882d6cb5f
treee59c64651231e0ec35be02ead1896a4327add7bb
parent092559e6f07316d7607e77769ae34a70cabbd687
In LLVM FMA3 operands are dst, src1, src2, src3, however dst is not encoded as it is always src1. This was causing the encoding of the operands to be off by one.

Patch by Chris Bieneman.

llvm-svn: 188866
llvm/lib/Target/X86/X86CodeEmitter.cpp
llvm/test/ExecutionEngine/fma3-jit.ll [new file with mode: 0644]