/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 3077 APFloat Frac(APFloat::IEEEdouble); in TEST() local 3080 Frac = frexp(PZero, Exp, RM); in TEST() 3082 EXPECT_TRUE(Frac.isPosZero()); in TEST() 3084 Frac = frexp(MZero, Exp, RM); in TEST() 3086 EXPECT_TRUE(Frac.isNegZero()); in TEST() 3089 Frac = frexp(One, Exp, RM); in TEST() 3091 EXPECT_TRUE(APFloat(APFloat::IEEEdouble, "0x1p-1").bitwiseIsEqual(Frac)); in TEST() 3093 Frac = frexp(MOne, Exp, RM); in TEST() 3095 EXPECT_TRUE(APFloat(APFloat::IEEEdouble, "-0x1p-1").bitwiseIsEqual(Frac)); in TEST() 3097 Frac = frexp(LargestDenormal, Exp, RM); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 3169 APFloat Frac(APFloat::IEEEdouble()); in TEST() local 3172 Frac = frexp(PZero, Exp, RM); in TEST() 3174 EXPECT_TRUE(Frac.isPosZero()); in TEST() 3176 Frac = frexp(MZero, Exp, RM); in TEST() 3178 EXPECT_TRUE(Frac.isNegZero()); in TEST() 3181 Frac = frexp(One, Exp, RM); in TEST() 3183 EXPECT_TRUE(APFloat(APFloat::IEEEdouble(), "0x1p-1").bitwiseIsEqual(Frac)); in TEST() 3185 Frac = frexp(MOne, Exp, RM); in TEST() 3187 EXPECT_TRUE(APFloat(APFloat::IEEEdouble(), "-0x1p-1").bitwiseIsEqual(Frac)); in TEST() 3189 Frac = frexp(LargestDenormal, Exp, RM); in TEST() [all …]
|
/external/swiftshader/src/Pipeline/ |
D | ShaderCore.cpp | 1325 dst.x = Frac(src.x); in frc() 1326 dst.y = Frac(src.y); in frc() 1327 dst.z = Frac(src.z); in frc() 1328 dst.w = Frac(src.w); in frc() 1368 …T(dst.x, src.x) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.x), Float4(0.5f… in roundEven() 1369 …T(dst.y, src.y) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.y), Float4(0.5f… in roundEven() 1370 …T(dst.z, src.z) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.z), Float4(0.5f… in roundEven() 1371 …T(dst.w, src.w) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.w), Float4(0.5f… in roundEven() 1700 Float4 frc = Frac(src.x); in expp()
|
D | SamplerCore.cpp | 981 Float4 lod4 = Float4(Frac(lod)); in sampleFloatFilter() 2254 coord = one - Abs(two * Frac(coord * half) - one); in address() 2262 coord = one - Abs(two * Frac(Min(Max(coord, -one), two) * half) - one); in address() 2266 coord = Frac(coord); in address()
|
/external/swiftshader/src/Shader/ |
D | ShaderCore.cpp | 1325 dst.x = Frac(src.x); in frc() 1326 dst.y = Frac(src.y); in frc() 1327 dst.z = Frac(src.z); in frc() 1328 dst.w = Frac(src.w); in frc() 1368 …T(dst.x, src.x) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.x), Float4(0.5f… in roundEven() 1369 …T(dst.y, src.y) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.y), Float4(0.5f… in roundEven() 1370 …T(dst.z, src.z) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.z), Float4(0.5f… in roundEven() 1371 …T(dst.w, src.w) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.w), Float4(0.5f… in roundEven() 1700 Float4 frc = Frac(src.x); in expp()
|
D | SamplerCore.cpp | 1072 Float4 lod4 = Float4(Frac(lod)); in sampleFloatFilter() 2396 coord = one - Abs(two * Frac(coord * half) - one); in address() 2404 coord = one - Abs(two * Frac(Min(Max(coord, -one), two) * half) - one); in address() 2408 coord = Frac(coord); in address()
|
/external/swiftshader/src/Reactor/ |
D | Reactor.hpp | 1987 RValue<Float> Frac(RValue<Float> val); 2137 RValue<Float4> Frac(RValue<Float4> x);
|
D | LLVMReactor.cpp | 6348 RValue<Float> Frac(RValue<Float> x) in Frac() function 6357 return Float4(Frac(Float4(x))).x; in Frac() 6821 RValue<Float4> Frac(RValue<Float4> x) in Frac() function 6854 return x - Frac(x); in Floor()
|
D | SubzeroReactor.cpp | 6640 RValue<Float> Frac(RValue<Float> x) in Frac() function 6642 return Float4(Frac(Float4(x))).x; in Frac() 7107 RValue<Float4> Frac(RValue<Float4> x) in Frac() function 7143 return x - Frac(x); in Floor()
|