Skip to content
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

Usage of NaN and Infinity not supported by default in armclang #2518

Open
AdrianLundell opened this issue Mar 25, 2024 · 3 comments
Open

Usage of NaN and Infinity not supported by default in armclang #2518

AdrianLundell opened this issue Mar 25, 2024 · 3 comments
Assignees

Comments

@AdrianLundell
Copy link
Contributor

Using these is not supported by the std/fast ffp-mode in armclang, forcing useage of the --ffp-mode=full flag.
This is fixed for all armclang builds with #2517, but it could be worth the effort to look into supporting other ffp-modes, in particular since they may be faster.

See https://developer.arm.com/documentation/101754/0622/armclang-Reference/armclang-Command-line-Options/-ffp-mode

mergify bot pushed a commit that referenced this issue Mar 26, 2024
This is needed due to multiple uses of NaN and Infinity which is not supported with the default -ffp-mode=std.

BUG=#2518
@rascani
Copy link
Collaborator

rascani commented Apr 2, 2024

@AdrianLundell - is this fixed now? If so, please close.

@mansnils mansnils closed this as completed Apr 3, 2024
@AdrianLundell
Copy link
Contributor Author

It is fixed to the extent that we do not build anything with undefined behaviour anymore since #2517, but the issue has a broader scope to add support for all fpp-modes in the future, so it would be nice to keep around for that if that is ok.

Copy link
Contributor

"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."

@github-actions github-actions bot added the Stale label May 21, 2024
@rascani rascani removed the Stale label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants