-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Make System.Math/MathF.Truncate an intrinsic #65014
Conversation
Tagging subscribers to this area: @dotnet/area-system-numerics Issue DetailsMakes Truncate emit round with truncate mode on xarch and frintz on aarch64. Based off current handling for Ceiling. Fixes #56931
|
3c5c520
to
ab55a47
Compare
@tannergooding asked me to revert the fcalls and add back the managed method instead on discord, will handle it tomorrow. |
ab55a47
to
5e1ff68
Compare
5e1ff68
to
196eafe
Compare
Test failures seem unrelated, marking as ready for review. |
CC. @dotnet/jit-contrib; Community PR needs secondary sign-off |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Makes Truncate emit round with truncate mode on xarch and frintz on aarch64.
Based off current handling for Ceiling.
Fixes #56931