From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 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 dcvr.yhbt.net (Postfix) with ESMTPS id 766F91F454 for ; Fri, 8 Nov 2019 22:25:42 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=aYnXMF7BEa01X+4/ HC95i5u3ImYMa6itQsLYWFPXUPMmduYGIsnSoZqJeQ+QTNcOzatBtg3BNKHHRm+i izve9DrvtJ6GvClvuRh4I5WhcC4tUTeSJkx1fhX3RX6lx+vFY+/aQuLyAZQblF3d DzN5/VEStF8mNu/hfSfFIo370m4= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=Pxqre4krN71eIS9D+o3Lke kSAVY=; b=RS2/q5qUb9xuT10a5843y6UcdUy2udoXYDkaZBVnLkPCSIO7jZKfPd XmCqkdLo7rOL7W7QHH9fX/M1BfXjuXMepN1509sCEISGrz0izfFiE4GozrV08G2A uOpsIbgllk442IZy+yCRQuP56JXNPkF0pp0tAoIos+CwE7CyHvdwI= Received: (qmail 60736 invoked by alias); 8 Nov 2019 22:25:40 -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 Received: (qmail 60725 invoked by uid 89); 8 Nov 2019 22:25:40 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mx0a-001b2d01.pphosted.com Subject: Re: [PATCH v2 12/30] ldbl-128ibm-compat: Reuse tests for err.h and error.h functions To: "Gabriel F. T. Gomes" , libc-alpha@sourceware.org References: <20191025153410.15405-1-gabriel@inconstante.net.br> <20191025153410.15405-13-gabriel@inconstante.net.br> From: Paul E Murphy Message-ID: Date: Fri, 8 Nov 2019 16:25:26 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <20191025153410.15405-13-gabriel@inconstante.net.br> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 10/25/19 10:33 AM, Gabriel F. T. Gomes wrote: > From: "Gabriel F. T. Gomes" > > No changes since v1. > > -- 8< -- > Commit IDs 9771e6cb5102 and 7597b0c7f711 added tests for the functions > from err.h and error.h that can take long double parameters. > Afterwards, commit ID f0eaf8627654 reused them on architectures that > changed the long double format from the same as double to something else > (i.e.: architectures that imply ldbl-opt). This patch reuses it again > for IEEE long double on powerpc64le. > > Tested for powerpc64le. > --- > sysdeps/ieee754/ldbl-128ibm-compat/Makefile | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile > index a09209a2dd..ed0e2ec098 100644 > --- a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile > +++ b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile > @@ -177,6 +177,21 @@ endif > ifeq ($(subdir),misc) > ldbl-extra-routines += err \ > error > + > +tests-internal += tst-ibm128-warn tst-ieee128-warn > +tests-internal += tst-ibm128-error tst-ieee128-error > + > +$(objpfx)tst-ibm128-%.c: tst-ldbl-%.c > + cp $< $@ > + > +$(objpfx)tst-ieee128-%.c: tst-ldbl-%.c > + cp $< $@ > + > +CFLAGS-tst-ibm128-warn.c += -mabi=ibmlongdouble -Wno-psabi > +CFLAGS-tst-ibm128-error.c += -mabi=ibmlongdouble -Wno-psabi > + > +CFLAGS-tst-ieee128-warn.c += -mfloat128 -mabi=ieeelongdouble -Wno-psabi > +CFLAGS-tst-ieee128-error.c += -mfloat128 -mabi=ieeelongdouble -Wno-psabi > endif > > # Add IEEE binary128 files as make targets. > OK.