Message ID | 20170720150426.12393-9-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show |
Series | Implementing FP16 for ARMv8.2 using SoftFloat2a and 3c | expand |
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
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 <alex.bennee@linaro.org> --- 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 -- 2.13.0