Skip to content

add ez80sf to CRT#712

Draft
ZERICO2005 wants to merge 17 commits intomasterfrom
ez80sf_gas
Draft

add ez80sf to CRT#712
ZERICO2005 wants to merge 17 commits intomasterfrom
ez80sf_gas

Conversation

@ZERICO2005
Copy link
Copy Markdown
Contributor

@ZERICO2005 ZERICO2005 commented Feb 25, 2026

Adds ez80sf functions to CRT. The compiler does not emit any __fp* or __*fp functions yet (apart from ftoll and (u)lltof aliasing fptoll and (u)lltofp).

Notes:

  • ftoll and (u)lltof now use ez80sf routines (which are smaller and faster than the C routines used previously).
  • The intention is that the compiler will emit __f*/__*f for ti/zilog floats, and __fp*/__*fp for ez80sf floats.
  • Currently dtof/ftod alias to dtofp/fptod.
  • dcmpo and dcmpu have been implemented (in C for now)
  • autotests for fcmp, fcmpo, fcmpu, dcmp, dcmpo, dcmpu have been added.

@ZERICO2005 ZERICO2005 added the crt label Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant