24 #ifndef ARM_COMPUTE_WRAPPER_SUB_H 25 #define ARM_COMPUTE_WRAPPER_SUB_H 33 #define VSUB_IMPL(stype, vtype, prefix, postfix) \ 34 inline vtype vsub(const vtype &a, const vtype &b) \ 36 return prefix##_##postfix(a, b); \ 48 #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC 49 VSUB_IMPL(float16x4_t, float16x4_t, vsub, f16)
50 #endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC 61 #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC 62 VSUB_IMPL(float16x8_t, float16x8_t, vsubq, f16)
63 #endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC 68 #define VQSUB_IMPL(stype, vtype, prefix, postfix) \ 69 inline vtype vqsub(const vtype &a, const vtype &b) \ 71 return prefix##_##postfix(a, b); \ 83 #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC 84 VQSUB_IMPL(float16x4_t, float16x4_t, vsub, f16)
85 #endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC 96 #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC 97 VQSUB_IMPL(float16x8_t, float16x8_t, vsubq, f16)
98 #endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC uint8x8_t vsub(const uint8x8_t &a, const uint8x8_t &b)
Copyright (c) 2017-2021 Arm Limited.
#define VQSUB_IMPL(stype, vtype, prefix, postfix)
uint8x8_t vqsub(const uint8x8_t &a, const uint8x8_t &b)
#define VSUB_IMPL(stype, vtype, prefix, postfix)