Home
last modified time | relevance | path

Searched refs:ab_64 (Results 1 – 25 of 39) sorted by relevance

12

/external/ComputeLibrary/tests/validation/reference/
DUtilsQuantizedAsymm.h65 const int64_t ab_64 = a_64 * b_64; in asymm_int_mult() local
66 const int32_t nudge = ab_64 >= 0 ? (1 << 30) : (1 - (1 << 30)); in asymm_int_mult()
67 const int32_t ab_x2_high32 = static_cast<int32_t>((ab_64 + nudge) / (1ll << 31)); in asymm_int_mult()
/external/armnn/src/backends/reference/workloads/
DConvImpl.cpp56 int64_t ab_64 = a_64 * b_64; in SaturatingRoundingDoublingHighMul() local
57 int32_t nudge = ab_64 >= 0 ? (1 << 30) : (1 - (1 << 30)); in SaturatingRoundingDoublingHighMul()
58 int32_t ab_x2_high32 = static_cast<std::int32_t>((ab_64 + nudge) / (1ll << 31)); in SaturatingRoundingDoublingHighMul()
/external/ComputeLibrary/src/core/utils/quantization/
DAsymmHelpers.cpp208 int64_t ab_64 = a_64 * b_64; in saturating_rounding_doubling_highmul() local
213 int32_t ab_x2_high32 = static_cast<int32_t>((ab_64 + nudge) / (1ll << 31)); in saturating_rounding_doubling_highmul()
/external/ComputeLibrary/src/core/CL/cl_kernels/
Dhelpers_asymm.h147ab_64 = a_64 * b_64; …
154 …is_positive_or_zero = ab_64 >= 0; …
160 …ab_x2_high32 = convert_int##size((ab_64 + nudge) / mask); …
Dtile_helpers.h898 long ab_64 = a_64 * b_64; \
901 long is_positive_or_zero = ab_64 >= 0; \
903 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
946 long ab_64 = a_64 * b_64; \
949 long is_positive_or_zero = ab_64 >= 0; \
951 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
988 long ab_64 = a_64 * b_64; \
991 long is_positive_or_zero = ab_64 >= 0; \
993 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
/external/ComputeLibrary/cl_kernels/
Dtile_helpers.hembed616 long ab_64 = a_64 * b_64; \
619 long is_positive_or_zero = ab_64 >= 0; \
621 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
651 long ab_64 = a_64 * b_64; \
654 long is_positive_or_zero = ab_64 >= 0; \
656 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
682 long ab_64 = a_64 * b_64; \
685 long is_positive_or_zero = ab_64 >= 0; \
687 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
/external/gemmlowp/fixedpoint/
Dfixedpoint.h345 std::int64_t ab_64 = a_64 * b_64;
346 std::int32_t nudge = ab_64 >= 0 ? (1 << 30) : (1 - (1 << 30));
348 static_cast<std::int32_t>((ab_64 + nudge) / (1ll << 31));
/external/ComputeLibrary/cl_kernels/nhwc/
Ddwc_native_quantized_nhwc.clembed1862 long ab_64 = a_64 * b_64; \
1865 long is_positive_or_zero = ab_64 >= 0; \
1867 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1897 long ab_64 = a_64 * b_64; \
1900 long is_positive_or_zero = ab_64 >= 0; \
1902 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1928 long ab_64 = a_64 * b_64; \
1931 long is_positive_or_zero = ab_64 >= 0; \
1933 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Dnormalization_layer.clembed1861 long ab_64 = a_64 * b_64; \
1864 long is_positive_or_zero = ab_64 >= 0; \
1866 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1896 long ab_64 = a_64 * b_64; \
1899 long is_positive_or_zero = ab_64 >= 0; \
1901 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1927 long ab_64 = a_64 * b_64; \
1930 long is_positive_or_zero = ab_64 >= 0; \
1932 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Ddirect_convolution3d.clembed1862 long ab_64 = a_64 * b_64; \
1865 long is_positive_or_zero = ab_64 >= 0; \
1867 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1897 long ab_64 = a_64 * b_64; \
1900 long is_positive_or_zero = ab_64 >= 0; \
1902 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1928 long ab_64 = a_64 * b_64; \
1931 long is_positive_or_zero = ab_64 >= 0; \
1933 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Dpooling_3d_layer.clembed1861 long ab_64 = a_64 * b_64; \
1864 long is_positive_or_zero = ab_64 >= 0; \
1866 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1896 long ab_64 = a_64 * b_64; \
1899 long is_positive_or_zero = ab_64 >= 0; \
1901 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1927 long ab_64 = a_64 * b_64; \
1930 long is_positive_or_zero = ab_64 >= 0; \
1932 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Dtransposed_convolution.clembed1862 long ab_64 = a_64 * b_64; \
1865 long is_positive_or_zero = ab_64 >= 0; \
1867 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1897 long ab_64 = a_64 * b_64; \
1900 long is_positive_or_zero = ab_64 >= 0; \
1902 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1928 long ab_64 = a_64 * b_64; \
1931 long is_positive_or_zero = ab_64 >= 0; \
1933 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Dpooling_3d_layer_quantized.clembed1861 long ab_64 = a_64 * b_64; \
1864 long is_positive_or_zero = ab_64 >= 0; \
1866 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1896 long ab_64 = a_64 * b_64; \
1899 long is_positive_or_zero = ab_64 >= 0; \
1901 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1927 long ab_64 = a_64 * b_64; \
1930 long is_positive_or_zero = ab_64 >= 0; \
1932 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Dscale.clembed1861 long ab_64 = a_64 * b_64; \
1864 long is_positive_or_zero = ab_64 >= 0; \
1866 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1896 long ab_64 = a_64 * b_64; \
1899 long is_positive_or_zero = ab_64 >= 0; \
1901 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1927 long ab_64 = a_64 * b_64; \
1930 long is_positive_or_zero = ab_64 >= 0; \
1932 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Dchannel_shuffle.clembed1861 long ab_64 = a_64 * b_64; \
1864 long is_positive_or_zero = ab_64 >= 0; \
1866 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1896 long ab_64 = a_64 * b_64; \
1899 long is_positive_or_zero = ab_64 >= 0; \
1901 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1927 long ab_64 = a_64 * b_64; \
1930 long is_positive_or_zero = ab_64 >= 0; \
1932 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Dwinograd_input_transform.clembed1861 long ab_64 = a_64 * b_64; \
1864 long is_positive_or_zero = ab_64 >= 0; \
1866 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1896 long ab_64 = a_64 * b_64; \
1899 long is_positive_or_zero = ab_64 >= 0; \
1901 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1927 long ab_64 = a_64 * b_64; \
1930 long is_positive_or_zero = ab_64 >= 0; \
1932 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Dindirect_convolution.clembed3162 long ab_64 = a_64 * b_64; \
3165 long is_positive_or_zero = ab_64 >= 0; \
3167 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
3197 long ab_64 = a_64 * b_64; \
3200 long is_positive_or_zero = ab_64 >= 0; \
3202 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
3228 long ab_64 = a_64 * b_64; \
3231 long is_positive_or_zero = ab_64 >= 0; \
3233 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Ddwc_native_fp_nhwc.clembed3163 long ab_64 = a_64 * b_64; \
3166 long is_positive_or_zero = ab_64 >= 0; \
3168 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
3198 long ab_64 = a_64 * b_64; \
3201 long is_positive_or_zero = ab_64 >= 0; \
3203 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
3229 long ab_64 = a_64 * b_64; \
3232 long is_positive_or_zero = ab_64 >= 0; \
3234 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Ddirect_convolution.clembed3865ab_64 = a_64 * b_64; …
3872 …is_positive_or_zero = ab_64 >= 0; …
3878 …ab_x2_high32 = convert_int##size((ab_64 + nudge) / mask); …
4851 long ab_64 = a_64 * b_64; \
4854 long is_positive_or_zero = ab_64 >= 0; \
4856 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
4886 long ab_64 = a_64 * b_64; \
4889 long is_positive_or_zero = ab_64 >= 0; \
4891 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
4917 long ab_64 = a_64 * b_64; \
[all …]
Dpooling_layer.clembed3269 long ab_64 = a_64 * b_64; \
3272 long is_positive_or_zero = ab_64 >= 0; \
3274 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
3304 long ab_64 = a_64 * b_64; \
3307 long is_positive_or_zero = ab_64 >= 0; \
3309 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
3335 long ab_64 = a_64 * b_64; \
3338 long is_positive_or_zero = ab_64 >= 0; \
3340 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
/external/ComputeLibrary/cl_kernels/nchw/
Dnormalization_layer.clembed1861 long ab_64 = a_64 * b_64; \
1864 long is_positive_or_zero = ab_64 >= 0; \
1866 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1896 long ab_64 = a_64 * b_64; \
1899 long is_positive_or_zero = ab_64 >= 0; \
1901 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1927 long ab_64 = a_64 * b_64; \
1930 long is_positive_or_zero = ab_64 >= 0; \
1932 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Dchannel_shuffle.clembed1861 long ab_64 = a_64 * b_64; \
1864 long is_positive_or_zero = ab_64 >= 0; \
1866 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1896 long ab_64 = a_64 * b_64; \
1899 long is_positive_or_zero = ab_64 >= 0; \
1901 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1927 long ab_64 = a_64 * b_64; \
1930 long is_positive_or_zero = ab_64 >= 0; \
1932 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Dscale.clembed1861 long ab_64 = a_64 * b_64; \
1864 long is_positive_or_zero = ab_64 >= 0; \
1866 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1896 long ab_64 = a_64 * b_64; \
1899 long is_positive_or_zero = ab_64 >= 0; \
1901 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1927 long ab_64 = a_64 * b_64; \
1930 long is_positive_or_zero = ab_64 >= 0; \
1932 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
Dwinograd_input_transform.clembed1861 long ab_64 = a_64 * b_64; \
1864 long is_positive_or_zero = ab_64 >= 0; \
1866 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1896 long ab_64 = a_64 * b_64; \
1899 long is_positive_or_zero = ab_64 >= 0; \
1901 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
1927 long ab_64 = a_64 * b_64; \
1930 long is_positive_or_zero = ab_64 >= 0; \
1932 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
/external/ComputeLibrary/cl_kernels/common/
Dgemmlowp_reshaped_only_rhs_mmul.clembed3162 long ab_64 = a_64 * b_64; \
3165 long is_positive_or_zero = ab_64 >= 0; \
3167 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
3197 long ab_64 = a_64 * b_64; \
3200 long is_positive_or_zero = ab_64 >= 0; \
3202 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \
3228 long ab_64 = a_64 * b_64; \
3231 long is_positive_or_zero = ab_64 >= 0; \
3233 … SRC_DATA_TYPE ab_x2_high32 = CONVERT((ab_64 + nudge) / (long)(1ll << 31), SRC_DATA_TYPE); \

12