Re: [PATCH v2] xen/riscv: check whether the assembler has Zbb extension support

2024-04-19 Thread Oleksii
On Fri, 2024-04-19 at 12:26 +0200, Oleksii Kurochko wrote: > Update the argument of the as-insn for the Zbb case to verify that > Zbb is supported not only by a compiler, but also by an assembler. > > Also, check_extenstion(ext_name, "insn") helper macro is introduced > to check whether extension

[PATCH v2] xen/riscv: check whether the assembler has Zbb extension support

2024-04-19 Thread Oleksii Kurochko
Update the argument of the as-insn for the Zbb case to verify that Zbb is supported not only by a compiler, but also by an assembler. Also, check_extenstion(ext_name, "insn") helper macro is introduced to check whether extension is supported by a compiler and an assembler. Signed-off-by: Oleksii