RTEMS | riscv: init FPU in s-mode (!1148)

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Mar 19 15:53:45 UTC 2026




Kinsey Moore started a new discussion on bsps/riscv/shared/start/start.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1148#note_146233

 >  #endif
 >  
 >  	/* Init FPU */
 > -#if defined( __riscv_flen ) && !defined( RISCV_USE_S_MODE )
 > +#if defined( __riscv_flen )
 >  	li	t0, MSTATUS_FS

This is technically the same value as SSTATUS_FS, but S-mode should use this definition instead.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1148#note_146233
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/d7350d54/attachment-0001.htm>


More information about the bugs mailing list