From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79489 invoked by alias); 6 Dec 2018 23:40: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 79470 invoked by uid 89); 6 Dec 2018 23:40:17 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=thusly X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Dec 2018 23:40:16 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 81C35A0362 for ; Thu, 6 Dec 2018 23:40:15 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-117-214.ams2.redhat.com [10.36.117.214]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 25DAE5D971; Thu, 6 Dec 2018 23:40:13 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id wB6NeBKh022405; Fri, 7 Dec 2018 00:40:11 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id wB6NeAwv022404; Fri, 7 Dec 2018 00:40:10 +0100 Date: Thu, 06 Dec 2018 23:40:00 -0000 From: Jakub Jelinek To: Jeff Law Cc: gcc-patches Subject: Re: [committed] Add test for PR85770. Message-ID: <20181206234010.GC12380@tucnak> Reply-To: Jakub Jelinek References: <6f5fb678-76c0-25c8-65b2-b6d3180fa054@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6f5fb678-76c0-25c8-65b2-b6d3180fa054@redhat.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00422.txt.bz2 On Wed, Dec 05, 2018 at 05:41:49PM -0700, Jeff Law wrote: > > PR85770 is fixed by Segher's combiner patch to avoid combining hard > regs. Presumably it helps because it gives the allocators more freedom. > > I'm adding the testcase from the PR to the regression suite. > > Jeff > commit 40fc691eac0ea9414f7908826c91afc70ff78617 > Author: law > Date: Thu Dec 6 00:40:08 2018 +0000 > > PR rtl-optimization/85770 > * gcc.target/i386/pr85770.c: New test. The test FAILs on i686-linux, because __int128 is not supported on 32-bit targets. Fixed thusly, tested on x86_64-linux and i686-linux, committed as obvious to trunk. 2018-12-07 Jakub Jelinek PR rtl-optimization/85770 * gcc.target/i386/pr85770.c: Require int128 effective target. --- gcc/testsuite/gcc.target/i386/pr85770.c (revision 266876) +++ gcc/testsuite/gcc.target/i386/pr85770.c (working copy) @@ -1,4 +1,5 @@ -/* { dg-do compile } */ +/* PR rtl-optimization/85770 */ +/* { dg-do compile { target int128 } } */ /* { dg-options "-O2 -march=nano-1000 -fnon-call-exceptions -fno-tree-coalesce-vars" } */ unsigned a, b, c, d, e, f, g, h, i; @@ -14,4 +15,3 @@ __int128 foo(char k, unsigned short l, u return k + l + m + n + o + a + b + c + d + j + l + e + f + q + 4294967295 + p + g + h + i; } - Jakub