From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPL15-0002C9-Hc for qemu-devel@nongnu.org; Wed, 25 May 2011 16:49:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPL14-0003Me-Pj for qemu-devel@nongnu.org; Wed, 25 May 2011 16:49:19 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:55114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPL14-0003MZ-Dw for qemu-devel@nongnu.org; Wed, 25 May 2011 16:49:18 -0400 Message-ID: <4DDD6B41.1020507@mail.berlios.de> Date: Wed, 25 May 2011 22:49:05 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1305812779-23175-1-git-send-email-peter.maydell@linaro.org> <1305812779-23175-7-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1305812779-23175-7-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v2 6/6] target-arm: Use correct float status for Neon int-float conversions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: patches@linaro.org, qemu-devel@nongnu.org, Aurelien Jarno , Paul Brook 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 > --- > 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.