commit | 33fd07bd27be3cba183b7cacef63ea220c770c23 | [log] [tgz] |
---|---|---|
author | Ioan-Cristian Szabo <ioan-cristian.szabo@arm.com> | Thu Oct 26 15:42:24 2017 +0100 |
committer | Anthony Barbier <anthony.barbier@arm.com> | Fri Nov 02 16:35:24 2018 +0000 |
tree | 0ccd4269992a90542697c85a0bd1c690872327b5 | |
parent | eae4ce085ed44c67de6d87eeba7726570ac23787 [diff] [blame] |
COMPMID-634: Enable clang with libc++ to compile for Android (32 and 64 bits) Change-Id: I693f64e70cd478e93675a8b04360128ded3b60d4 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/93015 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
diff --git a/src/core/NEON/kernels/arm64/NEGEMMLowpAArch64V8P4Kernel.cpp b/src/core/NEON/kernels/arm64/NEGEMMLowpAArch64V8P4Kernel.cpp index 939f1b7..8728e77 100644 --- a/src/core/NEON/kernels/arm64/NEGEMMLowpAArch64V8P4Kernel.cpp +++ b/src/core/NEON/kernels/arm64/NEGEMMLowpAArch64V8P4Kernel.cpp
@@ -39,6 +39,9 @@ #include <cstddef> #include <cstdint> +// Enable only if compiled for AArch64-V8.2-A targets +#ifdef ARM_COMPUTE_AARCH64_V8_2 + #define ASM_PREFETCH(address) "PRFM PLDL1KEEP, " address "\n" #define ASM_PREFETCHL2(address) "PRFM PLDL2KEEP, " address "\n" #define ASM_PREFETCHW(address) "PRFM PSTL1KEEP, " address "\n" @@ -517,3 +520,4 @@ } } } // namespace arm_compute +#endif /* ARM_COMPUTE_AARCH64_V8_2 */