From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19209 invoked by alias); 14 Jul 2011 14:26:01 -0000 Received: (qmail 19201 invoked by uid 22791); 14 Jul 2011 14:26:00 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-gy0-f175.google.com (HELO mail-gy0-f175.google.com) (209.85.160.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Jul 2011 14:25:46 +0000 Received: by gyd12 with SMTP id 12so131807gyd.20 for ; Thu, 14 Jul 2011 07:25:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.114.11 with SMTP id m11mr2365518ybc.137.1310653546204; Thu, 14 Jul 2011 07:25:46 -0700 (PDT) Received: by 10.151.144.19 with HTTP; Thu, 14 Jul 2011 07:25:46 -0700 (PDT) In-Reply-To: <4E1EFBE7.6040606@codesourcery.com> References: <4E034EF2.3070503@codesourcery.com> <4E035084.2010503@codesourcery.com> <4E09CA21.3030605@codesourcery.com> <4E09E1B1.2090005@codesourcery.com> <4E11CDAF.3040308@codesourcery.com> <4E1C5509.6030505@codesourcery.com> <4E1EFBE7.6040606@codesourcery.com> Date: Thu, 14 Jul 2011 14:31:00 -0000 Message-ID: Subject: Re: [PATCH (4/7)] Unsigned multiplies using wider signed multiplies From: Richard Guenther To: Andrew Stubbs Cc: gcc-patches@gcc.gnu.org, patches@linaro.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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 X-SW-Source: 2011-07/txt/msg01156.txt.bz2 On Thu, Jul 14, 2011 at 4:23 PM, Andrew Stubbs wrote: > On 12/07/11 15:07, Andrew Stubbs wrote: >> >> This update does the same thing as before, but updated for the changes >> earlier in the patch series. In particular, the build_and_insert_cast >> function and find_widening_optab_handler_and_mode changes have been >> moved up to patch 2. > > And this update changes the way the casts are handled, partly because it got > unwieldy towards the end of the patch series, and partly because I found a > few bugs. > > I've also ensured that it checks the precision of the types, rather than the > mode size to ensure that it is bitfield safe. > > OK? Ok. Thanks, Richard. > Andrew >