We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.4.2 | Windows | Clang 12 | | |
I hit line 168 of common/iterators.h:
void nextBit() { #ifdef Vc_GNU_ASM bit = __builtin_ctzl(mask); #elif defined(Vc_MSVC) _BitScanForward(&bit, mask); #else #error "Not implemented yet. Please contact [email protected]" #endif }
Apparently clang on Windows is neither Vc_GNU_ASM nor Vc_MSVC. Something like the following works for me:
Vc_GNU_ASM
Vc_MSVC
void nextBit() { #ifdef Vc_MSVC _BitScanForward(&bit, mask); #else bit = __builtin_ctzl(mask); #endif }
The text was updated successfully, but these errors were encountered:
Use _BitScanForward on Windows, fallback to __builtin_ctzl otherwise
628f5c0
Fixes: VcDevel#307 Suggested-by: Bruno Manganelli <[email protected]>
amadio
No branches or pull requests
I hit line 168 of common/iterators.h:
Apparently clang on Windows is neither
Vc_GNU_ASM
norVc_MSVC
. Something like the following works for me:The text was updated successfully, but these errors were encountered: