From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37339 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGbog-0005To-9h for qemu-devel@nongnu.org; Thu, 11 Nov 2010 13:24:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGboa-0000fD-UO for qemu-devel@nongnu.org; Thu, 11 Nov 2010 13:24:07 -0500 Received: from mnementh.archaic.org.uk ([81.2.115.146]:46364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGboa-0000eB-Fd for qemu-devel@nongnu.org; Thu, 11 Nov 2010 13:24:04 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.69) (envelope-from ) id 1PGboY-0007VK-TO for qemu-devel@nongnu.org; Thu, 11 Nov 2010 18:24:02 +0000 From: Peter Maydell Date: Thu, 11 Nov 2010 18:23:57 +0000 Message-Id: <1289499842-28818-4-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1289499842-28818-1-git-send-email-peter.maydell@linaro.org> References: <1289499842-28818-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 3/8] ARM: Fix sense of to_integer bit in Neon VCVT float/int conversion List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Peter Maydell --- target-arm/translate.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index 696abf6..afb3872 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -5664,16 +5664,16 @@ static int disas_neon_data_insn(CPUState * env, DisasContext *s, uint32_t insn) gen_helper_rsqrte_f32(cpu_F0s, cpu_F0s, cpu_env); break; case 60: /* VCVT.F32.S32 */ - gen_vfp_tosiz(0); + gen_vfp_sito(0); break; case 61: /* VCVT.F32.U32 */ - gen_vfp_touiz(0); + gen_vfp_uito(0); break; case 62: /* VCVT.S32.F32 */ - gen_vfp_sito(0); + gen_vfp_tosiz(0); break; case 63: /* VCVT.U32.F32 */ - gen_vfp_uito(0); + gen_vfp_touiz(0); break; default: /* Reserved: 21, 29, 39-56 */ -- 1.7.1