Open Alexbruliau opened 1 month ago
Describe the bug FPU is deactivated inside tx_thread_schedule.S v6.4.1
Is it the correct behavior ? I would expect the FS bit from the mstatus not to be reset to 0. Otherwise it will cause a trap if you try to access a FP register afterwards.
Oops, I had modified there as follow, and it work well:
li t0, 0x3880 # Prepare MPIP
li t0, 0x1880 # Prepare MPIP
Describe the bug FPU is deactivated inside tx_thread_schedule.S v6.4.1
Is it the correct behavior ? I would expect the FS bit from the mstatus not to be reset to 0. Otherwise it will cause a trap if you try to access a FP register afterwards.