Closed bandvig closed 2 years ago
Hi @bandvig
The change looks good. But I am thinking maybe we should not use Sr[sumra] and just make fpscr always accessible. It will make the change easier and it seems like what other architecturesc do.
What do you think? I can update the proposal
@stffrdhrn
I have no objection. I also created fpcsr_free_access
branches for both mor1kx
and or1k_marochino
. Modifications are trivial.
Merged the fix
@stffrdhrn Stafford, In framework of
https://openrisc.io/proposals/p17-user-mode-fpcsr
proposal, I've implemented write access to FPSCR if SR[SUMRA] is raised. Please find the modifications infpcsr_sumra
branch. The modifications are quite similar those I did for MAROCCHINO (in the similar branch). I hope you can use the branch for implementation FP support in glibc and linux.