Home
last modified time | relevance | path

Searched refs:half2float (Results 1 – 13 of 13) sorted by relevance

/external/eigen/Eigen/src/Core/arch/AVX/
DPacketMath.h988 EIGEN_STRONG_INLINE Packet8f half2float(const Packet8h& a) {
1028 return float2half(pmin<Packet8f>(half2float(a), half2float(b)));
1034 return float2half(pmax<Packet8f>(half2float(a), half2float(b)));
1062 return float2half(pround<Packet8f>(half2float(a)));
1066 return float2half(print<Packet8f>(half2float(a)));
1070 return float2half(pceil<Packet8f>(half2float(a)));
1074 return float2half(pfloor<Packet8f>(half2float(a)));
1078 return Pack16To8(pcmp_eq(half2float(a), half2float(b)));
1082 return Pack16To8(pcmp_le(half2float(a), half2float(b)));
1086 return Pack16To8(pcmp_lt(half2float(a), half2float(b)));
[all …]
DMathFunctions.h190 const Packet8h out = float2half(pfrexp<Packet8f>(half2float(a), fexponent)); in F16_PACKET_FUNCTION()
197 return float2half(pldexp<Packet8f>(half2float(a), half2float(exponent))); in pldexp()
DTypeCasting.h96 return half2float(a);
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp428 v.x.x = *Pointer<Float>(constants + OFFSET(Constants, half2float) + Int(x0) * 4); in readStream()
429 v.x.y = *Pointer<Float>(constants + OFFSET(Constants, half2float) + Int(x1) * 4); in readStream()
430 v.x.z = *Pointer<Float>(constants + OFFSET(Constants, half2float) + Int(x2) * 4); in readStream()
431 v.x.w = *Pointer<Float>(constants + OFFSET(Constants, half2float) + Int(x3) * 4); in readStream()
441 v.y.x = *Pointer<Float>(constants + OFFSET(Constants, half2float) + Int(y0) * 4); in readStream()
442 v.y.y = *Pointer<Float>(constants + OFFSET(Constants, half2float) + Int(y1) * 4); in readStream()
443 v.y.z = *Pointer<Float>(constants + OFFSET(Constants, half2float) + Int(y2) * 4); in readStream()
444 v.y.w = *Pointer<Float>(constants + OFFSET(Constants, half2float) + Int(y3) * 4); in readStream()
454 v.z.x = *Pointer<Float>(constants + OFFSET(Constants, half2float) + Int(z0) * 4); in readStream()
455 v.z.y = *Pointer<Float>(constants + OFFSET(Constants, half2float) + Int(z1) * 4); in readStream()
[all …]
DConstants.hpp134 float half2float[65536]; member
DConstants.cpp301 half2float[i] = static_cast<float>(bit_cast<half>(i)); in Constants()
/external/eigen/Eigen/src/Core/arch/AVX512/
DPacketMath.h1428 EIGEN_STRONG_INLINE Packet16f half2float(const Packet16h& a) {
1498 return float2half(pmin<Packet16f>(half2float(a), half2float(b)));
1504 return float2half(pmax<Packet16f>(half2float(a), half2float(b)));
1532 return float2half(pround<Packet16f>(half2float(a)));
1536 return float2half(print<Packet16f>(half2float(a)));
1540 return float2half(pceil<Packet16f>(half2float(a)));
1544 return float2half(pfloor<Packet16f>(half2float(a)));
1548 Packet16f af = half2float(a);
1549 Packet16f bf = half2float(b);
1554 return Pack32To16(pcmp_le(half2float(a), half2float(b)));
[all …]
DMathFunctions.h134 const Packet16h out = float2half(pfrexp<Packet16f>(half2float(a), fexponent)); in F16_PACKET_FUNCTION()
141 return float2half(pldexp<Packet16f>(half2float(a), half2float(exponent))); in pldexp()
DTypeCasting.h43 return half2float(a);
/external/ComputeLibrary/include/half/
Dhalf.hpp946 template<typename T> T half2float(uint16 value) in half2float() function
1106 operator float() const { return detail::half2float<float>(data_); } in operator float()
1146 …half& operator+=(float rhs) { data_ = detail::float2half<round_style>(detail::half2float<float>(da… in operator +=()
1151 …half& operator-=(float rhs) { data_ = detail::float2half<round_style>(detail::half2float<float>(da… in operator -=()
1156 …half& operator*=(float rhs) { data_ = detail::float2half<round_style>(detail::half2float<float>(da… in operator *=()
1161 …half& operator/=(float rhs) { data_ = detail::float2half<round_style>(detail::half2float<float>(da… in operator /=()
2089 static T cast_impl(half arg, true_type) { return half2float<T>(arg.data_); } in cast_impl()
/external/armnn/third-party/half/
Dhalf.hpp948 template<typename T> T half2float(uint16 value) in half2float() function
1108 operator float() const { return detail::half2float<float>(data_); } in operator float()
1148 …half& operator+=(float rhs) { data_ = detail::float2half<round_style>(detail::half2float<float>(da… in operator +=()
1153 …half& operator-=(float rhs) { data_ = detail::float2half<round_style>(detail::half2float<float>(da… in operator -=()
1158 …half& operator*=(float rhs) { data_ = detail::float2half<round_style>(detail::half2float<float>(da… in operator *=()
1163 …half& operator/=(float rhs) { data_ = detail::float2half<round_style>(detail::half2float<float>(da… in operator /=()
2091 static T cast_impl(half arg, true_type) { return half2float<T>(arg.data_); } in cast_impl()
/external/eigen/Eigen/src/Core/arch/Default/
DHalf.h57 return float2half(METHOD<PACKET_F>(half2float(_x))); \
/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Dpacking.inl111 GLM_FUNC_QUALIFIER glm::uint half2float(glm::uint h) function