You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FPU must be enabled before using floating point instructions. Newlib's crt0.S and arcv-crt0.S (our own custom crt0) does not do this. Here is an example of how it's done in Picolibc:
It would be better to add support of enabling FPU right in arcv-crt0.S. Maybe it's worth placing the same code to original crt0.S and push to upstream.
The text was updated successfully, but these errors were encountered:
FPU must be enabled before using floating point instructions. Newlib's
crt0.S
andarcv-crt0.S
(our own customcrt0
) does not do this. Here is an example of how it's done in Picolibc:Here is a piece of code that could be used as a quick workaround. It's placed in
.init
section and executed beforemain
.It would be better to add support of enabling FPU right in
arcv-crt0.S
. Maybe it's worth placing the same code to originalcrt0.S
and push to upstream.The text was updated successfully, but these errors were encountered: