[llvm-commits] [llvm] r72808 - /llvm/trunk/lib/Target/X86/X86InstrMMX.td

Stuart Hastings stuart at apple.com
Wed Jun 3 14:39:14 PDT 2009


Author: stuart
Date: Wed Jun  3 16:39:14 2009
New Revision: 72808

URL: http://llvm.org/viewvc/llvm-project?rev=72808&view=rev
Log:
Recognize another euphemism for MOVDQ2Q.

Modified:
    llvm/trunk/lib/Target/X86/X86InstrMMX.td

Modified: llvm/trunk/lib/Target/X86/X86InstrMMX.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrMMX.td?rev=72808&r1=72807&r2=72808&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrMMX.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrMMX.td Wed Jun  3 16:39:14 2009
@@ -680,6 +680,8 @@
 def : Pat<(v8i8 (bitconvert (i64 (vector_extract (v2i64 VR128:$src),
                                                   (iPTR 0))))),
           (v8i8 (MMX_MOVDQ2Qrr VR128:$src))>;
+def : Pat<(v2i32 (bitconvert (f64 FR64:$src))),
+          (v2i32 (MMX_MOVDQ2Qrr VR128:$src))>;
 
 // CMOV* - Used to implement the SELECT DAG operation.  Expanded by the
 // scheduler into a branch sequence.





More information about the llvm-commits mailing list