mbox series

[0/2] target/riscv: Fix double calls to gen_set_rm [#1411]

Message ID 20230115160657.3169274-1-richard.henderson@linaro.org
Headers show
Series target/riscv: Fix double calls to gen_set_rm [#1411] | expand

Message

Richard Henderson Jan. 15, 2023, 4:06 p.m. UTC
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(-)

Comments

Richard Henderson Jan. 15, 2023, 4:21 p.m. UTC | #1
On 1/15/23 06:06, Richard Henderson wrote:
> 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.

Also #1339.


r~