We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c0efce commit ad29598Copy full SHA for ad29598
src/common/bitfield.h
@@ -272,7 +272,7 @@ inline std::uint32_t TrailingZeroBits(std::uint32_t value) {
272
}
273
#if defined(__GNUC__)
274
return __builtin_ctz(value);
275
-#elif defined(_MSC_VER)
+#elif defined(_MSC_VER) && defined(_M_X64)
276
return _tzcnt_u32(value);
277
#else
278
return detail::TrailingZeroBitsImpl(value);
0 commit comments