Skip to content


Browse files Browse the repository at this point in the history
target: arm: cpu64: HACK: enable all features on max cpu
XNU needs the ARMv8.1 atomics instructions.
  • Loading branch information
zhuowei committed Jul 7, 2018
1 parent 5008e3e commit b1dec39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion target/arm/cpu64.c
Expand Up @@ -230,7 +230,7 @@ static void aarch64_max_initfn(Object *obj)
} else {
/* We don't set these in system emulation mode for the moment,
* since we don't correctly set the ID registers to advertise them,
* and in some cases they're only available in AArch64 and not AArch32,
Expand All @@ -247,6 +247,7 @@ static void aarch64_max_initfn(Object *obj)
set_feature(&cpu->env, ARM_FEATURE_V8_FP16);
set_feature(&cpu->env, ARM_FEATURE_V8_FCMA);
set_feature(&cpu->env, ARM_FEATURE_SVE);
/* For usermode -cpu max we can use a larger and more efficient DCZ
* blocksize since we don't have to follow what the hardware does.
Expand Down

0 comments on commit b1dec39

Please sign in to comment.