RTEMS | riscv: init FPU in s-mode (!1148)
Gedare Bloom (@gedare)
gitlab at rtems.org
Thu Mar 19 16:29:21 UTC 2026
Gedare Bloom commented on a discussion on bsps/riscv/shared/start/start.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1148#note_146254
> #endif
>
> /* Init FPU */
> -#if defined( __riscv_flen ) && !defined( RISCV_USE_S_MODE )
> +#if defined( __riscv_flen )
> li t0, MSTATUS_FS
yeah, I was being a little bit lazy and also reducing SLOC, but I've changed it for better readability.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1148#note_146254
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260319/ba7ae645/attachment-0001.htm>
More information about the bugs
mailing list