Am 19.05.2011 15:46, schrieb Peter Maydell:
The Neon versions of int-float conversions must use the "standard FPSCR"
rather than the default FPSCR. Implement this by having the helper
functions take a pointer to the appropriate float_status value rather
than simply taking a pointer to the entire CPUState, and making
translate.c pass a pointer to vfp.fp_status or vfp.standard_fp_status
appropriately for whether the instruction being translated is Neon
or VFP.

Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
---
target-arm/helper.c | 132 ++++++++++++-------------------------------
target-arm/helper.h | 60 ++++++++++----------
target-arm/translate.c | 148 +++++++++++++++++++++++++----------------------
3 files changed, 146 insertions(+), 194 deletions(-)


This patch breaks compilation at least on 64 bit hosts with configure option --enable-debug-tcg
(tested on 64 bit Debian Linux).

target-arm/translate.c: In function ‘gen_vfp_uito’:
target-arm/translate.c:999: error: incompatible type for argument 2 of ‘tcg_gen_addi_i32’

and many more.

Cheers,
Stefan W.


Reply via email to