-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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
P0553R4 <bit> Rotating And Counting Functions #25
Comments
How i can see, MSVC supports __builtin_clz/__builtin_popcount and some other helpers since 19.23. Can we start start to implement this? :) |
There's _BitScanReverse for clz. Not sure if constexpr though. |
if you will grep c1xx.dll from vc >= 19.23 you can find __builtin_clz and other functions. And it's work. Tested on local compiler-explorer instance for constexpr functions |
@barcharcraz is actively working on this. Charlie, would it be useful to submit a draft PR so people can see what you’ve been working on, as I did for Casey’s |
How about lables 'i started' in issues or maybe WIP PRs? I think it can be useful. Specialy, if you start it iternal. |
Resolves microsoft#25 and resolves microsoft#26. Currently active for Clang and EDG, but not C1XX.
P0553R4
<bit>
Rotating And Counting FunctionsThis may need compiler support.
The text was updated successfully, but these errors were encountered: