2017-08-02 08:28:10 +08:00
|
|
|
; RUN: llc < %s -mtriple=i686-- -mcpu=penryn | FileCheck %s
|
2008-05-23 08:37:07 +08:00
|
|
|
|
|
|
|
define void @a(<4 x float>* %x) nounwind {
|
|
|
|
entry:
|
2015-02-28 05:17:42 +08:00
|
|
|
%tmp2 = load <4 x float>, <4 x float>* %x, align 1
|
2008-05-23 08:37:07 +08:00
|
|
|
%inv = call <4 x float> @llvm.x86.sse.rcp.ps(<4 x float> %tmp2)
|
|
|
|
store <4 x float> %inv, <4 x float>* %x, align 1
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
2013-07-14 14:24:09 +08:00
|
|
|
; CHECK-LABEL: a:
|
2012-12-26 11:19:30 +08:00
|
|
|
; CHECK: movups
|
|
|
|
; CHECK: movups
|
|
|
|
; CHECK-NOT: movups
|
|
|
|
; CHECK: ret
|
|
|
|
|
2008-05-23 08:37:07 +08:00
|
|
|
declare <4 x float> @llvm.x86.sse.rcp.ps(<4 x float>)
|