cannot load kernel: symbol lookup error: rint #61
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#61
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current demo does not start (tested on RISC-V KC705):
It requires some libm symbols.
OK, but why is it using
rint()
? We are only implementinground()
into an integer, whereasrint()
isdouble -> double
. Isn't that inefficient? What is the legacy compiler doing?Legacy compiler uses
llvm.round.f64
(alsodouble->double
), NAC3 is usingllvm.rint.f64
.rint is not available in the rust libm crate used on Zynq.