diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-01-22 18:05:59 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-01-22 18:05:59 +0000 |
commit | 341c5fbe840cffedc4155a2cf130626d2bba11b5 (patch) | |
tree | 763da45937f90e9b2f8ada4b1319ec033a764746 /lib/Target | |
parent | 9dd2a3b1f2c253e20262535bb89b1ab6cc680ece (diff) | |
download | llvm-341c5fbe840cffedc4155a2cf130626d2bba11b5.tar.gz llvm-341c5fbe840cffedc4155a2cf130626d2bba11b5.tar.bz2 llvm-341c5fbe840cffedc4155a2cf130626d2bba11b5.tar.xz |
X86: Make sure we account for the FMA4 register immediate value, otherwise rip-rel relocations will be off by one byte.
PR15040.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/X86InstrFormats.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrFormats.td b/lib/Target/X86/X86InstrFormats.td index 6151d5cce2..44e574d246 100644 --- a/lib/Target/X86/X86InstrFormats.td +++ b/lib/Target/X86/X86InstrFormats.td @@ -570,7 +570,7 @@ class FMA3<bits<8> o, Format F, dag outs, dag ins, string asm, // FMA4 Instruction Templates class FMA4<bits<8> o, Format F, dag outs, dag ins, string asm, list<dag>pattern, InstrItinClass itin = IIC_DEFAULT> - : I<o, F, outs, ins, asm, pattern, itin>, TA, + : Ii8<o, F, outs, ins, asm, pattern, itin>, TA, OpSize, VEX_4V, VEX_I8IMM, Requires<[HasFMA4]>; // XOP 2, 3 and 4 Operand Instruction Template |