Commit 130e65dd authored by Greentime Hu's avatar Greentime Hu Committed by Anup Patel
Browse files

lib: sbi: Implement SET_FS_DIRTY() to make sure the mstatus FS dirty is set



We found the mstatus.FS status is not set correctly after the SET_F64_REG()
and SET_F32_REG(). We should set mstatus.FS dirty after we emulate the FPU
instructions.

Co-developed-by: default avatarRoy Lin <roy.lin@sifive.com>
Signed-off-by: default avatarRoy Lin <roy.lin@sifive.com>
Signed-off-by: default avatarGreentime Hu <greentime.hu@sifive.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 5bd96947
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment