tflite-micro icon indicating copy to clipboard operation
tflite-micro copied to clipboard

Usage of NaN and Infinity not supported by default in armclang

Open AdrianLundell opened this issue 10 months ago • 3 comments

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

AdrianLundell avatar Mar 25 '24 14:03 AdrianLundell

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

rascani avatar Apr 02 '24 17:04 rascani

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.

AdrianLundell avatar Apr 03 '24 09:04 AdrianLundell

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

github-actions[bot] avatar May 21 '24 10:05 github-actions[bot]

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

github-actions[bot] avatar Jun 16 '24 10:06 github-actions[bot]

"This issue is being closed because it has been marked as stale for 5 days with no further activity."

github-actions[bot] avatar Jun 22 '24 10:06 github-actions[bot]