-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
musl provides many math functions in assembly. I thought it'd be nice to leave those as-is and provide a step in the build to assemble all the .s files and produce a libm-intermediate.a that we can link to librusl.
One reason we might want to copy over the assembly is because of optimizations like the short jmps in musl/src/math/x86_64/floorl.s. I thought it would be hard to bring optimizations like that over to #[naked] rust functions with asm! blocks.
Thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels