comparison test/CodeGen/ARM/fparith.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 95c75e76d11b
children
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
54 entry: 54 entry:
55 %tmp1 = fsub float -0.000000e+00, %a ; <float> [#uses=1] 55 %tmp1 = fsub float -0.000000e+00, %a ; <float> [#uses=1]
56 ret float %tmp1 56 ret float %tmp1
57 } 57 }
58 58
59 define double @f8(double %a) { 59 define arm_aapcs_vfpcc double @f8(double %a) {
60 ;CHECK-LABEL: f8: 60 ;CHECK-LABEL: f8:
61 ;CHECK: vneg.f64 61 ;CHECK: vneg.f64
62 entry: 62 entry:
63 %tmp1 = fsub double -0.000000e+00, %a ; <double> [#uses=1] 63 %tmp1 = fsub double -0.000000e+00, %a ; <double> [#uses=1]
64 ret double %tmp1 64 ret double %tmp1
88 ret float %tmp1 88 ret float %tmp1
89 } 89 }
90 90
91 declare float @fabsf(float) 91 declare float @fabsf(float)
92 92
93 define double @f12(double %a) { 93 define arm_aapcs_vfpcc double @f12(double %a) {
94 ;CHECK-LABEL: f12: 94 ;CHECK-LABEL: f12:
95 ;CHECK: vabs.f64 95 ;CHECK: vabs.f64
96 entry: 96 entry:
97 %tmp1 = call double @fabs( double %a ) readnone ; <double> [#uses=1] 97 %tmp1 = call double @fabs( double %a ) readnone ; <double> [#uses=1]
98 ret double %tmp1 98 ret double %tmp1