From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24983 invoked by alias); 8 May 2011 07:39:36 -0000 Received: (qmail 24853 invoked by uid 22791); 8 May 2011 07:39:33 -0000 X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_00,GARBLED_SUBJECT,RCVD_IN_DNSWL_LOW,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Received: from mail-ew0-f47.google.com (HELO mail-ew0-f47.google.com) (209.85.215.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 08 May 2011 04:52:58 +0000 Received: by ewy5 with SMTP id 5so1437281ewy.20 for ; Sat, 07 May 2011 21:52:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.27.19 with SMTP id g19mr555381ebc.127.1304830373947; Sat, 07 May 2011 21:52:53 -0700 (PDT) Received: by 10.213.108.203 with HTTP; Sat, 7 May 2011 21:52:53 -0700 (PDT) Date: Sun, 08 May 2011 07:39:00 -0000 Message-ID: Subject: =?UTF-8?B?W1BBVENILCBTTVMgMy8zXSBTa2lwIERFQlVHX0lOU04gaW4gbG9vcC1kb2xvb+KAi+KAiw==?= =?UTF-8?B?cC4=?= From: Revital Eres To: gcc-patches@gcc.gnu.org Cc: rakdver@kam.mff.cuni.cz, Patch Tracking , zaks@il.ibm.com Content-Type: text/plain; charset=ISO-8859-1 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-05/txt/msg00595.txt.bz2 Hello, (sorry for multiple copies of this email) This small fix was inserted to skip DEBUG_INSNs while recognizing doloop pattern in loop-doloop.c file. It's a fix for the already approved do-loop patch (not in mainline yet, http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01718.html) in loop-doloop.c The patch was tested together with the rest of the patches in this series and on top of the patch to support do-loop for ARM (not yet in mainline, but approved http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01718.html). On ppc64-redhat-linux regtest as well as bootstrap with SMS flags enabling SMS also on loops with stage count 1. Regtested on SPU. On arm-linux-gnueabi regtseted on c,c++. Bootstrap c language with SMS flags enabling SMS also on loops with stage count 1. OK for mainline? Thanks, Revital Changelog: * loop-doloop.c (doloop_condition_get): Use prev_nondebug_insn instead of PREV_INSN. --- loop-doloop.c 2011-05-07 16:08:27.000000000 +0300 +++ loop-doloop_new.c 2011-05-07 16:07:48.000000000 +0300 @@ -151,7 +151,7 @@ doloop_condition_get (rtx doloop_pat) inc = XVECEXP (PATTERN (prev_insn), 0, 1); } else - inc = PATTERN (PREV_INSN (doloop_pat)); + inc = PATTERN (prev_insn); /* We expect the condition to be of the form (reg != 0) */ cond = XEXP (SET_SRC (cmp), 0); if (GET_CODE (cond) != NE || XEXP (cond, 1) != const0_rtx) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30658 invoked by alias); 8 May 2011 07:40:58 -0000 Received: (qmail 30538 invoked by uid 22791); 8 May 2011 07:40:51 -0000 X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,GARBLED_SUBJECT,RCVD_IN_DNSWL_LOW,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Received: from mail-ew0-f47.google.com (HELO mail-ew0-f47.google.com) (209.85.215.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 08 May 2011 05:02:57 +0000 Received: by ewy5 with SMTP id 5so1438087ewy.20 for ; Sat, 07 May 2011 22:02:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.27.19 with SMTP id g19mr555381ebc.127.1304830373947; Sat, 07 May 2011 21:52:53 -0700 (PDT) Received: by 10.213.108.203 with HTTP; Sat, 7 May 2011 21:52:53 -0700 (PDT) Date: Sun, 08 May 2011 07:49:00 -0000 Message-ID: Subject: =?UTF-8?B?W1BBVENILCBTTVMgMy8zXSBTa2lwIERFQlVHX0lOU04gaW4gbG9vcC1kb2xvb+KAi+KAiw==?= =?UTF-8?B?cC4=?= From: Revital Eres To: gcc-patches@gcc.gnu.org Cc: rakdver@kam.mff.cuni.cz, Patch Tracking , zaks@il.ibm.com Content-Type: text/plain; charset=ISO-8859-1 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-05/txt/msg00597.txt.bz2 Message-ID: <20110508074900.7RuQqrsCyy5LMyVp2tU177diCQ2XlqFv_wZf-0n5rp4@z> Hello, (sorry for multiple copies of this email) This small fix was inserted to skip DEBUG_INSNs while recognizing doloop pattern in loop-doloop.c file. It's a fix for the already approved do-loop patch (not in mainline yet, http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01718.html) in loop-doloop.c The patch was tested together with the rest of the patches in this series and on top of the patch to support do-loop for ARM (not yet in mainline, but approved http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01718.html). On ppc64-redhat-linux regtest as well as bootstrap with SMS flags enabling SMS also on loops with stage count 1. Regtested on SPU. On arm-linux-gnueabi regtseted on c,c++. Bootstrap c language with SMS flags enabling SMS also on loops with stage count 1. OK for mainline? Thanks, Revital Changelog: * loop-doloop.c (doloop_condition_get): Use prev_nondebug_insn instead of PREV_INSN. --- loop-doloop.c 2011-05-07 16:08:27.000000000 +0300 +++ loop-doloop_new.c 2011-05-07 16:07:48.000000000 +0300 @@ -151,7 +151,7 @@ doloop_condition_get (rtx doloop_pat) inc = XVECEXP (PATTERN (prev_insn), 0, 1); } else - inc = PATTERN (PREV_INSN (doloop_pat)); + inc = PATTERN (prev_insn); /* We expect the condition to be of the form (reg != 0) */ cond = XEXP (SET_SRC (cmp), 0); if (GET_CODE (cond) != NE || XEXP (cond, 1) != const0_rtx) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31450 invoked by alias); 8 May 2011 07:41:39 -0000 Received: (qmail 31288 invoked by uid 22791); 8 May 2011 07:41:34 -0000 X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,GARBLED_SUBJECT,RCVD_IN_DNSWL_LOW,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Received: from mail-ey0-f175.google.com (HELO mail-ey0-f175.google.com) (209.85.215.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 08 May 2011 05:18:04 +0000 Received: by eye27 with SMTP id 27so1437917eye.20 for ; Sat, 07 May 2011 22:17:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.27.19 with SMTP id g19mr555381ebc.127.1304830373947; Sat, 07 May 2011 21:52:53 -0700 (PDT) Received: by 10.213.108.203 with HTTP; Sat, 7 May 2011 21:52:53 -0700 (PDT) Date: Sun, 08 May 2011 09:20:00 -0000 Message-ID: Subject: =?UTF-8?B?W1BBVENILCBTTVMgMy8zXSBTa2lwIERFQlVHX0lOU04gaW4gbG9vcC1kb2xvb+KAi+KAiw==?= =?UTF-8?B?cC4=?= From: Revital Eres To: gcc-patches@gcc.gnu.org Cc: rakdver@kam.mff.cuni.cz, Patch Tracking , zaks@il.ibm.com Content-Type: text/plain; charset=ISO-8859-1 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-05/txt/msg00600.txt.bz2 Message-ID: <20110508092000.gZo8gCncV0qmIxbB1327ng-LjQx-UykpnigbX5Anc9M@z> Hello, (sorry for multiple copies of this email) This small fix was inserted to skip DEBUG_INSNs while recognizing doloop pattern in loop-doloop.c file. It's a fix for the already approved do-loop patch (not in mainline yet, http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01718.html) in loop-doloop.c The patch was tested together with the rest of the patches in this series and on top of the patch to support do-loop for ARM (not yet in mainline, but approved http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01718.html). On ppc64-redhat-linux regtest as well as bootstrap with SMS flags enabling SMS also on loops with stage count 1. Regtested on SPU. On arm-linux-gnueabi regtseted on c,c++. Bootstrap c language with SMS flags enabling SMS also on loops with stage count 1. OK for mainline? Thanks, Revital Changelog: * loop-doloop.c (doloop_condition_get): Use prev_nondebug_insn instead of PREV_INSN. --- loop-doloop.c 2011-05-07 16:08:27.000000000 +0300 +++ loop-doloop_new.c 2011-05-07 16:07:48.000000000 +0300 @@ -151,7 +151,7 @@ doloop_condition_get (rtx doloop_pat) inc = XVECEXP (PATTERN (prev_insn), 0, 1); } else - inc = PATTERN (PREV_INSN (doloop_pat)); + inc = PATTERN (prev_insn); /* We expect the condition to be of the form (reg != 0) */ cond = XEXP (SET_SRC (cmp), 0); if (GET_CODE (cond) != NE || XEXP (cond, 1) != const0_rtx) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6830 invoked by alias); 8 May 2011 07:50:41 -0000 Received: (qmail 6822 invoked by uid 22791); 8 May 2011 07:50:41 -0000 X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_20,GARBLED_SUBJECT,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (140.186.70.92) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 08 May 2011 07:50:28 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QIwsw-0004qo-RD for gcc-patches@gcc.gnu.org; Sun, 08 May 2011 01:50:32 -0400 Received: from mail-ew0-f47.google.com ([209.85.215.47]:42939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIwsw-0004qi-Im for gcc-patches@gcc.gnu.org; Sun, 08 May 2011 01:50:30 -0400 Received: by ewy5 with SMTP id 5so1441386ewy.20 for ; Sat, 07 May 2011 22:46:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.27.19 with SMTP id g19mr555381ebc.127.1304830373947; Sat, 07 May 2011 21:52:53 -0700 (PDT) Received: by 10.213.108.203 with HTTP; Sat, 7 May 2011 21:52:53 -0700 (PDT) Date: Sun, 08 May 2011 10:57:00 -0000 Message-ID: Subject: =?UTF-8?B?W1BBVENILCBTTVMgMy8zXSBTa2lwIERFQlVHX0lOU04gaW4gbG9vcC1kb2xvb+KAi+KAiw==?= =?UTF-8?B?cC4=?= From: Revital Eres To: gcc-patches@gcc.gnu.org Cc: rakdver@kam.mff.cuni.cz, Patch Tracking , zaks@il.ibm.com Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.47 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-05/txt/msg00602.txt.bz2 Message-ID: <20110508105700.YzMPn2tcYD7QZefT7uLJIglcAsM6XInbHytrcd7X1So@z> Hello, (sorry for multiple copies of this email) This small fix was inserted to skip DEBUG_INSNs while recognizing doloop pattern in loop-doloop.c file. It's a fix for the already approved do-loop patch (not in mainline yet, http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01718.html) in loop-doloop.c The patch was tested together with the rest of the patches in this series and on top of the patch to support do-loop for ARM (not yet in mainline, but approved http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01718.html). On ppc64-redhat-linux regtest as well as bootstrap with SMS flags enabling SMS also on loops with stage count 1. Regtested on SPU. On arm-linux-gnueabi regtseted on c,c++. Bootstrap c language with SMS flags enabling SMS also on loops with stage count 1. OK for mainline? Thanks, Revital Changelog: * loop-doloop.c (doloop_condition_get): Use prev_nondebug_insn instead of PREV_INSN. --- loop-doloop.c 2011-05-07 16:08:27.000000000 +0300 +++ loop-doloop_new.c 2011-05-07 16:07:48.000000000 +0300 @@ -151,7 +151,7 @@ doloop_condition_get (rtx doloop_pat) inc = XVECEXP (PATTERN (prev_insn), 0, 1); } else - inc = PATTERN (PREV_INSN (doloop_pat)); + inc = PATTERN (prev_insn); /* We expect the condition to be of the form (reg != 0) */ cond = XEXP (SET_SRC (cmp), 0); if (GET_CODE (cond) != NE || XEXP (cond, 1) != const0_rtx)