After checking RISCY RTL code, i found the implementation is straight forward as stated in specs as follows:
if (FPU == 1) begin
if (fp_rnd_mode == 3'b111) apu_flags = frm_i; else apu_flags = fp_rnd_mode;
end else
where fp_rnd_mode is the round mode field in the instruction opcode.
After checking RISCY RTL code, i found the implementation is straight forward as stated in specs as follows:
apu_ flags = frm_i;
else
apu_ flags = fp_rnd_mode;
if (FPU == 1) begin
if (fp_rnd_mode == 3'b111)
end else
where fp_rnd_mode is the round mode field in the instruction opcode.