comparison test/CodeGen/SystemZ/fp-sqrt-02.ll @ 120:1172e4bd9c6f

update 4.0.0
author mir3636
date Fri, 25 Nov 2016 19:14:25 +0900
parents afa8332a0e37
children c2174574ed3a
comparison
equal deleted inserted replaced
101:34baf5011add 120:1172e4bd9c6f
159 ; Check that a call to the normal sqrt function is lowered. 159 ; Check that a call to the normal sqrt function is lowered.
160 define double @f8(double %dummy, double %val) { 160 define double @f8(double %dummy, double %val) {
161 ; CHECK-LABEL: f8: 161 ; CHECK-LABEL: f8:
162 ; CHECK: sqdbr %f0, %f2 162 ; CHECK: sqdbr %f0, %f2
163 ; CHECK: cdbr %f0, %f0 163 ; CHECK: cdbr %f0, %f0
164 ; CHECK: jo [[LABEL:\.L.*]] 164 ; CHECK: bnor %r14
165 ; CHECK: br %r14
166 ; CHECK: [[LABEL]]:
167 ; CHECK: ldr %f0, %f2 165 ; CHECK: ldr %f0, %f2
168 ; CHECK: jg sqrt@PLT 166 ; CHECK: jg sqrt@PLT
169 %res = tail call double @sqrt(double %val) 167 %res = tail call double @sqrt(double %val)
170 ret double %res 168 ret double %res
171 } 169 }