aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/mmx-movdq2q1.ll
blob: 63405021a56162965f209fe00a955f8aa91ebad3 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx,+sse2 | grep movdq2q | count 2
define void @t2(double %a, double %b) nounwind {
entry:
        %tmp1 = bitcast double %a to <2 x i32>
        %tmp2 = bitcast double %b to <2 x i32>
        %tmp3 = add <2 x i32> %tmp1, %tmp2
        store <2 x i32> %tmp3, <2 x i32>* null
        ret void
}