These double calls tickle an assertion in decode_save_opc, and isn't efficient anyway. Introduce a new helper to do exactly what was desired.
r~ Richard Henderson (2): target/arm: Introduce helper_set_rounding_mode_chkfrm target/riscv: Remove helper_set_rod_rounding_mode target/riscv/helper.h | 2 +- target/riscv/fpu_helper.c | 36 +++++++++++++++++++++++-- target/riscv/translate.c | 21 ++++++++++++--- target/riscv/insn_trans/trans_rvv.c.inc | 24 +++-------------- 4 files changed, 57 insertions(+), 26 deletions(-) -- 2.34.1