Home
last modified time | relevance | path

Searched refs:sign_mask (Results 1 – 21 of 21) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/util/
Dparse_number.h125 uint64_t sign_mask = 0; in CheckRangeAndIfHexThenSignExtend() local
131 sign_mask = magnitude_mask + 1; in CheckRangeAndIfHexThenSignExtend()
138 ((value & sign_mask) != sign_mask); in CheckRangeAndIfHexThenSignExtend()
157 if (is_hex && (value & sign_mask)) in CheckRangeAndIfHexThenSignExtend()
Dhex_float.h338 static const uint_type sign_mask = uint_type(1) << top_bit_left_shift;
362 return static_cast<uint_type>(value_.data() & ~sign_mask);
386 if ((getBits() & ~sign_mask) == 0) { // special case if everything is 0
413 bool isNegative() const { return (getBits() & sign_mask) != 0; }
453 new_value = static_cast<uint_type>(new_value | sign_mask);
677 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask)));
692 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask |
751 const char* const sign = (bits & HF::sign_mask) ? "-" : "";
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dparse_number.h125 uint64_t sign_mask = 0; in CheckRangeAndIfHexThenSignExtend() local
131 sign_mask = magnitude_mask + 1; in CheckRangeAndIfHexThenSignExtend()
138 ((value & sign_mask) != sign_mask); in CheckRangeAndIfHexThenSignExtend()
157 if (is_hex && (value & sign_mask)) in CheckRangeAndIfHexThenSignExtend()
Dhex_float.h338 static const uint_type sign_mask = uint_type(1) << top_bit_left_shift;
362 return static_cast<uint_type>(value_.data() & ~sign_mask);
386 if ((getBits() & ~sign_mask) == 0) { // special case if everything is 0
413 bool isNegative() const { return (getBits() & sign_mask) != 0; }
453 new_value = static_cast<uint_type>(new_value | sign_mask);
677 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask)));
692 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask |
751 const char* const sign = (bits & HF::sign_mask) ? "-" : "";
/external/libaom/libaom/aom_dsp/arm/
Dloopfilter_neon.c176 const int8x8_t sign_mask = vdup_n_s8(0x80); in lpf_14_neon() local
180 pq_s0 = veor_s8(vreinterpret_s8_u8(*p0q0), sign_mask); in lpf_14_neon()
181 pq_s1 = veor_s8(vreinterpret_s8_u8(*p1q1), sign_mask); in lpf_14_neon()
211 oq0 = veor_s8(vqsub_s8(qs0_s8, filter1_s8), sign_mask); in lpf_14_neon()
212 op0 = veor_s8(vqadd_s8(ps0_s8, filter2_s8), sign_mask); in lpf_14_neon()
218 oq1 = veor_s8(vqsub_s8(qs1_s8, filter_s8), sign_mask); in lpf_14_neon()
219 op1 = veor_s8(vqadd_s8(ps1_s8, filter_s8), sign_mask); in lpf_14_neon()
357 const int8x8_t sign_mask = vdup_n_s8(0x80); in lpf_8_neon() local
361 pq_s0 = veor_s8(vreinterpret_s8_u8(*p0q0), sign_mask); in lpf_8_neon()
362 pq_s1 = veor_s8(vreinterpret_s8_u8(*p1q1), sign_mask); in lpf_8_neon()
[all …]
/external/virglrenderer/src/gallium/auxiliary/util/
Du_half.h49 uint32_t sign_mask = 0x80000000; in util_float_to_half() local
63 sign = f32.ui & sign_mask; in util_float_to_half()
/external/mesa3d/src/gallium/auxiliary/util/
Du_half.h49 uint32_t sign_mask = 0x80000000; in util_float_to_half() local
63 sign = f32.ui & sign_mask; in util_float_to_half()
/external/skia/src/core/
DSkHalf.cpp34 static const uint32_t sign_mask = 0x80000000u; in SkFloatToHalf() local
41 uint32_t sign = floatUnion.fUInt & sign_mask; in SkFloatToHalf()
/external/skqp/src/core/
DSkHalf.cpp34 static const uint32_t sign_mask = 0x80000000u; in SkFloatToHalf() local
41 uint32_t sign = floatUnion.fUInt & sign_mask; in SkFloatToHalf()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Druntime_fp16.cc71 unsigned int sign_mask = 0x80000000u; in __gnu_f2h_ieee() local
74 unsigned int sign = f.as_uint() & sign_mask; in __gnu_f2h_ieee()
/external/deqp-deps/glslang/SPIRV/
Dhex_float.h305 static const uint_type sign_mask = uint_type(1) << top_bit_left_shift;
330 ~sign_mask);
354 if ((getBits() & ~sign_mask) == 0) { // special case if everything is 0
381 bool isNegative() const { return (getBits() & sign_mask) != 0; }
421 new_value = static_cast<uint_type>(new_value | sign_mask);
607 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask)));
622 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask |
681 const char* const sign = (bits & HF::sign_mask) ? "-" : "";
/external/tensorflow/tensorflow/lite/experimental/micro/
Ddebug_log_numbers.cc112 const uint32_t sign_mask = 0x80000000; in FastFloatToBufferLeft() local
122 if (u & sign_mask) { in FastFloatToBufferLeft()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath.cc583 const int64 sign_mask = int64{1} << (bitwidth - 1); in NextAfter()
585 auto from_abs = And(from_as_int, ScalarLike(from_as_int, ~sign_mask)); in NextAfter()
586 auto to_abs = And(to_as_int, ScalarLike(to_as_int, ~sign_mask)); in NextAfter()
599 auto from_sign = And(from_as_int, ScalarLike(from_as_int, sign_mask)); in NextAfter()
600 auto to_sign = And(to_as_int, ScalarLike(to_as_int, sign_mask)); in NextAfter()
/external/eigen/unsupported/Eigen/src/MoreVectorization/
DMathFunctions.h29 _EIGEN_DECLARE_CONST_Packet4f_FROM_INT(sign_mask, 0x80000000); in pasin()
/external/eigen/Eigen/src/Core/arch/CUDA/
DHalf.h298 unsigned int sign_mask = 0x80000000u; in float_to_half_rtne()
302 unsigned int sign = f.u & sign_mask; in float_to_half_rtne()
/external/vixl/src/aarch64/
Dsimulator-aarch64.cc342 uint64_t sign_mask = (reg_size == kWRegSize) ? kWSignMask : kXSignMask; in AddWithCarry() local
359 uint64_t left_sign = left & sign_mask; in AddWithCarry()
360 uint64_t right_sign = right & sign_mask; in AddWithCarry()
361 uint64_t result_sign = result & sign_mask; in AddWithCarry()
2602 uint64_t sign_mask = UINT64_C(0x8000000000000000); in MultiplyHigh() local
2612 u1 = u >> 32 | (((u & sign_mask) != 0) ? sign_ext : 0); in MultiplyHigh()
2614 v1 = v >> 32 | (((v & sign_mask) != 0) ? sign_ext : 0); in MultiplyHigh()
2620 w2 = t >> 32 | (((t & sign_mask) != 0) ? sign_ext : 0); in MultiplyHigh()
2622 w1 = w1 >> 32 | (((w1 & sign_mask) != 0) ? sign_ext : 0); in MultiplyHigh()
/external/eigen/Eigen/src/Core/arch/SSE/
DMathFunctions.h269 _EIGEN_DECLARE_CONST_Packet4f_FROM_INT(sign_mask, 0x80000000);
/external/mesa3d/src/compiler/glsl/
Dlower_instructions.cpp550 ir_constant *sign_mask = new(ir) ir_constant(0x80000000u); in dldexp_to_arith() local
605 i.insert_before(assign(unpacked, bit_and(swizzle_y(unpacked), sign_mask->clone(ir, NULL)), in dldexp_to_arith()
/external/v8/src/arm64/
Dsimulator-arm64.cc798 T sign_mask = T(1) << (sizeof(T) * 8 - 1); in AddWithCarry() local
799 T left_sign = left & sign_mask; in AddWithCarry()
800 T right_sign = right & sign_mask; in AddWithCarry()
801 T result_sign = result & sign_mask; in AddWithCarry()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c2948 LLVMValueRef sign_mask = lp_build_const_int_vec(gallivm, bld->type, 0x80000000); in lp_build_sin_or_cos() local
2963 sign_mask, "sign_bit"); in lp_build_sin_or_cos()
/external/vixl/test/aarch64/
Dtest-assembler-aarch64.cc11533 uint16_t sign_mask = 0x8000; in MinMaxHelper() local
11534 if (IsZero(n) && IsZero(m) && ((raw_n & sign_mask) != (raw_m & sign_mask))) { in MinMaxHelper()