Home
last modified time | relevance | path

Searched refs:rounding_mode (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Support/
DAPFloat.cpp1116 APFloat::handleOverflow(roundingMode rounding_mode) in handleOverflow() argument
1119 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1120 rounding_mode == rmNearestTiesToAway || in handleOverflow()
1121 (rounding_mode == rmTowardPositive && !sign) || in handleOverflow()
1122 (rounding_mode == rmTowardNegative && sign)) { in handleOverflow()
1142 APFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero() argument
1152 switch (rounding_mode) { in roundAwayFromZero()
1181 APFloat::normalize(roundingMode rounding_mode, in normalize() argument
1202 return handleOverflow(rounding_mode); in normalize()
1248 if (roundAwayFromZero(rounding_mode, lost_fraction, 0)) { in normalize()
[all …]
/external/llvm/lib/Support/
DAPFloat.cpp1221 APFloat::handleOverflow(roundingMode rounding_mode) in handleOverflow() argument
1224 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1225 rounding_mode == rmNearestTiesToAway || in handleOverflow()
1226 (rounding_mode == rmTowardPositive && !sign) || in handleOverflow()
1227 (rounding_mode == rmTowardNegative && sign)) { in handleOverflow()
1247 APFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero() argument
1257 switch (rounding_mode) { in roundAwayFromZero()
1284 APFloat::normalize(roundingMode rounding_mode, in normalize() argument
1305 return handleOverflow(rounding_mode); in normalize()
1351 if (roundAwayFromZero(rounding_mode, lost_fraction, 0)) { in normalize()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPFloat.cpp1212 IEEEFloat::opStatus IEEEFloat::handleOverflow(roundingMode rounding_mode) { in handleOverflow() argument
1214 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1215 rounding_mode == rmNearestTiesToAway || in handleOverflow()
1216 (rounding_mode == rmTowardPositive && !sign) || in handleOverflow()
1217 (rounding_mode == rmTowardNegative && sign)) { in handleOverflow()
1236 bool IEEEFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero() argument
1245 switch (rounding_mode) { in roundAwayFromZero()
1271 IEEEFloat::opStatus IEEEFloat::normalize(roundingMode rounding_mode, in normalize() argument
1291 return handleOverflow(rounding_mode); in normalize()
1337 if (roundAwayFromZero(rounding_mode, lost_fraction, 0)) { in normalize()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_ext_inst_test.cpp3978 const std::string rounding_mode = in TEST_P() local
3985 << " %f32_1 %u32_1 %ptr" << rounding_mode << "\n"; in TEST_P()
3987 << " %f64_0 %u32_2 %ptr" << rounding_mode << "\n"; in TEST_P()
3990 << " %f32vec2_01 %u32_1 %ptr" << rounding_mode << "\n"; in TEST_P()
3992 << " %f32vec4_0123 %u32_0 %ptr" << rounding_mode << "\n"; in TEST_P()
3994 << " %f64vec2_01 %u32_2 %ptr" << rounding_mode << "\n"; in TEST_P()
4003 const std::string rounding_mode = in TEST_P() local
4010 << " %f32_1 %u64_1 %ptr" << rounding_mode << "\n"; in TEST_P()
4012 << " %f64_0 %u64_2 %ptr" << rounding_mode << "\n"; in TEST_P()
4015 << " %f32vec2_01 %u64_1 %ptr" << rounding_mode << "\n"; in TEST_P()
[all …]
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_ext_inst_test.cpp3978 const std::string rounding_mode = in TEST_P() local
3985 << " %f32_1 %u32_1 %ptr" << rounding_mode << "\n"; in TEST_P()
3987 << " %f64_0 %u32_2 %ptr" << rounding_mode << "\n"; in TEST_P()
3990 << " %f32vec2_01 %u32_1 %ptr" << rounding_mode << "\n"; in TEST_P()
3992 << " %f32vec4_0123 %u32_0 %ptr" << rounding_mode << "\n"; in TEST_P()
3994 << " %f64vec2_01 %u32_2 %ptr" << rounding_mode << "\n"; in TEST_P()
4003 const std::string rounding_mode = in TEST_P() local
4010 << " %f32_1 %u64_1 %ptr" << rounding_mode << "\n"; in TEST_P()
4012 << " %f64_0 %u64_2 %ptr" << rounding_mode << "\n"; in TEST_P()
4015 << " %f32vec2_01 %u64_1 %ptr" << rounding_mode << "\n"; in TEST_P()
[all …]
/external/v8/src/s390/
Dmacro-assembler-s390.h691 FPRoundingMode rounding_mode = kRoundToZero);
697 FPRoundingMode rounding_mode = kRoundToZero);
700 FPRoundingMode rounding_mode = kRoundToZero);
704 FPRoundingMode rounding_mode);
707 FPRoundingMode rounding_mode = kRoundToZero);
712 FPRoundingMode rounding_mode = kRoundToZero);
715 FPRoundingMode rounding_mode = kRoundToZero);
718 FPRoundingMode rounding_mode = kRoundToZero);
Dmacro-assembler-s390.cc732 FPRoundingMode rounding_mode) { in ConvertFloat32ToInt64() argument
734 switch (rounding_mode) { in ConvertFloat32ToInt64()
756 FPRoundingMode rounding_mode) { in ConvertDoubleToInt64() argument
758 switch (rounding_mode) { in ConvertDoubleToInt64()
780 FPRoundingMode rounding_mode) { in ConvertDoubleToInt32() argument
782 switch (rounding_mode) { in ConvertDoubleToInt32()
807 FPRoundingMode rounding_mode) { in ConvertFloat32ToInt32() argument
809 switch (rounding_mode) { in ConvertFloat32ToInt32()
834 FPRoundingMode rounding_mode) { in ConvertFloat32ToUnsignedInt32() argument
836 switch (rounding_mode) { in ConvertFloat32ToUnsignedInt32()
[all …]
/external/mesa3d/src/compiler/spirv/
Dvtn_alu.c598 nir_rounding_mode rounding_mode = nir_rounding_mode_undef; in vtn_handle_alu() local
600 vtn_foreach_decoration(b, val, handle_rounding_mode, &rounding_mode); in vtn_handle_alu()
601 nir_op op = nir_type_conversion_op(src_alu_type, dst_alu_type, rounding_mode); in vtn_handle_alu()
/external/vixl/src/aarch64/
Dlogic-aarch64.cc4722 FPRounding rounding_mode, in frint() argument
4728 SimFloat16 rounded = FPRoundInt(input, rounding_mode); in frint()
4737 float rounded = FPRoundInt(input, rounding_mode); in frint()
4747 double rounded = FPRoundInt(input, rounding_mode); in frint()
4761 FPRounding rounding_mode, in fcvts() argument
4768 dst.SetInt(vform, i, FPToInt16(op, rounding_mode)); in fcvts()
4773 dst.SetInt(vform, i, FPToInt32(op, rounding_mode)); in fcvts()
4779 dst.SetInt(vform, i, FPToInt64(op, rounding_mode)); in fcvts()
4789 FPRounding rounding_mode, in fcvtu() argument
4796 dst.SetUint(vform, i, FPToUInt16(op, rounding_mode)); in fcvtu()
[all …]
Dsimulator-aarch64.h2530 FPRounding rounding_mode);
2535 FPRounding rounding_mode);
2924 FPRounding rounding_mode,
2929 FPRounding rounding_mode,
2934 FPRounding rounding_mode,
/external/v8/src/ppc/
Dmacro-assembler-ppc.cc724 FPRoundingMode rounding_mode) { in ConvertDoubleToInt64() argument
725 if (rounding_mode == kRoundToZero) { in ConvertDoubleToInt64()
728 SetRoundingMode(rounding_mode); in ConvertDoubleToInt64()
743 const DoubleRegister double_dst, FPRoundingMode rounding_mode) { in ConvertDoubleToUnsignedInt64() argument
744 if (rounding_mode == kRoundToZero) { in ConvertDoubleToUnsignedInt64()
747 SetRoundingMode(rounding_mode); in ConvertDoubleToUnsignedInt64()
Dmacro-assembler-ppc.h129 FPRoundingMode rounding_mode = kRoundToZero);
137 FPRoundingMode rounding_mode = kRoundToZero);
/external/v8/src/arm64/
Dsimulator-arm64.h1730 FPRounding rounding_mode);
1733 FPRounding rounding_mode);
1967 const LogicVRegister& src, FPRounding rounding_mode,
1970 const LogicVRegister& src, FPRounding rounding_mode,
1973 const LogicVRegister& src, FPRounding rounding_mode,
Dsimulator-logic-arm64.cc3692 FPRounding rounding_mode, in frint() argument
3698 float rounded = FPRoundInt(input, rounding_mode); in frint()
3708 double rounded = FPRoundInt(input, rounding_mode); in frint()
3720 FPRounding rounding_mode, int fbits) { in fcvts() argument
3725 dst.SetInt(vform, i, FPToInt32(op, rounding_mode)); in fcvts()
3731 dst.SetInt(vform, i, FPToInt64(op, rounding_mode)); in fcvts()
3739 FPRounding rounding_mode, int fbits) { in fcvtu() argument
3744 dst.SetUint(vform, i, FPToUInt32(op, rounding_mode)); in fcvtu()
3750 dst.SetUint(vform, i, FPToUInt64(op, rounding_mode)); in fcvtu()
/external/v8/src/arm/
Ddisasm-arm.cc2482 int rounding_mode = instr->Bits(17, 16); in DecodeSpecialCondition() local
2483 switch (rounding_mode) { in DecodeSpecialCondition()
Dsimulator-arm.cc5517 int rounding_mode = instr->Bits(17, 16); in DecodeSpecialCondition() local
5518 switch (rounding_mode) { in DecodeSpecialCondition()
5543 int rounding_mode = instr->Bits(17, 16); in DecodeSpecialCondition() local
5544 switch (rounding_mode) { in DecodeSpecialCondition()
/external/v8/src/mips/
Dmacro-assembler-mips.h975 FPURoundingMode rounding_mode, Register result,
Dmacro-assembler-mips.cc2634 void MacroAssembler::EmitFPUTruncate(FPURoundingMode rounding_mode, in EmitFPUTruncate() argument
2670 switch (rounding_mode) { in EmitFPUTruncate()
/external/v8/src/mips64/
Dmacro-assembler-mips64.h1021 FPURoundingMode rounding_mode, Register result,
Dmacro-assembler-mips64.cc3131 void MacroAssembler::EmitFPUTruncate(FPURoundingMode rounding_mode, in EmitFPUTruncate() argument
3167 switch (rounding_mode) { in EmitFPUTruncate()