2012-05-07 07:36:19 +02:00
|
|
|
; RUN: llc < %s -mtriple=i686-apple-darwin9 -mattr=sse4a | FileCheck %s
|
|
|
|
|
2012-05-27 21:35:41 +02:00
|
|
|
define void @test1(i8* %p, <4 x float> %a) nounwind optsize ssp {
|
2012-05-07 07:36:19 +02:00
|
|
|
; CHECK: movntss
|
|
|
|
entry:
|
2012-05-27 21:35:41 +02:00
|
|
|
tail call void @llvm.x86.sse4a.movnt.ss(i8* %p, <4 x float> %a) nounwind
|
2012-05-07 07:36:19 +02:00
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
2012-05-27 21:35:41 +02:00
|
|
|
declare void @llvm.x86.sse4a.movnt.ss(i8*, <4 x float>)
|
2012-05-07 07:36:19 +02:00
|
|
|
|
2012-05-27 21:35:41 +02:00
|
|
|
define void @test2(i8* %p, <2 x double> %a) nounwind optsize ssp {
|
2012-05-07 07:36:19 +02:00
|
|
|
; CHECK: movntsd
|
|
|
|
entry:
|
2012-05-27 21:35:41 +02:00
|
|
|
tail call void @llvm.x86.sse4a.movnt.sd(i8* %p, <2 x double> %a) nounwind
|
2012-05-07 07:36:19 +02:00
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
2012-05-27 21:35:41 +02:00
|
|
|
declare void @llvm.x86.sse4a.movnt.sd(i8*, <2 x double>)
|