mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-02 02:22:31 +00:00
[X86][SSE2] Added _mm_loadu_si64 test to match llvm\tools\clang\test\CodeGen\sse2-builtins.c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d28b49f9ae
commit
38b2095b3e
@ -53,6 +53,17 @@ define i64 @test_mm_cvttsd_si64(<2 x double> %a0) nounwind {
|
||||
ret i64 %res
|
||||
}
|
||||
|
||||
define <2 x i64> @test_mm_loadu_si64(i64* %a0) nounwind {
|
||||
; X64-LABEL: test_mm_loadu_si64:
|
||||
; X64: # BB#0:
|
||||
; X64-NEXT: movq {{.*#+}} xmm0 = mem[0],zero
|
||||
; X64-NEXT: retq
|
||||
%ld = load i64, i64* %a0, align 1
|
||||
%res0 = insertelement <2 x i64> undef, i64 %ld, i32 0
|
||||
%res1 = insertelement <2 x i64> %res0, i64 0, i32 1
|
||||
ret <2 x i64> %res1
|
||||
}
|
||||
|
||||
define void @test_mm_stream_si64(i64 *%a0, i64 %a1) {
|
||||
; X64-LABEL: test_mm_stream_si64:
|
||||
; X64: # BB#0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user