blob: ebdac7d3de9b150616e80ffc7e7b053e196c22dc [file] [log] [blame]
Tanya Lattner33eefff2008-02-21 07:42:26 +00001; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin8 | \
Reid Spencerd3b1f6d2007-04-15 22:20:47 +00002; RUN: grep {subl.*60}
Tanya Lattner33eefff2008-02-21 07:42:26 +00003; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin8 | \
Dan Gohman9bc5dce2007-07-20 16:31:26 +00004; RUN: grep {movaps.*32}
Evan Cheng1fa57552006-05-30 20:37:00 +00005
Tanya Lattner33eefff2008-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
Evan Cheng1fa57552006-05-30 20:37:00 +000010}
11
Tanya Lattner33eefff2008-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