From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80446 invoked by alias); 2 Oct 2015 08:07:58 -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 80436 invoked by uid 89); 2 Oct 2015 08:07:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f177.google.com Received: from mail-yk0-f177.google.com (HELO mail-yk0-f177.google.com) (209.85.160.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 02 Oct 2015 08:07:56 +0000 Received: by ykdt18 with SMTP id t18so103808298ykd.3 for ; Fri, 02 Oct 2015 01:07:54 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.129.29.11 with SMTP id d11mr11439218ywd.58.1443773274317; Fri, 02 Oct 2015 01:07:54 -0700 (PDT) Received: by 10.37.93.136 with HTTP; Fri, 2 Oct 2015 01:07:54 -0700 (PDT) In-Reply-To: <560D3A98.7060803@redhat.com> References: <87y4fmya1j.fsf@e105548-lin.cambridge.arm.com> <560D3A98.7060803@redhat.com> Date: Fri, 02 Oct 2015 08:07:00 -0000 Message-ID: Subject: Re: Add a build_real_truncate helper function From: Richard Biener To: Bernd Schmidt Cc: GCC Patches , richard.sandiford@arm.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00164.txt.bz2 On Thu, Oct 1, 2015 at 3:52 PM, Bernd Schmidt wrote: > On 10/01/2015 03:48 PM, Richard Sandiford wrote: >> >> ...which simplifies the match.pd patterns I'm about to add. >> >> Bootstrapped & regression-tested on x86_64-linux-gnu. OK to install? > > > Ok. I wonder if it's worth a separate function - why not truncate unconditionally in build_real? In fact it looks like we might have non-canonical REAL_CSTs with excess precision? Richard. > > Bernd >