Skip to content

Optimize long double routines#581

Merged
mateoconlechuga merged 4 commits into
masterfrom
pr/opt_softfloat
Apr 8, 2025
Merged

Optimize long double routines#581
mateoconlechuga merged 4 commits into
masterfrom
pr/opt_softfloat

Conversation

@ZERICO2005
Copy link
Copy Markdown
Contributor

@ZERICO2005 ZERICO2005 commented Apr 8, 2025

Changes:

  • Optimized softfloat by precalculating the sign of the arguments
  • Added C23 issignaling to detect signaling NaN's. This allows for some softfloat optimizations too. All NaN's are signaling NaN's except for positive/negative quiet NaN.
  • Slightly optimized _dcmp knowing that the two arguments are 12 bytes away from each other on the stack.
  • Precalculated the sign for the float64_to_integer routines
  • Removed the _debug_funcl macro aliases since the long double routine linking bugs have been fixed in ez80-clang nightly

@mateoconlechuga mateoconlechuga merged commit 04eca2a into master Apr 8, 2025
9 checks passed
@mateoconlechuga mateoconlechuga deleted the pr/opt_softfloat branch April 8, 2025 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants