From 77648cfd7546b47db0dc7d454e127c96ab39941b Mon Sep 17 00:00:00 2001 From: Stuart Hastings Date: Wed, 3 Jun 2009 21:39:14 +0000 Subject: [PATCH] Recognize another euphemism for MOVDQ2Q. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72808 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrMMX.td | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/X86/X86InstrMMX.td b/lib/Target/X86/X86InstrMMX.td index 8f287e17dc3..f247653de0a 100644 --- a/lib/Target/X86/X86InstrMMX.td +++ b/lib/Target/X86/X86InstrMMX.td @@ -680,6 +680,8 @@ def : Pat<(v4i16 (bitconvert (i64 (vector_extract (v2i64 VR128:$src), 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.