From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27331 invoked by alias); 12 Jul 2012 21:14:45 -0000 Received: (qmail 27323 invoked by uid 22791); 12 Jul 2012 21:14:44 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from anubis.se.axis.com (HELO anubis.se.axis.com) (195.60.68.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Jul 2012 21:14:31 +0000 Received: from localhost (localhost [127.0.0.1]) by anubis.se.axis.com (Postfix) with ESMTP id 69E0619E5C for ; Thu, 12 Jul 2012 23:14:30 +0200 (CEST) Received: from anubis.se.axis.com ([127.0.0.1]) by localhost (anubis.se.axis.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oDaUi9o2erml for ; Thu, 12 Jul 2012 23:14:29 +0200 (CEST) Received: from thoth.se.axis.com (thoth.se.axis.com [10.0.2.173]) by anubis.se.axis.com (Postfix) with ESMTP id D477919E44 for ; Thu, 12 Jul 2012 23:14:29 +0200 (CEST) Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.88.21.50]) by thoth.se.axis.com (Postfix) with ESMTP id C905034109; Thu, 12 Jul 2012 23:14:29 +0200 (CEST) Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id q6CLET75006305; Thu, 12 Jul 2012 23:14:29 +0200 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id q6CLETam006301; Thu, 12 Jul 2012 23:14:29 +0200 Date: Thu, 12 Jul 2012 21:14:00 -0000 Message-Id: <201207122114.q6CLETam006301@ignucius.se.axis.com> From: Hans-Peter Nilsson To: gcc-patches@gcc.gnu.org In-reply-to: <201207072302.q67N2YEL016917@ignucius.se.axis.com> (message from Hans-Peter Nilsson on Sun, 8 Jul 2012 01:02:34 +0200) Subject: Re: Fix gcc.dg/lower-subreg-1.c failure, revisited. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT 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: 2012-07/txt/msg00467.txt.bz2 > From: Hans-Peter Nilsson > Date: Sun, 8 Jul 2012 01:02:34 +0200 PR rtl-optimization/53176 > * rtlanal.c (rtx_cost): Adjust default cost for X with a > UNITS_PER_WORD factor for all X according to the size of > its mode, not just for SUBREGs with untieable modes. > Handle SET. Use factor * factor for MULT, DIV, UDIV, > MOD, UMOD. Approved (IRL by RTH), committed. brgds, H-P