Re: [Qemu-devel] [PATCH v1 2/4] disas/riscv: Disassemble reserved compressed encodings as illegal

2019-06-19 Thread Alistair Francis
On Fri, Jun 14, 2019 at 2:18 AM Palmer Dabbelt wrote: > > On Fri, 17 May 2019 15:11:01 PDT (-0700), Alistair Francis wrote: > > From: Michael Clark > > > > Due to the design of the disassembler, the immediate is not > > known during decoding of the opcode; so to handle compressed > > encodings wi

Re: [Qemu-devel] [PATCH v1 2/4] disas/riscv: Disassemble reserved compressed encodings as illegal

2019-06-14 Thread Palmer Dabbelt
On Fri, 17 May 2019 15:11:01 PDT (-0700), Alistair Francis wrote: From: Michael Clark Due to the design of the disassembler, the immediate is not known during decoding of the opcode; so to handle compressed encodings with reserved immediate values (non-zero), we need to add an additional check

[Qemu-devel] [PATCH v1 2/4] disas/riscv: Disassemble reserved compressed encodings as illegal

2019-05-17 Thread Alistair Francis
From: Michael Clark Due to the design of the disassembler, the immediate is not known during decoding of the opcode; so to handle compressed encodings with reserved immediate values (non-zero), we need to add an additional check during decompression to match reserved encodings with zero immediate