Skip to content

Conversation

@ZERICO2005
Copy link
Contributor

@ZERICO2005 ZERICO2005 commented May 14, 2025

Changed the definition of quiet NaN for issignaling:

  • float: quiet NaN is NaN with bit 22 set
  • long double: quiet NaN is NaN with bit 51 set

Inlined functions that were only used once in softfloat saving ~118 bytes. softfloat_normSubnormalF64Sig was a fairly simple function, so I was able to implement it in assembly saving ~78 bytes.

I also removed unused softfloat functions to improve compile/link times. f64_to_i64_r_minMag.c can be removed since dtoll has been implemented in assembly for example.

@mateoconlechuga mateoconlechuga merged commit c4e7702 into master May 15, 2025
9 checks passed
@mateoconlechuga mateoconlechuga deleted the pr/opt_softfloat branch May 15, 2025 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants