aboutsummaryrefslogtreecommitdiff
path: root/include/psimd.h
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-04-24 22:08:24 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-04-24 22:08:24 +0000
commit738f315909d60a0b061526a9833fe599b66d4ab0 (patch)
tree7a73d4b45311030d6c4a873e7acc65e992cd90f1 /include/psimd.h
parent0bbcfd0d93d6f50cce0def4c08ef0279d0d2c6b0 (diff)
parent98fc28f8e92734434b55fd192f3e7ec092a8905e (diff)
downloadpsimd-738f315909d60a0b061526a9833fe599b66d4ab0.tar.gz
Upgrade psimd to 85427dd4c8521cc037a1ffa6fcd25c55fafc8a00 am: 75bbd2a8f6 am: e48ed3072c am: ab46f40247 am: 98fc28f8e9
Change-Id: Iaabdaeb46a0365c5814a00b935d7d1175d5ac0f0
Diffstat (limited to 'include/psimd.h')
-rw-r--r--include/psimd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/psimd.h b/include/psimd.h
index 9890b82..f674e46 100644
--- a/include/psimd.h
+++ b/include/psimd.h
@@ -28,7 +28,7 @@
#define PSIMD_INTRINSIC static
#endif
-#if defined(__GNUC__)
+#if defined(__GNUC__) || defined(__clang__)
#if defined(__ARM_NEON__) || defined(__ARM_NEON)
#include <arm_neon.h>
#endif
@@ -78,7 +78,7 @@
#include <stdint.h>
#endif
-#if defined(__GNUC__)
+#if defined(__GNUC__) || defined(__clang__)
#define PSIMD_HAVE_F64 0
#define PSIMD_HAVE_F32 1
#define PSIMD_HAVE_U8 1