Re: [PATCH v5 04/18] target/riscv: additional macros to check instruction support

2021-11-22 Thread Alistair Francis
On Sat, Nov 13, 2021 at 1:08 AM Frédéric Pétrot wrote: > > Given that the 128-bit version of the riscv spec adds new instructions, and > that some instructions that were previously only available in 64-bit mode > are now available for both 64-bit and 128-bit, we added new macros to check > for

[PATCH v5 04/18] target/riscv: additional macros to check instruction support

2021-11-12 Thread Frédéric Pétrot
Given that the 128-bit version of the riscv spec adds new instructions, and that some instructions that were previously only available in 64-bit mode are now available for both 64-bit and 128-bit, we added new macros to check for the processor mode during translation. Although RV128 is a superset