summaryrefslogtreecommitdiff
path: root/simd/arm/neon-compat.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'simd/arm/neon-compat.h.in')
-rw-r--r--simd/arm/neon-compat.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/simd/arm/neon-compat.h.in b/simd/arm/neon-compat.h.in
index e2347b9..23d6d28 100644
--- a/simd/arm/neon-compat.h.in
+++ b/simd/arm/neon-compat.h.in
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2020, D. R. Commander. All Rights Reserved.
- * Copyright (C) 2020, Arm Limited. All Rights Reserved.
+ * Copyright (C) 2020-2021, Arm Limited. All Rights Reserved.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
@@ -26,10 +26,10 @@
/* Define compiler-independent count-leading-zeros macros */
#if defined(_MSC_VER) && !defined(__clang__)
#define BUILTIN_CLZ(x) _CountLeadingZeros(x)
-#define BUILTIN_CLZL(x) _CountLeadingZeros64(x)
+#define BUILTIN_CLZLL(x) _CountLeadingZeros64(x)
#elif defined(__clang__) || defined(__GNUC__)
#define BUILTIN_CLZ(x) __builtin_clz(x)
-#define BUILTIN_CLZL(x) __builtin_clzl(x)
+#define BUILTIN_CLZLL(x) __builtin_clzll(x)
#else
#error "Unknown compiler"
#endif