Enable Floating Point features on the toolchain.
This is to enable testing on saving and restoring floating point
registers.
Bug: 129131324
Change-Id: I0cffa8011e2613f801bfa6891f758c0f817619de
diff --git a/BUILD.gn b/BUILD.gn
index 53d680b..5208796 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -50,8 +50,10 @@
max_vms = 6
}
+# TODO: Change cpu back to +nofp with more granular control.
+
aarch64_toolchain("aem_v8a_fvp") {
- cpu = "cortex-a57+nofp"
+ cpu = "cortex-a57+fp"
origin_address = "0x80000000"
use_pl011 = true
pl011_base_address = "0x1c090000"
@@ -63,8 +65,10 @@
max_vms = 16
}
+# TODO: Change cpu back to +nofp with more granular control.
+
aarch64_toolchain("qemu_aarch64") {
- cpu = "cortex-a57+nofp"
+ cpu = "cortex-a57+fp"
origin_address = "0x40001000"
use_pl011 = true
pl011_base_address = "0x09000000"