/external/python/cpython2/Lib/test/decimaltestdata/ |
D | copysign.decTest | 2 -- copysign.decTest -- quiet copy with sign from rhs -- 29 cpsx001 copysign +7.50 11 -> 7.50 30 cpsx002 copysign '1.50' '7.33' -> 1.50 31 cpsx003 copysign '-1.50' '7.33' -> 1.50 32 cpsx004 copysign '1.50' '-7.33' -> -1.50 33 cpsx005 copysign '-1.50' '-7.33' -> -1.50 36 cpsx011 copysign Infinity 11 -> Infinity 37 cpsx012 copysign -Infinity 11 -> Infinity 40 cpsx021 copysign NaN 11 -> NaN 41 cpsx022 copysign -NaN 11 -> NaN [all …]
|
D | ddCopySign.decTest | 31 ddcps001 copysign +7.50 11 -> 7.50 34 ddcps011 copysign Infinity 11 -> Infinity 35 ddcps012 copysign -Infinity 11 -> Infinity 38 ddcps021 copysign NaN 11 -> NaN 39 ddcps022 copysign -NaN 11 -> NaN 40 ddcps023 copysign sNaN 11 -> sNaN 41 ddcps024 copysign -sNaN 11 -> sNaN 44 ddcps031 copysign NaN10 11 -> NaN10 45 ddcps032 copysign -NaN10 11 -> NaN10 46 ddcps033 copysign sNaN10 11 -> sNaN10 [all …]
|
D | dqCopySign.decTest | 31 dqcps001 copysign +7.50 11 -> 7.50 34 dqcps011 copysign Infinity 11 -> Infinity 35 dqcps012 copysign -Infinity 11 -> Infinity 38 dqcps021 copysign NaN 11 -> NaN 39 dqcps022 copysign -NaN 11 -> NaN 40 dqcps023 copysign sNaN 11 -> sNaN 41 dqcps024 copysign -sNaN 11 -> sNaN 44 dqcps031 copysign NaN10 11 -> NaN10 45 dqcps032 copysign -NaN10 11 -> NaN10 46 dqcps033 copysign sNaN10 11 -> sNaN10 [all …]
|
/external/python/cpython3/Lib/test/decimaltestdata/ |
D | copysign.decTest | 2 -- copysign.decTest -- quiet copy with sign from rhs -- 29 cpsx001 copysign +7.50 11 -> 7.50 30 cpsx002 copysign '1.50' '7.33' -> 1.50 31 cpsx003 copysign '-1.50' '7.33' -> 1.50 32 cpsx004 copysign '1.50' '-7.33' -> -1.50 33 cpsx005 copysign '-1.50' '-7.33' -> -1.50 36 cpsx011 copysign Infinity 11 -> Infinity 37 cpsx012 copysign -Infinity 11 -> Infinity 40 cpsx021 copysign NaN 11 -> NaN 41 cpsx022 copysign -NaN 11 -> NaN [all …]
|
D | dqCopySign.decTest | 31 dqcps001 copysign +7.50 11 -> 7.50 34 dqcps011 copysign Infinity 11 -> Infinity 35 dqcps012 copysign -Infinity 11 -> Infinity 38 dqcps021 copysign NaN 11 -> NaN 39 dqcps022 copysign -NaN 11 -> NaN 40 dqcps023 copysign sNaN 11 -> sNaN 41 dqcps024 copysign -sNaN 11 -> sNaN 44 dqcps031 copysign NaN10 11 -> NaN10 45 dqcps032 copysign -NaN10 11 -> NaN10 46 dqcps033 copysign sNaN10 11 -> sNaN10 [all …]
|
D | ddCopySign.decTest | 31 ddcps001 copysign +7.50 11 -> 7.50 34 ddcps011 copysign Infinity 11 -> Infinity 35 ddcps012 copysign -Infinity 11 -> Infinity 38 ddcps021 copysign NaN 11 -> NaN 39 ddcps022 copysign -NaN 11 -> NaN 40 ddcps023 copysign sNaN 11 -> sNaN 41 ddcps024 copysign -sNaN 11 -> sNaN 44 ddcps031 copysign NaN10 11 -> NaN10 45 ddcps032 copysign -NaN10 11 -> NaN10 46 ddcps033 copysign sNaN10 11 -> sNaN10 [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | combine-fcopysign.ll | 9 ; copysign(x, c1) -> fabs(x) iff ispos(c1) 21 …%1 = call <4 x float> @llvm.copysign.v4f32(<4 x float> %x, <4 x float> <float 2.0, float 2.0, floa… 36 …%1 = call <4 x float> @llvm.copysign.v4f32(<4 x float> %x, <4 x float> <float 0.0, float 2.0, floa… 52 %2 = call <4 x float> @llvm.copysign.v4f32(<4 x float> %x, <4 x float> %1) 56 ; copysign(x, c1) -> fneg(fabs(x)) iff isneg(c1) 68 …%1 = call <4 x float> @llvm.copysign.v4f32(<4 x float> %x, <4 x float> <float -2.0, float -2.0, fl… 83 …%1 = call <4 x float> @llvm.copysign.v4f32(<4 x float> %x, <4 x float> <float -0.0, float -2.0, fl… 100 %3 = call <4 x float> @llvm.copysign.v4f32(<4 x float> %x, <4 x float> %2) 104 ; copysign(fabs(x), y) -> copysign(x, y) 122 %2 = call <4 x float> @llvm.copysign.v4f32(<4 x float> %1, <4 x float> %y) [all …]
|
D | vec-copysign-avx512.ll | 19 %tmp = tail call <4 x float> @llvm.copysign.v4f32( <4 x float> %a, <4 x float> %b ) 37 %tmp = tail call <8 x float> @llvm.copysign.v8f32( <8 x float> %a, <8 x float> %b ) 55 %tmp = tail call <16 x float> @llvm.copysign.v16f32( <16 x float> %a, <16 x float> %b ) 66 %tmp = tail call <2 x double> @llvm.copysign.v2f64( <2 x double> %a, <2 x double> %b ) 84 %tmp = tail call <4 x double> @llvm.copysign.v4f64( <4 x double> %a, <4 x double> %b ) 102 %tmp = tail call <8 x double> @llvm.copysign.v8f64( <8 x double> %a, <8 x double> %b ) 106 declare <4 x float> @llvm.copysign.v4f32(<4 x float> %Mag, <4 x float> %Sgn) 107 declare <8 x float> @llvm.copysign.v8f32(<8 x float> %Mag, <8 x float> %Sgn) 108 declare <16 x float> @llvm.copysign.v16f32(<16 x float> %Mag, <16 x float> %Sgn) 109 declare <2 x double> @llvm.copysign.v2f64(<2 x double> %Mag, <2 x double> %Sgn) [all …]
|
D | sse-fcopysign.ll | 41 ; X32-NEXT: calll copysign 49 ; X64-NEXT: jmp copysign # TAILCALL 52 %tmp = tail call double @copysign( double %a, double %tmp2 ) 57 declare double @copysign(double, double) 83 %tmp = tail call float @llvm.copysign.f32( float %b, float %a ) 117 %tmp = tail call double @llvm.copysign.f64( double %a, double %tmp2 ) 132 %tmp = tail call float @llvm.copysign.f32( float 1.0, float -2.0 ) 149 %tmp = tail call double @llvm.copysign.f64( double 0.0, double %tmp2 ) 153 declare float @llvm.copysign.f32(float %Mag, float %Sgn) 154 declare double @llvm.copysign.f64(double %Mag, double %Sgn)
|
/external/llvm/test/Transforms/InstCombine/ |
D | copysign.ll | 3 declare float @llvm.copysign.f32(float, float) #0 4 declare double @llvm.copysign.f64(double, double) #0 9 %x = call float @llvm.copysign.f32(float 1.0, float -2.0) #0 16 %x = call float @llvm.copysign.f32(float -2.0, float 1.0) #0 23 %x = call float @llvm.copysign.f32(float -2.0, float -1.0) #0 30 %x = call double @llvm.copysign.f64(double 1.0, double -2.0) #0 37 %x = call double @llvm.copysign.f64(double -1.0, double 2.0) #0 44 %x = call double @llvm.copysign.f64(double -1.0, double -2.0) #0
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | copysign.ll | 3 declare float @llvm.copysign.f32(float, float) #0 4 declare double @llvm.copysign.f64(double, double) #0 9 %x = call float @llvm.copysign.f32(float 1.0, float -2.0) #0 16 %x = call float @llvm.copysign.f32(float -2.0, float 1.0) #0 23 %x = call float @llvm.copysign.f32(float -2.0, float -1.0) #0 30 %x = call double @llvm.copysign.f64(double 1.0, double -2.0) #0 37 %x = call double @llvm.copysign.f64(double -1.0, double 2.0) #0 44 %x = call double @llvm.copysign.f64(double -1.0, double -2.0) #0
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/ |
D | vector-fcopysign.ll | 13 %r = call <1 x float> @llvm.copysign.v1f32(<1 x float> %a, <1 x float> %b) 25 %r = call <1 x float> @llvm.copysign.v1f32(<1 x float> %a, <1 x float> %tmp0) 29 declare <1 x float> @llvm.copysign.v1f32(<1 x float> %a, <1 x float> %b) #0 42 %r = call <1 x double> @llvm.copysign.v1f64(<1 x double> %a, <1 x double> %tmp0) 52 %r = call <1 x double> @llvm.copysign.v1f64(<1 x double> %a, <1 x double> %b) 56 declare <1 x double> @llvm.copysign.v1f64(<1 x double> %a, <1 x double> %b) #0 65 %r = call <2 x float> @llvm.copysign.v2f32(<2 x float> %a, <2 x float> %b) 76 %r = call <2 x float> @llvm.copysign.v2f32(<2 x float> %a, <2 x float> %tmp0) 80 declare <2 x float> @llvm.copysign.v2f32(<2 x float> %a, <2 x float> %b) #0 89 %r = call <4 x float> @llvm.copysign.v4f32(<4 x float> %a, <4 x float> %b) [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | vector-fcopysign.ll | 13 %r = call <1 x float> @llvm.copysign.v1f32(<1 x float> %a, <1 x float> %b) 25 %r = call <1 x float> @llvm.copysign.v1f32(<1 x float> %a, <1 x float> %tmp0) 29 declare <1 x float> @llvm.copysign.v1f32(<1 x float> %a, <1 x float> %b) #0 42 %r = call <1 x double> @llvm.copysign.v1f64(<1 x double> %a, <1 x double> %tmp0) 52 %r = call <1 x double> @llvm.copysign.v1f64(<1 x double> %a, <1 x double> %b) 56 declare <1 x double> @llvm.copysign.v1f64(<1 x double> %a, <1 x double> %b) #0 65 %r = call <2 x float> @llvm.copysign.v2f32(<2 x float> %a, <2 x float> %b) 76 %r = call <2 x float> @llvm.copysign.v2f32(<2 x float> %a, <2 x float> %tmp0) 80 declare <2 x float> @llvm.copysign.v2f32(<2 x float> %a, <2 x float> %b) #0 89 %r = call <4 x float> @llvm.copysign.v4f32(<4 x float> %a, <4 x float> %b) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SLPVectorizer/X86/ |
D | fcopysign.ll | 19 declare float @llvm.copysign.f32(float, float) 20 declare double @llvm.copysign.f64(double, double) 30 ; CHECK-NEXT: [[TMP3:%.*]] = call <2 x double> @llvm.copysign.v2f64(<2 x double> [[TMP1]], <2 x … 38 %fcopysign0 = call double @llvm.copysign.f64(double %a0, double %b0) 39 %fcopysign1 = call double @llvm.copysign.f64(double %a1, double %b1) 51 ; SSE-NEXT: [[TMP5:%.*]] = call <2 x double> @llvm.copysign.v2f64(<2 x double> [[TMP1]], <2 x do… 52 ; SSE-NEXT: [[TMP6:%.*]] = call <2 x double> @llvm.copysign.v2f64(<2 x double> [[TMP2]], <2 x do… 60 ; AVX-NEXT: [[TMP3:%.*]] = call <4 x double> @llvm.copysign.v4f64(<4 x double> [[TMP1]], <4 x do… 72 %fcopysign0 = call double @llvm.copysign.f64(double %a0, double %b0) 73 %fcopysign1 = call double @llvm.copysign.f64(double %a1, double %b1) [all …]
|
/external/llvm/test/CodeGen/WebAssembly/ |
D | copysign-casts.ll | 3 ; DAGCombiner oddly folds casts into the rhs of copysign. Test that they get 9 declare double @copysign(double, double) nounwind readnone 14 ; CHECK: f64.copysign $push1=, $0, $pop0{{$}} 17 %t = call double @copysign(double %a, double %c) 23 ; CHECK: f32.copysign $push1=, $0, $pop0{{$}}
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/WebAssembly/ |
D | copysign-casts.ll | 3 ; DAGCombiner oddly folds casts into the rhs of copysign. Test that they get 9 declare double @copysign(double, double) nounwind readnone 14 ; CHECK: f64.copysign $push1=, $pop{{[0-9]+}}, $pop0{{$}} 17 %t = call double @copysign(double %a, double %c) 23 ; CHECK: f32.copysign $push1=, $pop{{[0-9]+}}, $pop0{{$}}
|
/external/llvm/test/CodeGen/X86/ |
D | sse-fcopysign.ll | 35 ; X32-NEXT: calll copysign 42 ; X64-NEXT: jmp copysign 45 %tmp = tail call double @copysign( double %a, double %tmp2 ) 50 declare double @copysign(double, double) 73 %tmp = tail call float @llvm.copysign.f32( float %b, float %a ) 101 %tmp = tail call double @llvm.copysign.f64( double %a, double %tmp2 ) 114 %tmp = tail call float @llvm.copysign.f32( float 1.0, float -2.0 ) 129 %tmp = tail call double @llvm.copysign.f64( double 0.0, double %tmp2 ) 133 declare float @llvm.copysign.f32(float %Mag, float %Sgn) 134 declare double @llvm.copysign.f64(double %Mag, double %Sgn)
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | fcopysign.f64.ll | 4 declare double @llvm.copysign.f64(double, double) nounwind readnone 5 declare <2 x double> @llvm.copysign.v2f64(<2 x double>, <2 x double>) nounwind readnone 6 declare <4 x double> @llvm.copysign.v4f64(<4 x double>, <4 x double>) nounwind readnone 21 %result = call double @llvm.copysign.f64(double %mag, double %sign) 29 %result = call <2 x double> @llvm.copysign.v2f64(<2 x double> %mag, <2 x double> %sign) 37 %result = call <4 x double> @llvm.copysign.v4f64(<4 x double> %mag, <4 x double> %sign)
|
D | fcopysign.f32.ll | 6 declare float @llvm.copysign.f32(float, float) nounwind readnone 7 declare <2 x float> @llvm.copysign.v2f32(<2 x float>, <2 x float>) nounwind readnone 8 declare <4 x float> @llvm.copysign.v4f32(<4 x float>, <4 x float>) nounwind readnone 25 %result = call float @llvm.copysign.f32(float %mag, float %sign) 36 %result = call <2 x float> @llvm.copysign.v2f32(<2 x float> %mag, <2 x float> %sign) 49 %result = call <4 x float> @llvm.copysign.v4f32(<4 x float> %mag, <4 x float> %sign)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/ |
D | fcopysign.f32.ll | 5 declare float @llvm.copysign.f32(float, float) nounwind readnone 6 declare <2 x float> @llvm.copysign.v2f32(<2 x float>, <2 x float>) nounwind readnone 7 declare <4 x float> @llvm.copysign.v4f32(<4 x float>, <4 x float>) nounwind readnone 23 %result = call float @llvm.copysign.f32(float %mag, float %sign) 34 %result = call <2 x float> @llvm.copysign.v2f32(<2 x float> %mag, <2 x float> %sign) 47 %result = call <4 x float> @llvm.copysign.v4f32(<4 x float> %mag, <4 x float> %sign)
|
D | fcopysign.f64.ll | 4 declare double @llvm.copysign.f64(double, double) nounwind readnone 5 declare <2 x double> @llvm.copysign.v2f64(<2 x double>, <2 x double>) nounwind readnone 6 declare <4 x double> @llvm.copysign.v4f64(<4 x double>, <4 x double>) nounwind readnone 21 %result = call double @llvm.copysign.f64(double %mag, double %sign) 38 %result = call double @llvm.copysign.f64(double %mag, double %c) 46 %result = call <2 x double> @llvm.copysign.v2f64(<2 x double> %mag, <2 x double> %sign) 54 %result = call <4 x double> @llvm.copysign.v4f64(<4 x double> %mag, <4 x double> %sign)
|
D | fcopysign.f16.ll | 5 declare half @llvm.copysign.f16(half, half) 6 declare float @llvm.copysign.f32(float, float) 7 declare double @llvm.copysign.f64(double, double) 8 declare <2 x half> @llvm.copysign.v2f16(<2 x half>, <2 x half>) 9 declare <3 x half> @llvm.copysign.v3f16(<3 x half>, <3 x half>) 10 declare <4 x half> @llvm.copysign.v4f16(<4 x half>, <4 x half>) 35 %out = call half @llvm.copysign.f16(half %mag, half %sign) 59 %out = call float @llvm.copysign.f32(float %mag.ext, float %sign) 84 %out = call double @llvm.copysign.f64(double %mag.ext, double %sign) 110 %out = call float @llvm.copysign.f32(float %mag, float %sign.ext) [all …]
|
/external/python/cpython2/Modules/ |
D | cmathmodule.c | 80 if (copysign(1., d) == 1.) in special_type() 86 if (copysign(1., d) == 1.) in special_type() 94 if (copysign(1., d) == 1.) in special_type() 139 r.imag = -copysign(log(hypot(z.real/2., z.imag/2.)) + in c_acos() 142 r.imag = copysign(log(hypot(z.real/2., z.imag/2.)) + in c_acos() 228 r.real = copysign(log(hypot(z.real/2., z.imag/2.)) + in c_asinh() 231 r.real = -copysign(log(hypot(z.real/2., z.imag/2.)) + in c_asinh() 277 if (copysign(1., z.real) == 1.) in c_atan2() 279 return copysign(0.25*Py_MATH_PI, z.imag); in c_atan2() 282 return copysign(0.75*Py_MATH_PI, z.imag); in c_atan2() [all …]
|
/external/python/cpython3/Modules/ |
D | cmathmodule.c | 162 if (copysign(1., d) == 1.) in special_type() 168 if (copysign(1., d) == 1.) in special_type() 176 if (copysign(1., d) == 1.) in special_type() 231 r.imag = -copysign(log(hypot(z.real/2., z.imag/2.)) + in cmath_acos_impl() 234 r.imag = copysign(log(hypot(z.real/2., z.imag/2.)) + in cmath_acos_impl() 325 r.real = copysign(log(hypot(z.real/2., z.imag/2.)) + in cmath_asinh_impl() 328 r.real = -copysign(log(hypot(z.real/2., z.imag/2.)) + in cmath_asinh_impl() 376 if (copysign(1., z.real) == 1.) in c_atan2() 378 return copysign(0.25*Py_MATH_PI, z.imag); in c_atan2() 381 return copysign(0.75*Py_MATH_PI, z.imag); in c_atan2() [all …]
|
/external/OpenCL-CTS/test_common/harness/ |
D | msvc9.c | 47 double copysign( double x, double y ) in copysign() function 96 double magic = copysign( 4503599627370496.0 /* 0x1.0p52 */, x ); in rint() 99 x = copysign( rounded, x ); in rint() 403 x = copysign( (double) rounded, x ); in trunc() 434 x = copysign( absx, x ); in lround() 469 return copysign( 0.0, x); in round() 476 x = copysign( absx, x ); in round() 526 return copysign( pow( fabs( x ), 1.0 / 3.0 ), x ); in cbrt() 538 double magic = copysign( 4503599627370496.0 /* 0x1.0p52 */, x ); in lrint()
|