We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a892bd commit b5a2c41Copy full SHA for b5a2c41
1 file changed
include/simdjson/portability.h
@@ -54,7 +54,7 @@ static inline bool mul_overflow(uint64_t value1, uint64_t value2, uint64_t *re
54
55
/* result might be undefined when input_num is zero */
56
static inline int trailingzeroes(uint64_t input_num) {
57
- return __builtin_ctzll(input_num); // for some reason, the Intel intrinsic _tzcnt_u64 may be missing
+ return _tzcnt_u64(input_num); // for some reason, the Intel intrinsic _tzcnt_u64 may be missing
58
}
59
60
0 commit comments