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

Richard Henderson posted 2 patches 1 year, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230115160657.3169274-1-richard.henderson@linaro.org
Maintainers: Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com>
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~