From patchwork Mon Apr 18 21:00:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 91855 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 8CFB1B6FD2 for ; Tue, 19 Apr 2011 07:04:28 +1000 (EST) Received: from localhost ([::1]:52259 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBvcP-0005xm-Rz for incoming@patchwork.ozlabs.org; Mon, 18 Apr 2011 17:04:25 -0400 Received: from eggs.gnu.org ([140.186.70.92]:59383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBvYb-0007O1-Al for qemu-devel@nongnu.org; Mon, 18 Apr 2011 17:00:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBvYa-0004le-Hg for qemu-devel@nongnu.org; Mon, 18 Apr 2011 17:00:29 -0400 Received: from hall.aurel32.net ([88.191.126.93]:44202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBvYa-0004lQ-Ch for qemu-devel@nongnu.org; Mon, 18 Apr 2011 17:00:28 -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 1QBvYZ-00027Y-Kz; Mon, 18 Apr 2011 23:00:27 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.72) (envelope-from ) id 1QBvYT-0005T5-KE; Mon, 18 Apr 2011 23:00:21 +0200 From: Aurelien Jarno To: qemu-devel@nongnu.org Date: Mon, 18 Apr 2011 23:00:00 +0200 Message-Id: <1303160412-8107-9-git-send-email-aurelien@aurel32.net> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1303160412-8107-1-git-send-email-aurelien@aurel32.net> References: <1303160412-8107-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 08/20] softfloat-native: fix float*_scalbn() functions 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 float*_scalbn() should be able to take a status parameter. Fix that. Signed-off-by: Aurelien Jarno Reviewed-by: Peter Maydell --- fpu/softfloat-native.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h index 97fb3c7..f497e64 100644 --- a/fpu/softfloat-native.h +++ b/fpu/softfloat-native.h @@ -283,7 +283,7 @@ INLINE float32 float32_is_zero(float32 a) return fpclassify(a) == FP_ZERO; } -INLINE float32 float32_scalbn(float32 a, int n) +INLINE float32 float32_scalbn(float32 a, int n STATUS_PARAM) { return scalbnf(a, n); } @@ -404,7 +404,7 @@ INLINE float64 float64_is_zero(float64 a) return fpclassify(a) == FP_ZERO; } -INLINE float64 float64_scalbn(float64 a, int n) +INLINE float64 float64_scalbn(float64 a, int n STATUS_PARAM) { return scalbn(a, n); } @@ -520,7 +520,7 @@ INLINE floatx80 floatx80_is_zero(floatx80 a) return fpclassify(a) == FP_ZERO; } -INLINE floatx80 floatx80_scalbn(floatx80 a, int n) +INLINE floatx80 floatx80_scalbn(floatx80 a, int n STATUS_PARAM) { return scalbnl(a, n); }