[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/riscv: Enable bitmanip Zb[abcs] instructions
From: |
Alistair Francis |
Subject: |
Re: [PATCH] target/riscv: Enable bitmanip Zb[abcs] instructions |
Date: |
Fri, 17 Dec 2021 15:43:34 +1000 |
On Thu, Dec 16, 2021 at 3:21 PM Vineet Gupta <vineetg@rivosinc.com> wrote:
>
> The bitmanip extension has now been ratified [1] and upstream tooling
> (gcc/binutils) support it too, so move them out of experimental and also
> enable by default (for better test exposure/coverage)
>
> [1] https://wiki.riscv.org/display/TECH/Recently+Ratified+Extensions
>
> Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
Thanks!
Applied to riscv-to-apply.next
Alistair
> ---
> target/riscv/cpu.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
> index f81299812350..c00d59cd04b5 100644
> --- a/target/riscv/cpu.c
> +++ b/target/riscv/cpu.c
> @@ -635,10 +635,10 @@ static Property riscv_cpu_properties[] = {
> DEFINE_PROP_STRING("priv_spec", RISCVCPU, cfg.priv_spec),
>
> /* These are experimental so mark with 'x-' */
> - DEFINE_PROP_BOOL("x-zba", RISCVCPU, cfg.ext_zba, false),
> - DEFINE_PROP_BOOL("x-zbb", RISCVCPU, cfg.ext_zbb, false),
> - DEFINE_PROP_BOOL("x-zbc", RISCVCPU, cfg.ext_zbc, false),
> - DEFINE_PROP_BOOL("x-zbs", RISCVCPU, cfg.ext_zbs, false),
> + DEFINE_PROP_BOOL("zba", RISCVCPU, cfg.ext_zba, true),
> + DEFINE_PROP_BOOL("zbb", RISCVCPU, cfg.ext_zbb, true),
> + DEFINE_PROP_BOOL("zbc", RISCVCPU, cfg.ext_zbc, true),
> + DEFINE_PROP_BOOL("zbs", RISCVCPU, cfg.ext_zbs, true),
> DEFINE_PROP_BOOL("x-h", RISCVCPU, cfg.ext_h, false),
> DEFINE_PROP_BOOL("x-j", RISCVCPU, cfg.ext_j, false),
> DEFINE_PROP_BOOL("x-v", RISCVCPU, cfg.ext_v, false),
> --
> 2.30.2
>
>