diff mbox series

[9/9] target/arm: Enable ARM_FEATURE_V8_ATOMICS for user-only

Message ID 20180427002651.28356-10-richard.henderson@linaro.org
State Superseded
Headers show
Series target/arm: Implement v8.1-Atomics | expand

Commit Message

Richard Henderson April 27, 2018, 12:26 a.m. UTC
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

---
 target/arm/cpu64.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.14.3

Comments

Peter Maydell May 3, 2018, 2:26 p.m. UTC | #1
On 27 April 2018 at 01:26, Richard Henderson
<richard.henderson@linaro.org> wrote:
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

> ---

>  target/arm/cpu64.c | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c

> index 991d764674..c50dcd4077 100644

> --- a/target/arm/cpu64.c

> +++ b/target/arm/cpu64.c

> @@ -248,6 +248,7 @@ static void aarch64_max_initfn(Object *obj)

>          set_feature(&cpu->env, ARM_FEATURE_V8_SM4);

>          set_feature(&cpu->env, ARM_FEATURE_V8_PMULL);

>          set_feature(&cpu->env, ARM_FEATURE_CRC);

> +        set_feature(&cpu->env, ARM_FEATURE_V8_ATOMICS);

>          set_feature(&cpu->env, ARM_FEATURE_V8_RDM);

>          set_feature(&cpu->env, ARM_FEATURE_V8_FP16);

>          set_feature(&cpu->env, ARM_FEATURE_V8_FCMA);

> --


Reviewed-by: Peter Maydell <peter.maydell@linaro.org>


thanks
-- PMM
diff mbox series

Patch

diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
index 991d764674..c50dcd4077 100644
--- a/target/arm/cpu64.c
+++ b/target/arm/cpu64.c
@@ -248,6 +248,7 @@  static void aarch64_max_initfn(Object *obj)
         set_feature(&cpu->env, ARM_FEATURE_V8_SM4);
         set_feature(&cpu->env, ARM_FEATURE_V8_PMULL);
         set_feature(&cpu->env, ARM_FEATURE_CRC);
+        set_feature(&cpu->env, ARM_FEATURE_V8_ATOMICS);
         set_feature(&cpu->env, ARM_FEATURE_V8_RDM);
         set_feature(&cpu->env, ARM_FEATURE_V8_FP16);
         set_feature(&cpu->env, ARM_FEATURE_V8_FCMA);