Home
last modified time | relevance | path

Searched refs:sign_bit (Results 1 – 25 of 33) sorted by relevance

12

/external/ImageMagick/MagickCore/
Dquantum-private.h131 sign_bit; in HalfToSinglePrecision() local
146 sign_bit=(unsigned int) ((half >> 15) & 0x00000001); in HalfToSinglePrecision()
152 value=sign_bit << SignBitShift; in HalfToSinglePrecision()
163 value=(sign_bit << SignBitShift) | (exponent << ExponentShift) | in HalfToSinglePrecision()
170 value=(sign_bit << SignBitShift) | 0x7f800000; in HalfToSinglePrecision()
178 value=(sign_bit << SignBitShift) | (exponent << ExponentShift) | in HalfToSinglePrecision()
718 sign_bit; in SinglePrecisionToHalf() local
734 sign_bit=(map.fixed_point >> 16) & 0x00008000; in SinglePrecisionToHalf()
743 return((unsigned short) sign_bit); in SinglePrecisionToHalf()
748 return((unsigned short) (sign_bit | significand)); in SinglePrecisionToHalf()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_uint8_3x3_filter.h5951 const int8x16_t sign_bit = vdupq_n_s8(kSignBit);
5993 work_reg_a = veorq_s8(work_reg_a, sign_bit);
5994 work_reg_b = veorq_s8(work_reg_b, sign_bit);
6009 work_reg_a_sp = veorq_s8(work_reg_a_sp, sign_bit);
6010 work_reg_b_sp = veorq_s8(work_reg_b_sp, sign_bit);
6029 work_reg_a = veorq_s8(work_reg_a, sign_bit);
6030 work_reg_b = veorq_s8(work_reg_b, sign_bit);
6042 work_reg_a_sp = veorq_s8(work_reg_a_sp, sign_bit);
6043 work_reg_b_sp = veorq_s8(work_reg_b_sp, sign_bit);
6066 work_reg_a = veorq_s8(work_reg_a, sign_bit);
[all …]
Ddepthwiseconv_uint8_transitional.h346 const uint8x16_t sign_bit = vdupq_n_u8(kSignBit);
376 filter_0_b = vzip1q_s8(input_0_c, sign_bit);
378 filter_1_b = vzip1q_s8(input_1_c, sign_bit);
380 filter_2_b = vzip1q_s8(input_2_c, sign_bit);
382 filter_0_a = veorq_s8(filter_0_a, sign_bit);
383 filter_0_b = veorq_s8(filter_0_b, sign_bit);
384 filter_1_a = veorq_s8(filter_1_a, sign_bit);
385 filter_1_b = veorq_s8(filter_1_b, sign_bit);
386 filter_2_a = veorq_s8(filter_2_a, sign_bit);
387 filter_2_b = veorq_s8(filter_2_b, sign_bit);
[all …]
/external/eigen/Eigen/src/Core/arch/SSE/
DMathFunctions.h282 Packet4f xmm1, xmm2, xmm3, sign_bit, y; variable
285 sign_bit = x;
292 sign_bit = _mm_and_ps(sign_bit, p4f_sign_mask);
317 sign_bit = _mm_xor_ps(sign_bit, swap_sign_bit);
354 return _mm_xor_ps(y, sign_bit);
405 Packet4f sign_bit = _mm_castsi128_ps(emm0); variable
442 return _mm_xor_ps(y, sign_bit);
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_literals.cpp52 const uint32_t sign_bit = word & (1u << (width - 1)); in VerifyUpperBits() local
53 if (sign_bit) { in VerifyUpperBits()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_literals.cpp52 const uint32_t sign_bit = word & (1u << (width - 1)); in VerifyUpperBits() local
53 if (sign_bit) { in VerifyUpperBits()
/external/angle/third_party/spirv-tools/src/source/val/
Dvalidate_literals.cpp52 const uint32_t sign_bit = word & (1u << (width - 1)); in VerifyUpperBits() local
53 if (sign_bit) { in VerifyUpperBits()
/external/libgav1/libgav1/src/utils/
Draw_bit_reader.cc89 const int sign_bit = 1 << num_bits; in ReadInverseSignedLiteral() local
90 if ((*value & sign_bit) != 0) { in ReadInverseSignedLiteral()
91 *value -= 2 * sign_bit; in ReadInverseSignedLiteral()
/external/google-breakpad/src/common/
Dbyte_cursor.h132 size_t sign_bit = (T)1 << (size * 8 - 1); in Read() local
133 v = (v ^ sign_bit) - sign_bit; in Read()
/external/eigen/unsupported/Eigen/src/MoreVectorization/
DMathFunctions.h42 Packet4f sign_bit= _mm_and_ps(x, p4f_sign_mask);//extracted the sign bit in pasin() local
86 return _mm_xor_ps(z, sign_bit); in pasin()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreduce_precision_test.cc504 const Uint sign_bit = Uint{1} << (sizeof(Fp) * 8 - 1); in DoIt()
511 input_values.push_back(absl::bit_cast<Fp, Uint>(test_value[0] ^ sign_bit)); in DoIt()
513 absl::bit_cast<Fp, Uint>(test_value[operation_index] ^ sign_bit)); in DoIt()
/external/libhevc/encoder/
Dihevce_enc_sbh_funcs.c262 WORD32 sign_bit = (i2_tr_coeff >= 0 ? 0 : 1); in ihevce_sign_data_hiding() local
264 if(sign_first_coeff != sign_bit) in ihevce_sign_data_hiding()
/external/webp/src/dsp/
Ddec_sse2.c263 (a) = _mm_xor_si128(a, sign_bit); \
264 (b) = _mm_xor_si128(b, sign_bit); \
329 const __m128i sign_bit = _mm_set1_epi8((char)0x80); in Update2Pixels_SSE2() local
363 const __m128i sign_bit = _mm_set1_epi8((char)0x80); in DoFilter2_SSE2() local
365 const __m128i p1s = _mm_xor_si128(*p1, sign_bit); in DoFilter2_SSE2()
366 const __m128i q1s = _mm_xor_si128(*q1, sign_bit); in DoFilter2_SSE2()
383 const __m128i sign_bit = _mm_set1_epi8((char)0x80); in DoFilter4_SSE2() local
413 t2 = _mm_add_epi8(t3, sign_bit); in DoFilter4_SSE2()
430 const __m128i sign_bit = _mm_set1_epi8((char)0x80); in DoFilter6_SSE2() local
Ddec_neon.c441 const uint8x16_t sign_bit = vdupq_n_u8(0x80); in FlipSign_NEON() local
442 return vreinterpretq_s8_u8(veorq_u8(v, sign_bit)); in FlipSign_NEON()
446 const int8x16_t sign_bit = vdupq_n_s8(0x80); in FlipSignBack_NEON() local
447 return vreinterpretq_u8_s8(veorq_s8(v, sign_bit)); in FlipSignBack_NEON()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture.c176 const uint32_t sign_bit[4] = { in r300_translate_texformat() local
276 result |= sign_bit[0]; in r300_translate_texformat()
284 result |= sign_bit[1] | sign_bit[0]; in r300_translate_texformat()
316 result |= sign_bit[i]; in r300_translate_texformat()
/external/v8/src/objects/
Dbigint.h212 static MaybeHandle<BigInt> FromWords64(Isolate* isolate, int sign_bit,
218 void ToWordsArray64(int* sign_bit, int* words64_count, uint64_t* words);
Dbigint.cc1132 uint64_t sign_bit = x->sign() ? (static_cast<uint64_t>(1) << 63) : 0; in ToDouble() local
1134 uint64_t double_bits = sign_bit | exponent | mantissa; in ToDouble()
2471 MaybeHandle<BigInt> BigInt::FromWords64(Isolate* isolate, int sign_bit, in FromWords64() argument
2488 result->set_sign(sign_bit); in FromWords64()
2511 void BigInt::ToWordsArray64(int* sign_bit, int* words64_count, in ToWordsArray64() argument
2513 DCHECK_NE(sign_bit, nullptr); in ToWordsArray64()
2515 *sign_bit = sign(); in ToWordsArray64()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c2662 const uint32_t sign_bit[4] = { in r600_translate_texformat() local
2786 word4 |= sign_bit[0]; in r600_translate_texformat()
2794 word4 |= sign_bit[0] | sign_bit[1]; in r600_translate_texformat()
2840 word4 |= sign_bit[0] | sign_bit[1] | sign_bit[2]; in r600_translate_texformat()
2876 word4 |= sign_bit[i]; in r600_translate_texformat()
/external/libvpx/libvpx/vpx_dsp/arm/
Dloopfilter_neon.c155 const uint8x##w##_t sign_bit = vdup##r##n_u8(0x80); \
156 return vreinterpret##r##s8_u8(veor##r##u8(v, sign_bit)); \
165 const int8x##w##_t sign_bit = vdup##r##n_s8(0x80); \
166 return vreinterpret##r##u8_s8(veor##r##s8(v, sign_bit)); \
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h424 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() function
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-internal.h395 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() function
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h343 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() function
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-internal.h331 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() function
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-internal.h319 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() function
/external/googletest/googletest/include/gtest/internal/
Dgtest-internal.h329 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() function

12