Re: [PATCH v4 17/41] linux-user/host/riscv: Improve host_signal_write

2021-10-06 Thread Alistair Francis
On Thu, Oct 7, 2021 at 3:37 AM Richard Henderson wrote: > > Do not read 4 bytes before we determine the size of the insn. > Simplify triple switches in favor of checking major opcodes. > Include the missing cases of compact fsd and fsdsp. > > Cc: qemu-ri...@nongnu.org > Signed-off-by: Richard

[PATCH v4 17/41] linux-user/host/riscv: Improve host_signal_write

2021-10-06 Thread Richard Henderson
Do not read 4 bytes before we determine the size of the insn. Simplify triple switches in favor of checking major opcodes. Include the missing cases of compact fsd and fsdsp. Cc: qemu-ri...@nongnu.org Signed-off-by: Richard Henderson --- linux-user/host/riscv/host-signal.h | 83