-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Implement branch prediction intrinsics #918
Comments
Triage: Fixed by #1131 |
It looks like this was put on hold waiting for MIR. Has there been any progress now that MIR has landed? |
RFC 1131 is already implemented and waiting for stabilization, right? |
That's what I was looking for. Thanks @sinkuu! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moved from rust-lang/rust#20579.
Branch prediction intrinsic equivalent to GCC’s __builtin_expect should exist. These correspond to the
llvm.expect
intrinsics. Alternatively two rust intrinsicslikely
andunlikely
could be implemented.See rust-lang/rust#17317, rust-lang/rust#22805 and rust-lang/rust#22883 as well.
The text was updated successfully, but these errors were encountered: