Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster float library for RISC-V Hazard3 #2003

Open
Panda381 opened this issue Oct 27, 2024 · 1 comment
Open

Faster float library for RISC-V Hazard3 #2003

Panda381 opened this issue Oct 27, 2024 · 1 comment
Milestone

Comments

@Panda381
Copy link

I created a faster float library for RISC-V Hazard3 core. Maybe it could be added to the SDK. The functions have a bit lower precision, but I think for a microcontroller the speed of the float functions is more important than the precision. Most of the time the inaccuracy is about 1 lowest bit of mantissa.
science functions: https://github.com/Panda381/PicoLibSDK/blob/main/_sdk/src/sdk_float_riscv_sci.S
templates of science functions in C: https://github.com/Panda381/PicoLibSDK/blob/main/_sdk/src/sdk_float_riscv_sci.c
other float functions: https://github.com/Panda381/PicoLibSDK/blob/main/_sdk/src/sdk_float_riscv.S

@kilograham
Copy link
Contributor

cc @Wren6991

@kilograham kilograham added this to the 2.2.0 milestone Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants