From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31563 invoked by alias); 10 Aug 2011 15:57:14 -0000 Received: (qmail 31554 invoked by uid 22791); 10 Aug 2011 15:57:13 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 10 Aug 2011 15:56:58 +0000 Received: from wpaz24.hot.corp.google.com (wpaz24.hot.corp.google.com [172.24.198.88]) by smtp-out.google.com with ESMTP id p7AFuvjh008534 for ; Wed, 10 Aug 2011 08:56:57 -0700 Received: from qyk9 (qyk9.prod.google.com [10.241.83.137]) by wpaz24.hot.corp.google.com with ESMTP id p7AFrOim014549 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 10 Aug 2011 08:56:56 -0700 Received: by qyk9 with SMTP id 9so823132qyk.13 for ; Wed, 10 Aug 2011 08:56:56 -0700 (PDT) Received: by 10.229.7.212 with SMTP id e20mr6305470qce.192.1312991816577; Wed, 10 Aug 2011 08:56:56 -0700 (PDT) Received: by 10.229.7.212 with SMTP id e20mr6305464qce.192.1312991816404; Wed, 10 Aug 2011 08:56:56 -0700 (PDT) Received: from coign.google.com ([64.195.223.50]) by mx.google.com with ESMTPS id k14sm913656qct.9.2011.08.10.08.56.55 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Aug 2011 08:56:55 -0700 (PDT) From: Ian Lance Taylor To: Revital Eres Cc: gcc@gcc.gnu.org Subject: Re: A question about sched_analyze_insn in sched-deps.c References: Date: Wed, 10 Aug 2011 15:57:00 -0000 In-Reply-To: (Revital Eres's message of "Wed, 10 Aug 2011 17:24:57 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-08/txt/msg00211.txt.bz2 Revital Eres writes: > I appriciate explanation regarding the following piece of code in > sched_analyze_insn function (sched-deps.c): When handling jump instruction > dependence edges are created between the jump instruction and memory > writes and volatile reads and I'm not quite sure the reason why. Jump instructions can be conditional. Note the check for whether the next instruction is a barrier. Ian