[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

[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