mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
20 lines
568 B
LLVM
20 lines
568 B
LLVM
|
; RUN: llc < %s -mtriple=i686-apple-darwin9 -mattr=sse4a | FileCheck %s
|
||
|
|
||
|
define void @test1(float* %p, <4 x float> %a) nounwind optsize ssp {
|
||
|
; CHECK: movntss
|
||
|
entry:
|
||
|
tail call void @llvm.x86.sse4a.movnt.ss(float* %p, <4 x float> %a) nounwind
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
declare void @llvm.x86.sse4a.movnt.ss(float*, <4 x float>)
|
||
|
|
||
|
define void @test2(double* %p, <2 x double> %a) nounwind optsize ssp {
|
||
|
; CHECK: movntsd
|
||
|
entry:
|
||
|
tail call void @llvm.x86.sse4a.movnt.sd(double* %p, <2 x double> %a) nounwind
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
declare void @llvm.x86.sse4a.movnt.sd(double*, <2 x double>)
|