[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] count-leading-zeros: fix pragma typos
From: |
Paul Eggert |
Subject: |
[PATCH] count-leading-zeros: fix pragma typos |
Date: |
Tue, 6 Jan 2015 08:51:32 -0800 |
* lib/count-leading-zeros.h (_BitScanReverse, _BitScanReverse64):
Fix typos in declaration of intrinsics when _MSC_VER.
---
ChangeLog | 6 ++++++
lib/count-leading-zeros.h | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f1fe8e2..79370de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-06 Paul Eggert <address@hidden>
+
+ count-leading-zeros: fix pragma typos
+ * lib/count-leading-zeros.h (_BitScanReverse, _BitScanReverse64):
+ Fix typos in declaration of intrinsics when _MSC_VER.
+
2015-01-06 Pádraig Brady <address@hidden>
count-leading-zeros: avoid 64-bit intrinsics on 32-bit Windows
diff --git a/lib/count-leading-zeros.h b/lib/count-leading-zeros.h
index 9e72fff..166309a 100644
--- a/lib/count-leading-zeros.h
+++ b/lib/count-leading-zeros.h
@@ -38,8 +38,8 @@ _GL_INLINE_HEADER_BEGIN
# define COUNT_LEADING_ZEROS(BUILTIN, MSC_BUILTIN, TYPE) \
return x ? BUILTIN (x) : CHAR_BIT * sizeof x;
#elif _MSC_VER
-# pragma intrinsic _BitReverse
-# pragma intrinsic _BitReverse64
+# pragma intrinsic _BitScanReverse
+# pragma intrinsic _BitScanReverse64
# define COUNT_LEADING_ZEROS(BUILTIN, MSC_BUILTIN, TYPE) \
do \
{ \
--
2.1.0
- [PATCH] count-leading-zeros: fix pragma typos,
Paul Eggert <=