From patchwork Mon May 23 21:42:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 97081 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 1480BB6F74 for ; Tue, 24 May 2011 07:43:15 +1000 (EST) Received: from localhost ([::1]:36044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOcu8-0005rb-5a for incoming@patchwork.ozlabs.org; Mon, 23 May 2011 17:43:12 -0400 Received: from eggs.gnu.org ([140.186.70.92]:58409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOcts-0005rN-7t for qemu-devel@nongnu.org; Mon, 23 May 2011 17:42:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOctr-0003Cp-10 for qemu-devel@nongnu.org; Mon, 23 May 2011 17:42:56 -0400 Received: from hall.aurel32.net ([88.191.126.93]:53490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOctq-0003CR-Qo for qemu-devel@nongnu.org; Mon, 23 May 2011 17:42:54 -0400 Received: from [2001:470:d4ed:0:5e26:aff:fe2b:6f5b] (helo=volta.aurel32.net) by hall.aurel32.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1QOctq-0000ZX-2z; Mon, 23 May 2011 23:42:54 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.76) (envelope-from ) id 1QOctp-0002W1-1g; Mon, 23 May 2011 23:42:53 +0200 From: Aurelien Jarno To: qemu-devel@nongnu.org Date: Mon, 23 May 2011 23:42:44 +0200 Message-Id: <1306186971-9528-3-git-send-email-aurelien@aurel32.net> X-Mailer: git-send-email 1.7.5.1 In-Reply-To: <1306186971-9528-1-git-send-email-aurelien@aurel32.net> References: <1306186971-9528-1-git-send-email-aurelien@aurel32.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 88.191.126.93 Cc: Aurelien Jarno Subject: [Qemu-devel] [PATCH v2 2/9] target-mips/gdbstub: remove old CONFIG_SOFTFLOAT #ifndef X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org target-mips has been switched to softfloat only long ago, but a #ifndef CONFIG_SOFTFLOAT has been forgotten. Remove it. Signed-off-by: Aurelien Jarno Reviewed-by: Peter Maydell Reviewed-by: Andreas Färber --- gdbstub.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index ae856f9..b9ae30d 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1105,10 +1105,6 @@ static int cpu_gdb_write_register(CPUState *env, uint8_t *mem_buf, int n) env->active_fpu.fcr31 = tmp & 0xFF83FFFF; /* set rounding mode */ RESTORE_ROUNDING_MODE; -#ifndef CONFIG_SOFTFLOAT - /* no floating point exception for native float */ - SET_FP_ENABLE(env->active_fpu.fcr31, 0); -#endif break; case 71: env->active_fpu.fcr0 = tmp; break; }