aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/sse2-mul.ll
blob: 0466d60ec30155292b4e2949173a66a06d82200c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc < %s -march=x86-64 -mcpu=core2 | FileCheck %s

define <4 x i32> @test1(<4 x i32> %x, <4 x i32> %y) {
  %m = mul <4 x i32> %x, %y
  ret <4 x i32> %m
; CHECK: test1:
; CHECK: pshufd $49
; CHECK: pmuludq
; CHECK: pshufd $49
; CHECK: pmuludq
; CHECK: shufps $-120
; CHECK: pshufd $-40
; CHECK: ret
}