Re: [PATCH 3/3] target/riscv: Minimize the calls to decode_save_opc

2022-06-12 Thread Alistair Francis
On Sun, Jun 5, 2022 at 9:12 AM Richard Henderson wrote: > > The set of instructions that require decode_save_opc for > unwinding is really fairly small -- only insns that can > raise ILLEGAL_INSN at runtime. This includes CSR, anything > that uses a *new* fp rounding mode, and many privileged ins

[PATCH 3/3] target/riscv: Minimize the calls to decode_save_opc

2022-06-04 Thread Richard Henderson
The set of instructions that require decode_save_opc for unwinding is really fairly small -- only insns that can raise ILLEGAL_INSN at runtime. This includes CSR, anything that uses a *new* fp rounding mode, and many privileged insns. Since unwind info is stored as the difference from the previou