-
Notifications
You must be signed in to change notification settings - Fork 12.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
[AArch64][Clang] Implement ACLE rintn intrinsics #66112
Conversation
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.
Could this use __builtin_roundeven directly, avoiding the need for __builtin_arm_rintnf?
Just a nit, but please add a tag to the commit message, like "[Clang][AArch64]". |
Change-Id: I7f05a59f07f05ff8ac84cbab59a7803f1fe1642f
Change-Id: Ibfe830cf69e3ea10f68f651e5a5d507769792496
Thank you both for your comments. I've simplified the patch by using the llvm intrinsic that you suggested David, thanks! In trying to fix the commit message, I messed up my git history, hence the force-pushes above to try to fix it. Hopefully the couple of commits make sense. In retrospect, I should have used |
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.
Thanks. LGTM
This patch adds support for two missing ACLE intrinsics for floating point round with ties to even: - rintn - rintnf These are specified in ACLE section 8.6: [https://arm-software.github.io/acle/main/acle.html#floating-point-data-processing-intrinsics]
This patch adds support for two missing ACLE intrinsics for floating point round with ties to even: - rintn - rintnf These are specified in ACLE section 8.6: [https://arm-software.github.io/acle/main/acle.html#floating-point-data-processing-intrinsics]
This patch adds support for two missing ACLE intrinsics for floating point round with ties to even:
These are specified in ACLE section 8.6: [https://arm-software.github.io/acle/main/acle.html#floating-point-data-processing-intrinsics]
Change-Id: I951971ad5a3fd3822efdf8cbae22918c31eef28a