target/arm: Enable ARM_FEATURE_V8_ATOMICS for user-only

Backports commit ec7f05fae36637d11de272da82ad1e6c233e77d7 from qemu
This commit is contained in:
Richard Henderson 2018-05-14 08:29:51 -04:00 committed by Lioncash
parent 688d0fd0ed
commit 5752b2086b
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -221,6 +221,7 @@ static void aarch64_max_initfn(struct uc_struct *uc, Object *obj, void *opaque)
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);