Home
last modified time | relevance | path

Searched defs:fp32 (Results 1 – 25 of 63) sorted by relevance

123

/aosp_15_r20/external/FP16/bench/
H A Dieee-element.cc48 const uint32_t fp32 = fp16_ieee_to_fp32_bits(fp16); in fp16_ieee_to_fp32_bits() local
59 const float fp32 = fp16_ieee_to_fp32_value(fp16); in fp16_ieee_to_fp32_value() local
71 const psimd_f32 fp32 = fp16_ieee_to_fp32_psimd(fp16); in fp16_ieee_to_fp32_psimd() local
83 const psimd_f32x2 fp32 = fp16_ieee_to_fp32x2_psimd(fp16); in fp16_ieee_to_fp32x2_psimd() local
96 float fp32; in TH_halfbits2float() local
108 const uint32_t fp32 = npy_halfbits_to_floatbits(fp16); in npy_halfbits_to_floatbits() local
119 const float fp32 = in Eigen_half_to_float() local
132 const float fp32 = Float16Compressor::decompress(fp16); in Float16Compressor_decompress() local
143 const float fp32 = in half_float_detail_half2float_table() local
156 const float fp32 = in half_float_detail_half2float_branch() local
[all …]
H A Dfrom-ieee-array.cc36 std::vector<uint32_t> fp32(state.range(0)); in fp16_ieee_to_fp32_bits() local
61 std::vector<float> fp32(state.range(0)); in fp16_ieee_to_fp32_value() local
87 std::vector<float> fp32(state.range(0)); in fp16_ieee_to_fp32_psimd() local
117 std::vector<float> fp32(state.range(0)); in fp16_ieee_to_fp32x2_psimd() local
148 std::vector<float> fp32(state.range(0)); in hardware_mm_cvtph_ps() local
175 std::vector<float> fp32(state.range(0)); in hardware_mm256_cvtph_ps() local
204 std::vector<float> fp32(state.range(0)); in hardware_vcvt_f32_f16() local
249 std::vector<float> fp32(state.range(0)); in TH_halfbits2float() local
274 std::vector<uint32_t> fp32(state.range(0)); in npy_halfbits_to_floatbits() local
299 std::vector<float> fp32(state.range(0)); in Eigen_half_to_float() local
[all …]
H A Dto-ieee-array.cc35 std::vector<float> fp32(state.range(0)); in fp16_ieee_from_fp32_value() local
60 std::vector<float> fp32(state.range(0)); in hardware_mm_cvtps_ph() local
86 std::vector<float> fp32(state.range(0)); in hardware_mm256_cvtps_ph() local
114 std::vector<float> fp32(state.range(0)); in hardware_vcvt_f16_f32() local
158 std::vector<float> fp32(state.range(0)); in TH_float2halfbits() local
182 std::vector<float> fp32(state.range(0)); in npy_floatbits_to_halfbits() local
206 std::vector<float> fp32(state.range(0)); in Eigen_float_to_half_rtne() local
230 std::vector<float> fp32(state.range(0)); in Float16Compressor_compress() local
254 std::vector<float> fp32(state.range(0)); in half_float_detail_float2half_table() local
280 std::vector<float> fp32(state.range(0)); in half_float_detail_float2half_branch() local
/aosp_15_r20/prebuilts/vndk/v30/arm/include/frameworks/native/libs/math/include/math/
Dhalf.h69 struct fp32 { struct
74 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
75 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
76 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
77 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
78 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
79 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
80 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
81 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v33/x86/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() argument
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v34/x86_64/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v31/arm/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v34/arm64/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v31/x86_64/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() argument
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v32/arm/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() function
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() argument
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v30/x86_64/include/frameworks/native/libs/math/include/math/
Dhalf.h69 struct fp32 { struct
74 explicit constexpr fp32() noexcept : bits(0) { } in fp32() function
75 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() argument
76 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
77 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
78 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
79 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
80 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
81 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v34/x86/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() argument
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v34/arm/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() argument
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v30/x86/include/frameworks/native/libs/math/include/math/
Dhalf.h69 struct fp32 { struct
74 explicit constexpr fp32() noexcept : bits(0) { } in fp32() function
75 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
76 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
77 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
78 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
79 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
80 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
81 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v32/x86_64/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() function
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v32/x86/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v32/arm64/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() function
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v33/arm64/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() argument
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v33/arm/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v33/x86_64/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v31/arm64/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v31/x86/include/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/prebuilts/vndk/v30/arm64/include/frameworks/native/libs/math/include/math/
Dhalf.h69 struct fp32 { struct
74 explicit constexpr fp32() noexcept : bits(0) { } in fp32() function
75 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() argument
76 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
77 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
78 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
79 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
80 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
81 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/frameworks/native/libs/math/include/math/
H A Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() function
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/aosp_15_r20/external/FP16/test/
H A Dieee-to-fp32x2-psimd.cc22 const psimd_u32x2 fp32 = in TEST() local
79 const psimd_u32x2 fp32 = in TEST() local
198 const psimd_u32x2 fp32 = in TEST() local
319 const psimd_u32x2 fp32 = in TEST() local
380 const psimd_u32x2 fp32 = in TEST() local
439 const psimd_u32x2 fp32 = in TEST() local
497 const psimd_u32x2 fp32 = in TEST() local

123