From patchwork Wed Dec 4 11:54:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 22011 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EEEB423FCE for ; Wed, 4 Dec 2013 11:55:10 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id o6sf52133109oag.7 for ; Wed, 04 Dec 2013 03:55:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=JyB4WuZL+BmaMzacGw0vk1xaw0CPUQ7q1uCHTJOy4MY=; b=k4f4C1cFJkRvC7CZkSCU5THGrB3c9ER5S9v4n/dL5bCrksI3YJasEr77KBUP1D+AZH Bta4A/CREN+Uo+OuBvpoz9Cz91hSB5LnMGSKmKiMB39nhO1B0qiM9MuBYxDuJonnvCkI 0Halg5Pz9P1Dmifayd3XxvO9uLQK7KCjolZF6Drsxm57Lpmztt8RzBGNxcjKWzEyWikn dz4awjfSbiIpIvkdRIlBUi1/3z9RCNVWIVMhxOW48Ss9JYeqOnzmKG4l9v8wI3J03b0s 5/pnJ+1Vh5v0c8CQAL6wcl+L77wSlKyBVzgAegtK9Lay3ZA7b16ZzE6qgyJNQ7hLUF1A o7lQ== X-Gm-Message-State: ALoCoQlqGnUaYU7B67dTO8/78I3HHwzcycKKjDNhq+0hnG83Cb0FcXR0ZFam2E1+F4GDgaSna9tl X-Received: by 10.182.95.68 with SMTP id di4mr26010182obb.4.1386158110477; Wed, 04 Dec 2013 03:55:10 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.108 with SMTP id g12ls261595qej.81.gmail; Wed, 04 Dec 2013 03:55:10 -0800 (PST) X-Received: by 10.220.173.65 with SMTP id o1mr376881vcz.46.1386158110377; Wed, 04 Dec 2013 03:55:10 -0800 (PST) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id z11si32850334vcj.128.2013.12.04.03.55.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 03:55:10 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id ks9so11002169vcb.26 for ; Wed, 04 Dec 2013 03:55:10 -0800 (PST) X-Received: by 10.52.103.35 with SMTP id ft3mr50206755vdb.5.1386158110188; Wed, 04 Dec 2013 03:55:10 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp285950vcz; Wed, 4 Dec 2013 03:55:09 -0800 (PST) X-Received: by 10.180.85.42 with SMTP id e10mr6880955wiz.1.1386158109408; Wed, 04 Dec 2013 03:55:09 -0800 (PST) Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by mx.google.com with ESMTPS id iz4si1038590wic.19.2013.12.04.03.55.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 03:55:09 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.169 is neither permitted nor denied by best guess record for domain of will.newton@linaro.org) client-ip=74.125.82.169; Received: by mail-we0-f169.google.com with SMTP id w61so9388282wes.0 for ; Wed, 04 Dec 2013 03:55:09 -0800 (PST) X-Received: by 10.180.211.71 with SMTP id na7mr6818623wic.5.1386158108969; Wed, 04 Dec 2013 03:55:08 -0800 (PST) Received: from localhost.localdomain (cpc6-seac21-2-0-cust453.7-2.cable.virginm.net. [82.1.113.198]) by mx.google.com with ESMTPSA id qc10sm6258318wic.9.2013.12.04.03.55.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Dec 2013 03:55:08 -0800 (PST) From: Will Newton To: qemu-devel@nongnu.org Cc: patches@linaro.org Subject: [PATCH v8 3/6] softfloat: Remove unused argument from MINMAX macro. Date: Wed, 4 Dec 2013 11:54:56 +0000 Message-Id: <1386158099-9239-4-git-send-email-will.newton@linaro.org> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1386158099-9239-1-git-send-email-will.newton@linaro.org> References: <1386158099-9239-1-git-send-email-will.newton@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: will.newton@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The nan_exp argument is not used, so remove it. Signed-off-by: Will Newton Reviewed-by: Peter Maydell --- fpu/softfloat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 7ba51b6..97bf627 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -6706,7 +6706,7 @@ int float128_compare_quiet( float128 a, float128 b STATUS_PARAM ) * 'compare and pick one input' because that would mishandle * NaNs and +0 vs -0. */ -#define MINMAX(s, nan_exp) \ +#define MINMAX(s) \ INLINE float ## s float ## s ## _minmax(float ## s a, float ## s b, \ int ismin STATUS_PARAM ) \ { \ @@ -6747,8 +6747,8 @@ float ## s float ## s ## _max(float ## s a, float ## s b STATUS_PARAM) \ return float ## s ## _minmax(a, b, 0 STATUS_VAR); \ } -MINMAX(32, 0xff) -MINMAX(64, 0x7ff) +MINMAX(32) +MINMAX(64) /* Multiply A by 2 raised to the power N. */