[PATCH] D75723: [X86] Enable intrinsics _BitScan*
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 10 17:33:25 PDT 2020
craig.topper added inline comments.
================
Comment at: clang/lib/Headers/ia32intrin.h:418
+ __extension__({ \
+ *(a) = (unsigned)__bsfd((int)(b)); \
+ (unsigned char)((b) != 0); \
----------------
This store also needs to be conditional on b being non-zero
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75723/new/
https://reviews.llvm.org/D75723
More information about the cfe-commits
mailing list