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

Richard Henderson posted 2 patches 1 year, 3 months ago
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(-)
[PATCH 0/2] target/riscv: Fix double calls to gen_set_rm [#1411]
Posted by Richard Henderson 1 year, 3 months ago
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
Re: [PATCH 0/2] target/riscv: Fix double calls to gen_set_rm [#1411]
Posted by Richard Henderson 1 year, 3 months ago
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~