aboutsummaryrefslogtreecommitdiff
path: root/src/core/common
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2020-12-08 21:02:16 +0000
committerMichalis Spyrou <michalis.spyrou@arm.com>2021-01-05 14:30:17 +0000
commita3c9a3b3d56f0369b199512fef832e6db958a601 (patch)
tree357bf1ea0c3ccf2ac314b0777036642a11b5f7cd /src/core/common
parentb309fc249e4383b4d40ae03e377c3cbad3f9f5f7 (diff)
downloadComputeLibrary-a3c9a3b3d56f0369b199512fef832e6db958a601.tar.gz
COMPMID-3874: Create ArithmeticAddition SVE/SVE2
Change-Id: I4ec7561a7f6a42a22b8187968ae302dbe75023bc Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4753 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Sang-Hoon Park <sang-hoon.park@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/common')
-rw-r--r--src/core/common/Registrars.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/common/Registrars.h b/src/core/common/Registrars.h
index 649fe468a3..112c83ad94 100644
--- a/src/core/common/Registrars.h
+++ b/src/core/common/Registrars.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Arm Limited.
+ * Copyright (c) 2020-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -83,4 +83,14 @@
#define REGISTER_QSYMM16_SVE(func_name) nullptr
#endif /* defined(ENABLE_QSYMM16_KERNELS) */
+#if defined(ENABLE_INTEGER_KERNELS)
+#if defined(__ARM_FEATURE_SVE)
+#define REGISTER_INTEGER_SVE(func_name) &(func_name)
+#endif /* defined(__ARM_FEATURE_SVE) */
+#define REGISTER_INTEGER_NEON(func_name) &(func_name)
+#else /* defined(ENABLE_INTEGER_KERNELS) */
+#define REGISTER_INTEGER_NEON(func_name) nullptr
+#define REGISTER_INTEGER_SVE(func_name) nullptr
+#endif /* defined(ENABLE_INTEGER_KERNELS) */
+
#endif /* SRC_CORE_COMMON_REGISTRARS_H */