diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-08-31 15:40:30 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-08-31 15:40:30 +0000 |
commit | bf4043768c6726db523f99460645842e5024fc7f (patch) | |
tree | 345e6a83dec8cb80ac4a332c259b906a17ff2ff2 /lib/Target/X86/Disassembler | |
parent | 908c0c01f634798a4c1b335a6aca0870ad1fce77 (diff) | |
download | external_llvm-bf4043768c6726db523f99460645842e5024fc7f.zip external_llvm-bf4043768c6726db523f99460645842e5024fc7f.tar.gz external_llvm-bf4043768c6726db523f99460645842e5024fc7f.tar.bz2 |
Add support for converting llvm.fma to fma4 instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Disassembler')
-rw-r--r-- | lib/Target/X86/Disassembler/X86Disassembler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/Disassembler/X86Disassembler.cpp b/lib/Target/X86/Disassembler/X86Disassembler.cpp index 5039887..a54d35d 100644 --- a/lib/Target/X86/Disassembler/X86Disassembler.cpp +++ b/lib/Target/X86/Disassembler/X86Disassembler.cpp @@ -379,6 +379,8 @@ static void translateImmediate(MCInst &mcInst, uint64_t immediate, } switch (type) { + case TYPE_XMM32: + case TYPE_XMM64: case TYPE_XMM128: mcInst.addOperand(MCOperand::CreateReg(X86::XMM0 + (immediate >> 4))); return; |