forked from OSchip/llvm-project
28 lines
910 B
LLVM
28 lines
910 B
LLVM
|
; NOTE: Assertions have been autogenerated by update_llc_test_checks.py
|
||
|
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||
|
; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | FileCheck %s
|
||
|
|
||
|
define void @test_x86_sse_storeu_ps(i8* %a0, <4 x float> %a1) {
|
||
|
; SSE-LABEL: test_x86_sse_storeu_ps:
|
||
|
; SSE: ## BB#0:
|
||
|
; SSE-NEXT: movl {{[0-9]+}}(%esp), %eax
|
||
|
; SSE-NEXT: movups %xmm0, (%eax)
|
||
|
; SSE-NEXT: retl
|
||
|
;
|
||
|
; KNL-LABEL: test_x86_sse_storeu_ps:
|
||
|
; KNL: ## BB#0:
|
||
|
; KNL-NEXT: movl {{[0-9]+}}(%esp), %eax
|
||
|
; KNL-NEXT: vmovups %xmm0, (%eax)
|
||
|
; KNL-NEXT: retl
|
||
|
; CHECK-LABEL: test_x86_sse_storeu_ps:
|
||
|
; CHECK: ## BB#0:
|
||
|
; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
|
||
|
; CHECK-NEXT: movups %xmm0, (%eax)
|
||
|
; CHECK-NEXT: retl
|
||
|
call void @llvm.x86.sse.storeu.ps(i8* %a0, <4 x float> %a1)
|
||
|
ret void
|
||
|
}
|
||
|
declare void @llvm.x86.sse.storeu.ps(i8*, <4 x float>) nounwind
|
||
|
|
||
|
|