Re: [PATCH v1] xen/riscv: improve check-extension() macro

2024-05-02 Thread Oleksii
On Mon, 2024-04-29 at 15:30 +0200, Jan Beulich wrote: > On 26.04.2024 17:23, Oleksii Kurochko wrote: > > Now, the check-extension() macro has 1 argument instead of 2. > > This change helps to reduce redundancy around usage of extensions > > name (in the case of the zbb extension, the name was used

Re: [PATCH v1] xen/riscv: improve check-extension() macro

2024-04-29 Thread Jan Beulich
On 26.04.2024 17:23, Oleksii Kurochko wrote: > Now, the check-extension() macro has 1 argument instead of 2. > This change helps to reduce redundancy around usage of extensions > name (in the case of the zbb extension, the name was used 3 times). > > To implement this, a new variable was

[PATCH v1] xen/riscv: improve check-extension() macro

2024-04-26 Thread Oleksii Kurochko
Now, the check-extension() macro has 1 argument instead of 2. This change helps to reduce redundancy around usage of extensions name (in the case of the zbb extension, the name was used 3 times). To implement this, a new variable was introduced: -insn which represents the instruction support