/external/clang/include/clang/Frontend/ |
D | LangStandards.def | 55 LineComment | C99 | Digraphs | HexFloat) 58 LineComment | C99 | Digraphs | HexFloat) 61 LineComment | C99 | Digraphs | HexFloat) 64 LineComment | C99 | Digraphs | HexFloat) 68 LineComment | C99 | Digraphs | GNUMode | HexFloat) 71 LineComment | C99 | Digraphs | GNUMode | HexFloat) 76 LineComment | C99 | C11 | Digraphs | HexFloat) 79 LineComment | C99 | C11 | Digraphs | HexFloat) 82 LineComment | C99 | C11 | Digraphs | HexFloat) 85 LineComment | C99 | C11 | Digraphs | HexFloat) [all …]
|
D | LangStandard.h | 31 HexFloat = (1 << 10), enumerator 89 bool hasHexFloats() const { return Flags & frontend::HexFloat; } in hasHexFloats()
|
/external/deqp-deps/glslang/gtests/ |
D | HexFloat.cpp | 30 using spvutils::HexFloat; 49 ss << spvutils::HexFloat<T>(value); in EncodeViaHexFloat() 67 spvutils::HexFloat<FloatProxy<T>> decoded(0.f); in Decode() 540 return spvutils::HexFloat<spvutils::FloatProxy<float>>( in unbiased_exponent() 545 return spvutils::HexFloat<spvutils::FloatProxy<spvutils::Float16>>(f) in unbiased_half_exponent() 595 return spvutils::HexFloat<spvutils::FloatProxy<float>>( in normalized_significand() 648 spvutils::HexFloat<spvutils::FloatProxy<float>> f(0.f); in set_from_sign() 689 using HF = spvutils::HexFloat<spvutils::FloatProxy<float>>; in TEST() 738 using HF = spvutils::HexFloat<spvutils::FloatProxy<float>>; in TEST_P() 739 using HF16 = spvutils::HexFloat<spvutils::FloatProxy<spvutils::Float16>>; in TEST_P() [all …]
|
D | CMakeLists.txt | 18 ${CMAKE_CURRENT_SOURCE_DIR}/HexFloat.cpp
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 53 ss << HexFloat<T>(value); in EncodeViaHexFloat() 71 HexFloat<FloatProxy<T>> decoded(0.f); in Decode() 578 return HexFloat<FloatProxy<float>>(static_cast<float>(f)) in unbiased_exponent() 583 return HexFloat<FloatProxy<Float16>>(f).getUnbiasedNormalizedExponent(); in unbiased_half_exponent() 594 HexFloat<FloatProxy<float>>(std::numeric_limits<float>::infinity()) in TEST() 635 return HexFloat<FloatProxy<float>>( in normalized_significand() 693 HexFloat<FloatProxy<float>> f(0.f); in set_from_sign() 736 using HF = HexFloat<FloatProxy<float>>; in TEST() 783 using HF = HexFloat<FloatProxy<float>>; in TEST_P() 784 using HF16 = HexFloat<FloatProxy<Float16>>; in TEST_P() [all …]
|
D | parse_number_test.cpp | 192 HexFloat<FloatProxy<float>> f(0.0f); in TEST() 237 HexFloat<FloatProxy<double>> f(0.0); in TEST() 257 HexFloat<FloatProxy<Float16>> f(0); in TEST()
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 53 ss << HexFloat<T>(value); in EncodeViaHexFloat() 71 HexFloat<FloatProxy<T>> decoded(0.f); in Decode() 578 return HexFloat<FloatProxy<float>>(static_cast<float>(f)) in unbiased_exponent() 583 return HexFloat<FloatProxy<Float16>>(f).getUnbiasedNormalizedExponent(); in unbiased_half_exponent() 594 HexFloat<FloatProxy<float>>(std::numeric_limits<float>::infinity()) in TEST() 635 return HexFloat<FloatProxy<float>>( in normalized_significand() 693 HexFloat<FloatProxy<float>> f(0.f); in set_from_sign() 736 using HF = HexFloat<FloatProxy<float>>; in TEST() 783 using HF = HexFloat<FloatProxy<float>>; in TEST_P() 784 using HF16 = HexFloat<FloatProxy<Float16>>; in TEST_P() [all …]
|
D | parse_number_test.cpp | 192 HexFloat<FloatProxy<float>> f(0.0f); in TEST() 237 HexFloat<FloatProxy<double>> f(0.0); in TEST() 257 HexFloat<FloatProxy<Float16>> f(0); in TEST()
|
/external/deqp-deps/glslang/SPIRV/ |
D | hex_float.h | 253 class HexFloat { 260 explicit HexFloat(T f) : value_(f) {} 668 std::ostream& operator<<(std::ostream& os, const HexFloat<T, Traits>& value) { 669 typedef HexFloat<T, Traits> HF; 744 HexFloat<T, Traits>& value) { 750 value = HexFloat<T, Traits>(typename HexFloat<T, Traits>::uint_type(0)); 770 HexFloat<T, Traits>& value) { 782 value = HexFloat<T, Traits>(typename HexFloat<T, Traits>::uint_type(0)); 810 HexFloat<FloatProxy<Float16>, HexFloatTraits<FloatProxy<Float16>>>& value) { 812 HexFloat<FloatProxy<float>> float_val(0.0f); [all …]
|
D | SpvBuilder.cpp | 942 spvutils::HexFloat<spvutils::FloatProxy<float>> fVal(f16); in makeFloat16Constant() 943 spvutils::HexFloat<spvutils::FloatProxy<spvutils::Float16>> f16Val(0); in makeFloat16Constant()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderPackingFunctionTests.cpp | 54 struct HexFloat struct 57 HexFloat (const float value_) : value(value_) {} in HexFloat() function 60 std::ostream& operator<< (std::ostream& str, const HexFloat& v) in operator <<() 317 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate() 318 << ", got vec2(" << HexFloat(res0) << ", " << HexFloat(res1) << ")" in iterate() 508 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate() 509 << ", got vec2(" << HexFloat(res0) << ", " << HexFloat(res1) << ")" in iterate() 933 …<< "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFlo… in iterate() 934 …<< ", got vec4(" << HexFloat(res0) << ", " << HexFloat(res1) << ", " << HexFloat(res2) << ", " << … in iterate() 1142 …<< "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFlo… in iterate() [all …]
|
D | es31fShaderCommonFunctionTests.cpp | 334 struct HexFloat struct 337 HexFloat (const float value_) : value(value_) {} in HexFloat() argument 340 std::ostream& operator<< (std::ostream& str, const HexFloat& v) in operator <<() 382 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 554 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare() 648 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare() 754 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare() 852 …<< "Expected [" << compNdx << "] = (" << HexFloat(refOut0) << ") + (" << HexFloat(refOut1) << ") =… in compare() 1211 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare() 1319 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare() [all …]
|
D | es31fShaderIntegerFunctionTests.cpp | 58 struct HexFloat struct 61 HexFloat (const float value_) : value(value_) {} in HexFloat() function 64 std::ostream& operator<< (std::ostream& str, const HexFloat& v) in operator <<() 95 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<()
|
/external/deqp-deps/SPIRV-Tools/source/util/ |
D | hex_float.h | 287 class HexFloat { 294 explicit HexFloat(T f) : value_(f) {} 738 std::ostream& operator<<(std::ostream& os, const HexFloat<T, Traits>& value) { 739 using HF = HexFloat<T, Traits>; 814 HexFloat<T, Traits>& value) { 820 value = HexFloat<T, Traits>(typename HexFloat<T, Traits>::uint_type{0}); 840 HexFloat<T, Traits>& value) { 852 value = HexFloat<T, Traits>(typename HexFloat<T, Traits>::uint_type{0}); 880 HexFloat<FloatProxy<Float16>, HexFloatTraits<FloatProxy<Float16>>>& value) { 882 HexFloat<FloatProxy<float>> float_val(0.0f); [all …]
|
D | parse_number.cpp | 150 HexFloat<FloatProxy<Float16>> hVal(0); in ParseAndEncodeFloatingPointNumber() 163 HexFloat<FloatProxy<float>> fVal(0.0f); in ParseAndEncodeFloatingPointNumber() 172 HexFloat<FloatProxy<double>> dVal(0.0); in ParseAndEncodeFloatingPointNumber()
|
/external/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | hex_float.h | 287 class HexFloat { 294 explicit HexFloat(T f) : value_(f) {} 738 std::ostream& operator<<(std::ostream& os, const HexFloat<T, Traits>& value) { 739 using HF = HexFloat<T, Traits>; 814 HexFloat<T, Traits>& value) { 820 value = HexFloat<T, Traits>(typename HexFloat<T, Traits>::uint_type{0}); 840 HexFloat<T, Traits>& value) { 852 value = HexFloat<T, Traits>(typename HexFloat<T, Traits>::uint_type{0}); 880 HexFloat<FloatProxy<Float16>, HexFloatTraits<FloatProxy<Float16>>>& value) { 882 HexFloat<FloatProxy<float>> float_val(0.0f); [all …]
|
D | parse_number.cpp | 150 HexFloat<FloatProxy<Float16>> hVal(0); in ParseAndEncodeFloatingPointNumber() 163 HexFloat<FloatProxy<float>> fVal(0.0f); in ParseAndEncodeFloatingPointNumber() 172 HexFloat<FloatProxy<double>> dVal(0.0); in ParseAndEncodeFloatingPointNumber()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderPackingFunctionTests.cpp | 56 struct HexFloat struct 59 HexFloat (const float value_) : value(value_) {} in HexFloat() argument 62 std::ostream& operator<< (std::ostream& str, const HexFloat& v) in operator <<() 336 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate() 337 << ", got vec2(" << HexFloat(res0) << ", " << HexFloat(res1) << ")" in iterate() 559 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate() 560 << ", got vec2(" << HexFloat(res0) << ", " << HexFloat(res1) << ")" in iterate() 1124 …<< "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFlo… in iterate() 1125 …<< ", got vec4(" << HexFloat(res0) << ", " << HexFloat(res1) << ", " << HexFloat(res2) << ", " << … in iterate() 1367 …<< "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFlo… in iterate() [all …]
|
D | vktShaderCommonFunctionTests.cpp | 277 struct HexFloat struct 280 HexFloat (const float value_) : value(value_) {} in HexFloat() argument 283 std::ostream& operator<< (std::ostream& str, const HexFloat& v) in operator <<() 325 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 629 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare() 737 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare() 857 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare() 968 …<< "Expected [" << compNdx << "] = (" << HexFloat(refOut0) << ") + (" << HexFloat(refOut1) << ") =… in compare() 1417 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare() 1539 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare() [all …]
|
D | vktShaderIntegerFunctionTests.cpp | 60 struct HexFloat struct 63 HexFloat (const float value_) : value(value_) {} in HexFloat() function 66 std::ostream& operator<< (std::ostream& str, const HexFloat& v) in operator <<() 97 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderPackingFunctionTests.cpp | 54 struct HexFloat struct 57 HexFloat (const float value_) : value(value_) {} in HexFloat() function 60 std::ostream& operator<< (std::ostream& str, const HexFloat& v) in operator <<() 313 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate() 314 << ", got vec2(" << HexFloat(res0) << ", " << HexFloat(res1) << ")" in iterate() 504 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate() 505 << ", got vec2(" << HexFloat(res0) << ", " << HexFloat(res1) << ")" in iterate()
|
D | es3fShaderCommonFunctionTests.cpp | 260 struct HexFloat struct 263 HexFloat (const float value_) : value(value_) {} in HexFloat() argument 266 std::ostream& operator<< (std::ostream& str, const HexFloat& v) in operator <<() 308 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 476 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare() 570 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare() 676 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare() 774 …<< "Expected [" << compNdx << "] = (" << HexFloat(refOut0) << ") + (" << HexFloat(refOut1) << ") =… in compare() 1128 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare() 1236 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare() [all …]
|