Re: [PATCH] riscv: do not set the rounding mode via `gen_set_rm`

2023-01-07 Thread Bin Meng
On Fri, Dec 30, 2022 at 2:20 AM Saleem Abdulrasool wrote: > > From: Saleem Abdulrasool > > Setting the rounding mode via the `gen_set_rm` call would alter the > state of the disassembler, resetting the `TransOp` in the assembler > context. When we subsequently set the rounding mode to the

[PATCH] riscv: do not set the rounding mode via `gen_set_rm`

2022-12-29 Thread Saleem Abdulrasool
From: Saleem Abdulrasool Setting the rounding mode via the `gen_set_rm` call would alter the state of the disassembler, resetting the `TransOp` in the assembler context. When we subsequently set the rounding mode to the desired value, we would trigger an assertion in `decode_save_opc`. Instead

Re: [PATCH] riscv: do not set the rounding mode via `gen_set_rm`

2022-12-29 Thread Philippe Mathieu-Daudé
On 29/12/22 18:37, Saleem Abdulrasool wrote: From: Saleem Abdulrasool Setting the rounding mode via the `gen_set_rm` call would alter the state of the disassembler, resetting the `TransOp` in the assembler context. When we subsequently set the rounding mode to the desired value, we would

[PATCH] riscv: do not set the rounding mode via `gen_set_rm`

2022-12-29 Thread Saleem Abdulrasool
From: Saleem Abdulrasool Setting the rounding mode via the `gen_set_rm` call would alter the state of the disassembler, resetting the `TransOp` in the assembler context. When we subsequently set the rounding mode to the desired value, we would trigger an assertion in `decode_save_opc`. Instead