blob: ebdac7d3de9b150616e80ffc7e7b053e196c22dc [file] [log] [blame]
Tanya Lattner632e88a2008-02-21 07:42:26 +00001; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin8 | \
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002; RUN: grep {subl.*60}
Tanya Lattner632e88a2008-02-21 07:42:26 +00003; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin8 | \
Dan Gohman102b36c2007-07-20 16:31:26 +00004; RUN: grep {movaps.*32}
Dan Gohmanf17a25c2007-07-18 16:29:46 +00005
Tanya Lattner632e88a2008-02-21 07:42:26 +00006
7define void @test() {
8 tail call void @xx( i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, <2 x i64> bitcast (<4 x i32> < i32 4, i32 3, i32 2, i32 1 > to <2 x i64>), <2 x i64> bitcast (<4 x i32> < i32 8, i32 7, i32 6, i32 5 > to <2 x i64>), <2 x i64> bitcast (<4 x i32> < i32 6, i32 4, i32 2, i32 0 > to <2 x i64>), <2 x i64> bitcast (<4 x i32> < i32 8, i32 4, i32 2, i32 1 > to <2 x i64>), <2 x i64> bitcast (<4 x i32> < i32 0, i32 1, i32 3, i32 9 > to <2 x i64>) )
9 ret void
Dan Gohmanf17a25c2007-07-18 16:29:46 +000010}
11
Tanya Lattner632e88a2008-02-21 07:42:26 +000012declare void @xx(i32, i32, i32, i32, i32, i32, i32, <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>)
13