From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118309 invoked by alias); 28 Sep 2018 07:13:18 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 118300 invoked by uid 89); 28 Sep 2018 07:13:17 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1013 X-HELO: mail-lf1-f53.google.com Received: from mail-lf1-f53.google.com (HELO mail-lf1-f53.google.com) (209.85.167.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 28 Sep 2018 07:13:16 +0000 Received: by mail-lf1-f53.google.com with SMTP id x24-v6so4159808lfe.10 for ; Fri, 28 Sep 2018 00:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AAyqExWJn5r0b7JrUxHphjouZgXgH62+unnsOCoEqVs=; b=chg1EaOzae2Y8jloUbapApIv3bxV1/DjRn/FAQZsLel/MHDhtUKBIMCmlO9tWaW0mC 5QF+r/VPlgFf+ZDwTyapLTOfvMIrnSTGLEkkIZxjjwqleCvfpAerCDg2CMp2Ff3hLSGV zmjObqwKBp5YcPmOvmn07fUTFq+wces1qHy1g= MIME-Version: 1.0 References: In-Reply-To: From: Christophe Lyon Date: Fri, 28 Sep 2018 08:11:00 -0000 Message-ID: Subject: Re: Support excess precision for integer / floating-point comparisons (PR c/87390) To: "Joseph S. Myers" Cc: gcc Patches Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg01707.txt.bz2 On Thu, 27 Sep 2018 at 21:29, Joseph Myers wrote: > > On Thu, 27 Sep 2018, Christophe Lyon wrote: > > > After this patch I've noticed regressions on > > fp-int-convert-float16-timode.c > > gcc.dg/torture/fp-int-convert-float16.c > > on aarch64 and arm (at execution time) > > Does this patch help? > > Index: gcc/testsuite/gcc.dg/torture/fp-int-convert.h > =================================================================== > --- gcc/testsuite/gcc.dg/torture/fp-int-convert.h (revision 264666) > +++ gcc/testsuite/gcc.dg/torture/fp-int-convert.h (working copy) > @@ -90,6 +90,7 @@ > if (ivin != (VAL) \ > || ((PREC_OK) && ivout != ivin) \ > || ((PREC_OK) && ivout != (VAL)) \ > - || fv1 != (VAL) || fv2 != (VAL) || fv1 != fv2) \ > + || fv1 != (FT) (VAL) || fv2 != (FT) (VAL) \ > + || fv1 != fv2) \ > abort (); \ > } while (0) > Yes, it works, thanks! > -- > Joseph S. Myers > joseph@codesourcery.com