summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86InstrMMX.td
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-05 21:30:49 +0000
committerChris Lattner <sabre@nondot.org>2010-02-05 21:30:49 +0000
commit28c1d29b09a1d6d92ba91211aceeee59d7f5f07f (patch)
treea4de0cdb51c841467ed57c0a5d9ddc22bde61f20 /lib/Target/X86/X86InstrMMX.td
parent35e0e84f93152a20ae40ccf13d6d6ea493953a1c (diff)
downloadllvm-28c1d29b09a1d6d92ba91211aceeee59d7f5f07f.tar.gz
llvm-28c1d29b09a1d6d92ba91211aceeee59d7f5f07f.tar.bz2
llvm-28c1d29b09a1d6d92ba91211aceeee59d7f5f07f.tar.xz
lower the last of the MRMInitReg instructions in MCInstLower.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrMMX.td')
-rw-r--r--lib/Target/X86/X86InstrMMX.td7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/X86/X86InstrMMX.td b/lib/Target/X86/X86InstrMMX.td
index ab169ac395..010ce798b7 100644
--- a/lib/Target/X86/X86InstrMMX.td
+++ b/lib/Target/X86/X86InstrMMX.td
@@ -536,11 +536,10 @@ def MMX_MASKMOVQ64: MMXI64<0xF7, MRMSrcReg, (outs), (ins VR64:$src, VR64:$mask),
// Alias instructions that map zero vector to pxor.
let isReMaterializable = 1, isCodeGenOnly = 1 in {
- def MMX_V_SET0 : MMXI<0xEF, MRMInitReg, (outs VR64:$dst), (ins),
- "pxor\t$dst, $dst",
+ // FIXME: Change encoding to pseudo.
+ def MMX_V_SET0 : MMXI<0xEF, MRMInitReg, (outs VR64:$dst), (ins), "",
[(set VR64:$dst, (v2i32 immAllZerosV))]>;
- def MMX_V_SETALLONES : MMXI<0x76, MRMInitReg, (outs VR64:$dst), (ins),
- "pcmpeqd\t$dst, $dst",
+ def MMX_V_SETALLONES : MMXI<0x76, MRMInitReg, (outs VR64:$dst), (ins), "",
[(set VR64:$dst, (v2i32 immAllOnesV))]>;
}