[llvm-commits] [llvm] r50284 - in /llvm/branches/Apple/Tak/lib/Target/X86: X86InstrInfo.td X86InstrMMX.td
Bill Wendling
isanbard at gmail.com
Fri Apr 25 11:45:15 PDT 2008
Author: void
Date: Fri Apr 25 13:45:14 2008
New Revision: 50284
URL: http://llvm.org/viewvc/llvm-project?rev=50284&view=rev
Log:
Porting r50278 to Tak.
Modified:
llvm/branches/Apple/Tak/lib/Target/X86/X86InstrInfo.td
llvm/branches/Apple/Tak/lib/Target/X86/X86InstrMMX.td
Modified: llvm/branches/Apple/Tak/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Tak/lib/Target/X86/X86InstrInfo.td?rev=50284&r1=50283&r2=50284&view=diff
==============================================================================
--- llvm/branches/Apple/Tak/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/branches/Apple/Tak/lib/Target/X86/X86InstrInfo.td Fri Apr 25 13:45:14 2008
@@ -2758,13 +2758,13 @@
include "X86Instr64bit.td"
//===----------------------------------------------------------------------===//
-// MMX and XMM Packed Integer support (requires MMX, SSE, and SSE2)
+// XMM Floating point support (requires SSE / SSE2)
//===----------------------------------------------------------------------===//
-include "X86InstrMMX.td"
+include "X86InstrSSE.td"
//===----------------------------------------------------------------------===//
-// XMM Floating point support (requires SSE / SSE2)
+// MMX and XMM Packed Integer support (requires MMX, SSE, and SSE2)
//===----------------------------------------------------------------------===//
-include "X86InstrSSE.td"
+include "X86InstrMMX.td"
Modified: llvm/branches/Apple/Tak/lib/Target/X86/X86InstrMMX.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Tak/lib/Target/X86/X86InstrMMX.td?rev=50284&r1=50283&r2=50284&view=diff
==============================================================================
--- llvm/branches/Apple/Tak/lib/Target/X86/X86InstrMMX.td (original)
+++ llvm/branches/Apple/Tak/lib/Target/X86/X86InstrMMX.td Fri Apr 25 13:45:14 2008
@@ -189,8 +189,10 @@
def MMX_MOVQ2DQrr : MMXIS<0xD6, MRMDestMem, (outs VR128:$dst), (ins VR64:$src),
"movq2dq\t{$src, $dst|$dst, $src}",
- [(set VR128:$dst,
- (bitconvert (v1i64 VR64:$src)))]>;
+ [(set VR128:$dst,
+ (v2i64 (vector_shuffle immAllZerosV,
+ (v2i64 (scalar_to_vector (i64 (bitconvert VR64:$src)))),
+ MOVL_shuffle_mask)))]>;
def MMX_MOVNTQmr : MMXI<0xE7, MRMDestMem, (outs), (ins i64mem:$dst, VR64:$src),
"movntq\t{$src, $dst|$dst, $src}",
More information about the llvm-commits
mailing list