[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [RFC PATCH for 2.11 08/23] target-aarch64: enable SoftFloat3
From: |
Alex Bennée |
Subject: |
[Qemu-arm] [RFC PATCH for 2.11 08/23] target-aarch64: enable SoftFloat3 build for FP16 |
Date: |
Thu, 20 Jul 2017 16:04:11 +0100 |
This requires us to output the common build configuration in the
target configure files. We also define which bits of SoftFloat3c we
need for the target. For Aarch64 we just want the FP16 bits.
Signed-off-by: Alex Bennée <address@hidden>
---
configure | 2 ++
default-configs/aarch64-common.mak | 3 +++
default-configs/aarch64-linux-user.mak | 2 ++
default-configs/aarch64-softmmu.mak | 2 ++
4 files changed, 9 insertions(+)
create mode 100644 default-configs/aarch64-common.mak
diff --git a/configure b/configure
index 4778eaa8c8..4c4dbf8bf3 100755
--- a/configure
+++ b/configure
@@ -6128,6 +6128,7 @@ echo "# Automatically generated by configure - do not
modify" > $config_target_m
bflt="no"
mttcg="no"
+softfloat3="no"
interp_prefix1=$(echo "$interp_prefix" | sed "s/%M/$target_name/g")
gdb_xml_files=""
@@ -6156,6 +6157,7 @@ case "$target_name" in
TARGET_BASE_ARCH=arm
bflt="yes"
mttcg="yes"
+ softfloat3="yes"
gdb_xml_files="aarch64-core.xml aarch64-fpu.xml arm-core.xml arm-vfp.xml
arm-vfp3.xml arm-neon.xml"
;;
cris)
diff --git a/default-configs/aarch64-common.mak
b/default-configs/aarch64-common.mak
new file mode 100644
index 0000000000..582933bd13
--- /dev/null
+++ b/default-configs/aarch64-common.mak
@@ -0,0 +1,3 @@
+# Common for all aarch64
+
+CONFIG_SOFTFLOAT3_FP16=y
diff --git a/default-configs/aarch64-linux-user.mak
b/default-configs/aarch64-linux-user.mak
index 0a5b08a007..9a65f643b1 100644
--- a/default-configs/aarch64-linux-user.mak
+++ b/default-configs/aarch64-linux-user.mak
@@ -1 +1,3 @@
# Default configuration for aarch64-linux-user
+
+include aarch64-common.mak
diff --git a/default-configs/aarch64-softmmu.mak
b/default-configs/aarch64-softmmu.mak
index 24494832cf..f6bf6b2ee7 100644
--- a/default-configs/aarch64-softmmu.mak
+++ b/default-configs/aarch64-softmmu.mak
@@ -1,5 +1,7 @@
# Default configuration for aarch64-softmmu
+include aarch64-common.mak
+
# We support all the 32 bit boards so need all their config
include arm-softmmu.mak
--
2.13.0
- [Qemu-arm] [RFC PATCH for 2.11 00/23] Implementing FP16 for ARMv8.2 using SoftFloat2a and 3c, Alex Bennée, 2017/07/20
- [Qemu-arm] [RFC PATCH for 2.11 01/23] softfloat: move existing softfloat2a into versioned directory, Alex Bennée, 2017/07/20
- [Qemu-arm] [RFC PATCH for 2.11 06/23] softfloat3c: silence compiler warning, Alex Bennée, 2017/07/20
- [Qemu-arm] [RFC PATCH for 2.11 07/23] softfloat3c: f16_to_f128M remove unused variable, Alex Bennée, 2017/07/20
- [Qemu-arm] [RFC PATCH for 2.11 10/23] target/arm/translate-a64.c: handle_3same_64 comment fix, Alex Bennée, 2017/07/20
- [Qemu-arm] [RFC PATCH for 2.11 05/23] softfloat3c: initial build machinery, Alex Bennée, 2017/07/20
- [Qemu-arm] [RFC PATCH for 2.11 08/23] target-aarch64: enable SoftFloat3 build for FP16,
Alex Bennée <=
- [Qemu-arm] [RFC PATCH for 2.11 09/23] arm: introduce ARM_V8_FP16 feature bit, Alex Bennée, 2017/07/20
- [Qemu-arm] [RFC PATCH for 2.11 11/23] target/arm/translate-a64.c: AdvSIMD scalar 3 Same FP16 initial decode, Alex Bennée, 2017/07/20
- [Qemu-arm] [RFC PATCH for 2.11 13/23] target/arm/translate-a64.c: add FP16 FADD to AdvSIMD 3 Same, Alex Bennée, 2017/07/20
- [Qemu-arm] [RFC PATCH for 2.11 12/23] target/arm/translate-a64.c: add FP16 FAGCT to AdvSIMD 3 Same, Alex Bennée, 2017/07/20