]> git.proxmox.com Git - qemu.git/commit - target-arm/translate.c
target-arm: Translate with VFP-enabled from TB flags, not CPUState
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Jan 2011 19:39:19 +0000 (20:39 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:19 +0000 (20:39 +0100)
commit5df8bac1d3ea43b7f55ffab07cbc6d81a37d82ab
tree1fe999868e2dabbb94843d22350903cb86a370b5
parenta170576856fedfcdd7d8602cb5650a33d13d38f5
target-arm: Translate with VFP-enabled from TB flags, not CPUState

When translating code, whether the VFP unit is enabled for this TB
is stored in a bit in the TB flags. Use this rather than incorrectly
reading the FPEXC from the CPUState passed to translation.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/translate.c