linux-user/arm: Replace ARM_FEATURE_VFP* tests for HWCAP
commitbfa8a370d2f5d4ed03f7a7e2987982f15fe73758
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 24 Feb 2020 22:22:28 +0000 (24 14:22 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Feb 2020 16:14:57 +0000 (28 16:14 +0000)
tree1c1e4c25896b269abbf889d3e89d51a67dec2a11
parentf0f6d5c81be47d593e5ece7f06df6fba4c15738b
linux-user/arm: Replace ARM_FEATURE_VFP* tests for HWCAP

Use isar feature tests instead of feature bit tests.

Although none of QEMUs current cpus have VFPv3 without D32,
replace the large comment explaining why with one line that
sets ARM_HWCAP_ARM_VFPv3D16 under the correct conditions.
Mirror the test sequence used in the linux kernel.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200224222232.13807-14-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/elfload.c