summaryrefslogtreecommitdiff
path: root/simd/arm/neon-compat.h
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-01-29 21:58:06 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-01-29 21:58:06 +0000
commit4f66d2ef5189c7bbd23cbf9fe8e8a4336046e73f (patch)
treef616cbf164716ee566a2b186cfc40a4d23540fdf /simd/arm/neon-compat.h
parent3bd8f29b22cd8258f403ac68a715a81c60ec5e08 (diff)
parentf7bb80dc5eb581060f92d9f27e7326e1c03a0cdc (diff)
Upgrade libjpeg-turbo to fa0de07678c9828cc57b3eb086c03771912ba527 am: f7bb80dc5e
Original change: https://android-review.googlesource.com/c/platform/external/libjpeg-turbo/+/1564663 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I424422f737af06937feb673d3b347353f35e7460
Diffstat (limited to 'simd/arm/neon-compat.h')
-rw-r--r--simd/arm/neon-compat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/simd/arm/neon-compat.h b/simd/arm/neon-compat.h
index 3ce3bcb..543d860 100644
--- a/simd/arm/neon-compat.h
+++ b/simd/arm/neon-compat.h
@@ -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
@@ -28,10 +28,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