From patchwork Fri Jun 9 21:53:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Clarke" X-Patchwork-Id: 774150 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wkwzg67G0z9s4s for ; Sat, 10 Jun 2017 07:54:07 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="knSfMkef"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:to:cc:from:subject:date:mime-version :content-type:content-transfer-encoding:message-id; q=dns; s= default; b=xIhcXkY+IRe47daI+zpGTfw57TSsyxC+dPhmqVz2I9V35ZwgmIEfB mATSaYyC6kxlMznO960nclt3nvVOh1RyCIqbEpyg8G0cG/NZpo6iDR8VN7taz+DX lJ95LaJ8o0zBGGlNKVY8PXOrOSzp+tDM9UpgfWrjES2IYXCCcD1pFM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:to:cc:from:subject:date:mime-version :content-type:content-transfer-encoding:message-id; s=default; bh=iGc9NXHMyWaQzS5qgQxBw+rV8p8=; b=knSfMkefEBOTi4R4vzER3Mh6CNmX NKIFXEKSxTZjF7Ysy7PvE/qUikjWtGOPP+Lpb7z+8KCITGe5k2oHHSDhCdZNsueT 4NeNLPfBeD8BfIgNfjqGKtAbTjOTTmUB27Mv5ABZ0bOs4aKGqSpIg7XtbK3pqm90 E+nMA9guSUTBqZc= Received: (qmail 7332 invoked by alias); 9 Jun 2017 21:53:56 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 6586 invoked by uid 89); 9 Jun 2017 21:53:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-27.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=sinh, atan X-HELO: mx0a-001b2d01.pphosted.com Reply-To: pc@us.ibm.com To: "libc-alpha@sourceware.org" Cc: Joseph Myers From: Paul Clarke Subject: [PATCH] Add powf bench tests Date: Fri, 9 Jun 2017 16:53:51 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 17060921-0052-0000-0000-0000021DBD77 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007203; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000212; SDB=6.00872480; UDB=6.00434099; IPR=6.00652549; BA=6.00005406; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015765; XFM=3.00000015; UTC=2017-06-09 21:53:54 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17060921-0053-0000-0000-000050E77393 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-06-09_10:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706090377 2017-06-09 Paul A. Clarke * benchtests/Makefile (bench-math): Add powf. * benchtests/powf-inputs: Copy from benchtests/pow-inputs. --- benchtests/Makefile | 2 +- benchtests/{pow-inputs => powf-inputs} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) copy benchtests/{pow-inputs => powf-inputs} (99%) diff --git a/benchtests/Makefile b/benchtests/Makefile index 7f5fda5..f49e9a0 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -23,7 +23,7 @@ subdir := benchtests include ../Makeconfig bench-math := acos acosh asin asinh atan atanh cos cosh exp exp2 log log2 \ modf pow rint sin sincos sinh sqrt tan tanh fmin fmax fminf \ - fmaxf + fmaxf powf bench-pthread := pthread_once diff --git a/benchtests/pow-inputs b/benchtests/powf-inputs similarity index 99% copy from benchtests/pow-inputs copy to benchtests/powf-inputs index 78f8ac7..cb8620d 100644 --- a/benchtests/pow-inputs +++ b/benchtests/powf-inputs @@ -1,5 +1,5 @@ -## args: double:double -## ret: double +## args: float:float +## ret: float ## includes: math.h 42.0, 42.0 -0x1.086f771a2b37bp696, 0x1.592b453fe869fp-81