mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-17 03:07:06 +00:00
ad0a4c0be9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37637 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
586 B
LLVM
12 lines
586 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
|
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep mov
|
|
|
|
define <4 x i32> @test() {
|
|
%tmp131 = call <2 x i64> @llvm.x86.sse2.psrl.dq( <2 x i64> < i64 -1, i64 -1 >, i32 96 ) ; <<2 x i64>> [#uses=1]
|
|
%tmp137 = bitcast <2 x i64> %tmp131 to <4 x i32> ; <<4 x i32>> [#uses=1]
|
|
%tmp138 = and <4 x i32> %tmp137, bitcast (<2 x i64> < i64 -1, i64 -1 > to <4 x i32>) ; <<4 x i32>> [#uses=1]
|
|
ret <4 x i32> %tmp138
|
|
}
|
|
|
|
declare <2 x i64> @llvm.x86.sse2.psrl.dq(<2 x i64>, i32)
|