aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/aarch64/system/boot.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/aarch64/system/boot.S')
-rw-r--r--tests/tcg/aarch64/system/boot.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tcg/aarch64/system/boot.S b/tests/tcg/aarch64/system/boot.S
index e190b1e..f136363 100644
--- a/tests/tcg/aarch64/system/boot.S
+++ b/tests/tcg/aarch64/system/boot.S
@@ -179,12 +179,13 @@ __start:
isb
/*
- * Enable FP registers. The standard C pre-amble will be
+ * Enable FP/SVE registers. The standard C pre-amble will be
* saving these and A-profile compilers will use AdvSIMD
* registers unless we tell it not to.
*/
mrs x0, cpacr_el1
orr x0, x0, #(3 << 20)
+ orr x0, x0, #(3 << 16)
msr cpacr_el1, x0
/* Setup some stack space and enter the test code.