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
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
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
101 #define VSUBL_IMPL(rtype, vtype, prefix, postfix) \
102 inline rtype vsubl(const vtype &a, const vtype &b) \
104 return prefix##_##postfix(a, b); \