]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user/elfload.c: Update ARM HWCAP bits
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 May 2014 13:45:13 +0000 (14:45 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 21 Jul 2014 03:17:19 +0000 (22:17 -0500)
commit074f673a9a3ef557dc732a25bd3aa9470eab82c3
tree7d6e917598a53b393993111f59b8dc6a378e38e9
parent83b1dc162c42fd8c250bbbf3fea3d6d7d766b8b1
linux-user/elfload.c: Update ARM HWCAP bits

The kernel has added support for a number of new ARM HWCAP bits;
add them to QEMU, including support for setting them where we have
a corresponding CPU feature bit.

We were also incorrectly setting the VFPv3D16 HWCAP -- this means
"only 16 D registers", not "supports 16-bit floating point format";
since QEMU always has 32 D registers for VFPv3, we can just remove
the line that incorrectly set this bit.

The kernel does not set the HWCAP_FPA even if it is providing FPA
emulation via nwfpe, so don't set this bit in QEMU either.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-stable@nongnu.org
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
(cherry picked from commit 24682654654a2e7b50afc27880f4098e5fca3742)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
linux-user/elfload.c