diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2019-06-26 15:17:09 +0100 |
---|---|---|
committer | Manuel Bottini <manuel.bottini@arm.com> | 2019-07-03 12:46:08 +0000 |
commit | 7bb56c6337997281df10fa28ad7924c921b920eb (patch) | |
tree | af1ee9244c7c0f9265bb6d075816b18fac2f66df /arm_compute/core/NEON/NEAsymm.h | |
parent | 6b9f388f719dc9ff1181c9a43a41140f19e15ec8 (diff) | |
download | ComputeLibrary-7bb56c6337997281df10fa28ad7924c921b920eb.tar.gz |
COMPMID-2409: Add QSYMM16 support for PixelWiseMultiplication for NEON
Change-Id: Idfd3b45857201d5143242f9517d3353150b2c923
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1422
Reviewed-by: Pablo Marquez <pablo.tello@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/NEON/NEAsymm.h')
-rw-r--r-- | arm_compute/core/NEON/NEAsymm.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/arm_compute/core/NEON/NEAsymm.h b/arm_compute/core/NEON/NEAsymm.h index 4c8f797360..981c7b075c 100644 --- a/arm_compute/core/NEON/NEAsymm.h +++ b/arm_compute/core/NEON/NEAsymm.h @@ -24,6 +24,7 @@ #ifndef __ARM_COMPUTE_NEASYMM_H__ #define __ARM_COMPUTE_NEASYMM_H__ +#include "arm_compute/core/NEON/NEMath.h" #include <arm_neon.h> namespace arm_compute @@ -34,28 +35,6 @@ using qasymm8x8x3_t = uint8x8x3_t; /**< 8 bit quantized asymmetric vector with 2 using qasymm8x8x4_t = uint8x8x4_t; /**< 8 bit quantized asymmetric vector with 32 elements */ using qasymm8x16_t = uint8x16_t; /**< 8 bit quantized asymmetric vector with 16 elements */ -/** Round to the nearest division by a power-of-two using exponent - * - * @note This function calculates the following expression: (x + 2^n -1 ) / 2^n where n = exponent - * - * @param[in] x Vector of 4 elements - * @param[in] exponent Integer value used to round to nearest division by a power-of-two - * - * @return the nearest division by a power-of-two using exponent - */ -int32x4_t rounding_divide_by_pow2(int32x4_t x, int exponent); - -/** Round to the nearest division by a power-of-two using exponent - * - * @note This function calculates the following expression: (x + 2^n -1 ) / 2^n where n = exponent - * - * @param[in] x Element to divide. - * @param[in] exponent Integer value used to round to nearest division by a power-of-two - * - * @return the nearest division by a power-of-two using exponent - */ -int32_t rounding_divide_by_pow2(int32_t x, int exponent); - /** Perform a multiply-accumulate on all 16 components of a QASYMM8 vector * * vd*vs + vo |