Home
last modified time | relevance | path

Searched refs:scaled_v_high (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Davx2_quantization_utils.h108 __m256i scaled_v_high = _mm256_mul_epi32( in MultiplyByQuantizedMultiplier() local
113 scaled_v_high = _mm256_srlv_epi64(scaled_v_high, _mm256_set1_epi64x(31)); in MultiplyByQuantizedMultiplier()
115 scaled_v_high = _mm256_slli_epi64(scaled_v_high, 32); in MultiplyByQuantizedMultiplier()
116 __m256i result = _mm256_blend_epi32(scaled_v_low, scaled_v_high, 0xaa); in MultiplyByQuantizedMultiplier()
143 __m256i scaled_v_high = _mm256_mul_epi32( in MultiplyByQuantizedMultiplier() local
148 scaled_v_high = _mm256_srlv_epi64(scaled_v_high, _mm256_set1_epi64x(31)); in MultiplyByQuantizedMultiplier()
150 scaled_v_high = _mm256_slli_epi64(scaled_v_high, 32); in MultiplyByQuantizedMultiplier()
151 __m256i result = _mm256_blend_epi32(scaled_v_low, scaled_v_high, 0xaa); in MultiplyByQuantizedMultiplier()
/external/ruy/ruy/
Dkernel_avx2_fma.cc489 __m256i scaled_v_high = _mm256_mul_epi32(
494 scaled_v_high = _mm256_add_epi64(scaled_v_high, offset_vector);
497 scaled_v_high =
498 _mm256_srlv_epi64(scaled_v_high, final_right_shift_high);
500 scaled_v_high = _mm256_slli_epi64(scaled_v_high, 32);
502 _mm256_blend_epi32(scaled_v_low, scaled_v_high, 0xaa);
903 __m256i scaled_v_high = _mm256_mul_epi32(
908 scaled_v_high = _mm256_add_epi64(scaled_v_high, offset_vector);
911 scaled_v_high =
912 _mm256_srlv_epi64(scaled_v_high, final_right_shift_high);
[all …]
Dkernel_avx512.cc398 __m512i scaled_v_high = _mm512_mul_epi32(
403 scaled_v_high = _mm512_add_epi64(scaled_v_high, offset_vector_val);
407 scaled_v_high =
408 _mm512_srav_epi64(scaled_v_high, final_right_shift_val);
411 rounding_right_shift(scaled_v_high, right_shift_val);
415 _mm512_cvtepi64_epi32(scaled_v_high), 1);
440 __m512i scaled_v_high = _mm512_mul_epi32(
445 scaled_v_high = _mm512_add_epi64(scaled_v_high, offset_vector);
449 scaled_v_high =
450 _mm512_srav_epi64(scaled_v_high, final_right_shift_high);
[all …]
Dkernel_avx.cc876 __m256i scaled_v_high = intrin_utils::mm256_mul_epi32<path>(
882 scaled_v_high = intrin_utils::mm256_add_epi64<path>(
883 scaled_v_high, offset_vector);
887 scaled_v_high = intrin_utils::mm256_srlv_epi64<path>(
888 scaled_v_high, final_right_shift_high);
889 scaled_v_high =
890 intrin_utils::mm256_slli_epi64<path>(scaled_v_high, 32);
892 mm256_blend_epi32(results, scaled_v_low, scaled_v_high, 0xaa);
1355 __m256i scaled_v_high = intrin_utils::mm256_mul_epi32<path>(
1362 scaled_v_high = intrin_utils::mm256_add_epi64<path>(scaled_v_high,
[all …]