/third_party/skia/third_party/externals/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) ? "-" : "";
|
/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 | 339 static const uint_type sign_mask = uint_type(1) << top_bit_left_shift; 363 return static_cast<uint_type>(value_.data() & ~sign_mask); 387 if ((getBits() & ~sign_mask) == 0) { // special case if everything is 0 414 bool isNegative() const { return (getBits() & sign_mask) != 0; } 454 new_value = static_cast<uint_type>(new_value | sign_mask); 678 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask))); 693 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask | 752 const char* const sign = (bits & HF::sign_mask) ? "-" : "";
|
/third_party/skia/third_party/externals/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) ? "-" : "";
|
/third_party/lame/libmp3lame/vector/ |
D | xmm_quantize_sub.c | 195 static const vecfloat_union sign_mask = {{0x80000000,0,0,0}}; in fht_SSE2() local 196 v_c1 = _mm_xor_ps(sign_mask._m128, v_c1); /* v_c1 := {-c1, +c1, +c1, +c1} */ in fht_SSE2() 199 static const vecfloat_union sign_mask = {{0,0x80000000,0,0}}; in fht_SSE2() local 200 v_s1 = _mm_xor_ps(sign_mask._m128, v_s1); /* v_s1 := {+s1, -s1, +s1, +s1} */ in fht_SSE2() 203 static const vecfloat_union sign_mask = {{0,0,0x80000000,0x80000000}}; in fht_SSE2() local 204 v_c2 = _mm_xor_ps(sign_mask._m128, v_c2); /* v_c2 := {+c2, +c2, -c2, -c2} */ in fht_SSE2()
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | bits.h | 18 static inline unsigned long long sign_mask(unsigned size) in sign_mask() function 39 val |= ~sign_mask(size); in sign_extend()
|
D | simplify.c | 1185 if (value == sign_mask(size)) // (x < SMAX) --> (x != SMAX) in simplify_compare_constant() 1195 if (value == sign_mask(size)) // (x <= SMAX) --> 1 in simplify_compare_constant() 1199 if (value == sign_mask(size) - 1) // (x <= SMAX - 1) --> (x != SMAX) in simplify_compare_constant() 1200 return replace_binop_value(insn, OP_SET_NE, sign_mask(size)); in simplify_compare_constant() 1209 if (value == sign_mask(size)) // (x >= SMAX) --> (x == SMAX) in simplify_compare_constant() 1219 if (value == sign_mask(size)) // (x > SMAX) --> 0 in simplify_compare_constant() 1223 if (value == sign_mask(size) - 1) // (x > SMAX - 1) --> (x == SMAX) in simplify_compare_constant() 1224 return replace_binop_value(insn, OP_SET_EQ, sign_mask(size)); in simplify_compare_constant()
|
/third_party/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()
|
/third_party/glslang/SPIRV/ |
D | hex_float.h | 292 static const uint_type sign_mask = uint_type(1) << top_bit_left_shift; 317 ~sign_mask); 341 if ((getBits() & ~sign_mask) == 0) { // special case if everything is 0 368 bool isNegative() const { return (getBits() & sign_mask) != 0; } 408 new_value = static_cast<uint_type>(new_value | sign_mask); 594 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask))); 609 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask | 668 const char* const sign = (bits & HF::sign_mask) ? "-" : "";
|
/third_party/ffmpeg/libavcodec/ |
D | cfhdenc.c | 250 const int sign_mask = 256; in cfhd_encode_init() local 251 const int twos_complement = -sign_mask; in cfhd_encode_init() 252 const int mag_mask = sign_mask - 1; in cfhd_encode_init() 321 int value = (i & sign_mask) ? twos_complement + (i & mag_mask): i; in cfhd_encode_init()
|
/third_party/astc-encoder/Source/ |
D | astcenc_vecmathlib.h | 214 vint sign_mask(static_cast<int>(0x80000000)); in change_sign() 215 vint r = ia ^ (ib & sign_mask); in change_sign()
|
/third_party/vixl/src/ |
D | utils-vixl.h | 1160 uint64_t sign_mask = UINT64_C(1) << (N - 1); 1172 u1 = u >> half_bits | (((u & sign_mask) != 0) ? sign_ext : 0); 1174 v1 = v >> half_bits | (((v & sign_mask) != 0) ? sign_ext : 0); 1180 w2 = t >> half_bits | (((t & sign_mask) != 0) ? sign_ext : 0); 1182 w1 = w1 >> half_bits | (((w1 & sign_mask) != 0) ? sign_ext : 0);
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_builtin_builder.c | 70 uint64_t sign_mask = 1ull << (x->bit_size - 1); in nir_nextafter() local 94 nir_imm_intN_t(b, sign_mask | min_abs, x->bit_size), in nir_nextafter()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_vcn_dec.h | 1065 unsigned char sign_mask[2]; member
|
/third_party/mesa3d/src/compiler/glsl/ |
D | lower_instructions.cpp | 343 ir_constant *sign_mask = new(ir) ir_constant(0x80000000u); in dldexp_to_arith() local 398 i.insert_before(assign(unpacked, bit_and(swizzle_y(unpacked), sign_mask->clone(ir, NULL)), in dldexp_to_arith()
|
/third_party/vixl/src/aarch64/ |
D | simulator-aarch64.cc | 829 uint64_t sign_mask = (reg_size == kWRegSize) ? kWSignMask : kXSignMask; in Simulator() local 846 uint64_t left_sign = left & sign_mask; in Simulator() 847 uint64_t right_sign = right & sign_mask; in Simulator() 848 uint64_t result_sign = result & sign_mask; in Simulator() 10745 uint64_t sign_mask = UINT64_C(1) << (n - 1); in Simulator() local 10751 bool result_negative = ((result & sign_mask) != 0); in Simulator() 10755 bool acc_negative = ((acc & sign_mask) != 0); in Simulator() 10765 result = mask & ~sign_mask; // E.g. 0x000000007fffffff in Simulator() 10769 result = ~mask | sign_mask; // E.g. 0xffffffff80000000 in Simulator()
|
/third_party/node/deps/v8/src/execution/arm64/ |
D | simulator-arm64.cc | 1065 T sign_mask = T(1) << (sizeof(T) * 8 - 1); in AddWithCarry() local 1066 T left_sign = left & sign_mask; in AddWithCarry() 1067 T right_sign = right & sign_mask; in AddWithCarry() 1068 T result_sign = result & sign_mask; in AddWithCarry()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_arit.c | 2873 LLVMValueRef sign_mask = lp_build_const_int_vec(gallivm, bld->type, 0x80000000); in lp_build_sin_or_cos() local 2888 sign_mask, "sign_bit"); in lp_build_sin_or_cos()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | nir_to_vir.c | 1405 uint32_t sign_mask = 1 << (src_bit_size - 1); in sign_extend() local 1408 tmp, vir_uniform_ui(c, sign_mask)); in sign_extend()
|
/third_party/node/deps/v8/src/compiler/ |
D | effect-control-linearizer.cc | 2920 Node* sign_mask = __ Word64Sar(value, __ Int64Constant(63)); in LowerChangeInt64ToBigInt() local 2921 Node* absolute_value = __ Int64Sub(__ Word64Xor(value, sign_mask), sign_mask); in LowerChangeInt64ToBigInt()
|
/third_party/vixl/test/aarch64/ |
D | test-assembler-neon-aarch64.cc | 10617 uint16_t sign_mask = 0x8000; in MinMaxHelper() local 10618 if (IsZero(n) && IsZero(m) && ((raw_n & sign_mask) != (raw_m & sign_mask))) { in MinMaxHelper()
|