qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 6/6] target-arm: Use correct float status for


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH v2 6/6] target-arm: Use correct float status for Neon int-float conversions
Date: Wed, 25 May 2011 22:49:05 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110307 Iceowl/1.0b1 Icedove/3.0.11

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 <address@hidden>
---
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

[Prev in Thread] Current Thread [Next in Thread]