/external/deqp-deps/SPIRV-Tools/source/util/ |
D | parse_number.h | 125 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()
|
D | hex_float.h | 338 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/ |
D | parse_number.h | 125 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()
|
D | hex_float.h | 338 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/ |
D | loopfilter_neon.c | 176 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/ |
D | u_half.h | 49 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/ |
D | u_half.h | 49 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/ |
D | SkHalf.cpp | 34 static const uint32_t sign_mask = 0x80000000u; in SkFloatToHalf() local 41 uint32_t sign = floatUnion.fUInt & sign_mask; in SkFloatToHalf()
|
/external/skqp/src/core/ |
D | SkHalf.cpp | 34 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/ |
D | runtime_fp16.cc | 71 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/ |
D | hex_float.h | 305 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/ |
D | debug_log_numbers.cc | 112 const uint32_t sign_mask = 0x80000000; in FastFloatToBufferLeft() local 122 if (u & sign_mask) { in FastFloatToBufferLeft()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | math.cc | 583 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/ |
D | MathFunctions.h | 29 _EIGEN_DECLARE_CONST_Packet4f_FROM_INT(sign_mask, 0x80000000); in pasin()
|
/external/eigen/Eigen/src/Core/arch/CUDA/ |
D | Half.h | 298 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/ |
D | simulator-aarch64.cc | 342 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/ |
D | MathFunctions.h | 269 _EIGEN_DECLARE_CONST_Packet4f_FROM_INT(sign_mask, 0x80000000);
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_instructions.cpp | 550 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/ |
D | simulator-arm64.cc | 798 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/ |
D | lp_bld_arit.c | 2948 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/ |
D | test-assembler-aarch64.cc | 11533 uint16_t sign_mask = 0x8000; in MinMaxHelper() local 11534 if (IsZero(n) && IsZero(m) && ((raw_n & sign_mask) != (raw_m & sign_mask))) { in MinMaxHelper()
|