Skip to content

Commit

Permalink
RV64: fix return value of function isa_fp_get_frm
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziyue-Zhang committed Sep 26, 2023
1 parent 60c6230 commit 03bfb58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/isa/riscv64/instr/fp.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,5 @@ uint32_t isa_fp_get_frm() {
#ifndef CONFIG_FPU_NONE
return fcsr->frm;
#endif // CONFIG_FPU_NONE
return 0;
}

0 comments on commit 03bfb58

Please sign in to comment.