From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10250 invoked by alias); 21 Aug 2006 23:53:01 -0000 Received: (qmail 10219 invoked by uid 48); 21 Aug 2006 23:52:53 -0000 Date: Mon, 21 Aug 2006 23:53:00 -0000 Message-ID: <20060821235253.10218.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/28794] missed optimization with non-COND_EXPR and vrp and comparisions In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-08/txt/msg01772.txt.bz2 List-Id: ------- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-21 23:52 ------- For x86, there is no difference in the code gen for f and f1/f2, but for PPC32, there is: for f1/f2: addic %r0,%r31,-1 subfe %r3,%r0,%r31 For f: srawi %r3,%r31,31 subf %r3,%r31,%r3 srwi %r3,%r3,31 -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|missed optimization with non|missed optimization with |COND_EXPR and vrp and |non-COND_EXPR and vrp and |comparisions |comparisions http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28794