You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/02/18 08:57:51 UTC

[GitHub] [mynewt-core] kasjer opened a new pull request #2776: apps/coremark: Fix output when HARDFLOAT is on

kasjer opened a new pull request #2776:
URL: https://github.com/apache/mynewt-core/pull/2776


   When **HARDFLOAT** is 1 (usually done in compiler.yml) coremark application
   uses floating point for calculations and prints.
   **baselibc** version of `printf` does not support `%f` if **FLOAT_USER** is not enabled.
   It results in missing information about iterations and total time
   
   ```
   2K performance run parameters for coremark.
   CoreMark Size    : 666
   Total ticks      : 1520
   Total time (secs):
   Iterations/Sec   :
   Iterations       : 1000
   Compiler version : GCC10.3.1 20210621 (release)
   Compiler flags   :
   Memory location  : STACK
   seedcrc          : 0xe9f5
   ```
   
   To fix this **FLOAT_USER** is set to 1 in syscfg.yml when **HARDFLOAT** is 1.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-core] kasjer merged pull request #2776: apps/coremark: Fix output when HARDFLOAT is on

Posted by GitBox <gi...@apache.org>.
kasjer merged pull request #2776:
URL: https://github.com/apache/mynewt-core/pull/2776


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org