Re: [PATCH v2 4/4] riscv: cpufeature: Extract common elements from extension checking
From: Andy Chiu
Date: Fri Jun 21 2024 - 04:38:49 EST
On Mon, Jun 10, 2024 at 12:34 PM Charlie Jenkins <charlie@xxxxxxxxxxxx> wrote:
>
> The __riscv_has_extension_likely() and __riscv_has_extension_unlikely()
> functions from the vendor_extensions.h can be used to simplify the
> standard extension checking code as well. Migrate those functions to
> cpufeature.h and reorganize the code in the file to use the functions.
>
> Signed-off-by: Charlie Jenkins <charlie@xxxxxxxxxxxx>
> Reviewed-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
Reviewed-by: Andy Chiu <andy.chiu@xxxxxxxxxx>