From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8305 invoked by alias); 8 Dec 2004 09:53:12 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 7149 invoked from network); 8 Dec 2004 09:52:28 -0000 Received: from unknown (HELO yeo.picochip.com) (217.158.39.130) by sourceware.org with SMTP; 8 Dec 2004 09:52:28 -0000 Received: from picochip.com (derwent.picochip.com [192.168.10.50]) by yeo.picochip.com (8.12.8/8.11.6) with ESMTP id iB89q7Ai022357; Wed, 8 Dec 2004 09:52:07 GMT Message-ID: <41B6CEE5.9080208@picochip.com> Date: Wed, 08 Dec 2004 09:53:00 -0000 From: Daniel Towner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 MIME-Version: 1.0 To: "Vladimir N. Makarov" CC: gcc@gcc-patches.gnu.org, Steven Bosscher , Nathan Sidwell , gcc@gcc.gnu.org Subject: Re: Incorrect DFA scheduling of output dependency. References: <41B442B7.9020408@picochip.com> <4526639.1102336240386.SLOX.WebMail.wwwrun@extimap.suse.de> <41B4886C.6020409@picochip.com> <41B49276.9030603@redhat.com> <41B58D07.7020306@picochip.com> <41B62CFD.30204@redhat.com> <41B6360E.6010806@redhat.com> In-Reply-To: <41B6360E.6010806@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-12/txt/msg00307.txt.bz2 >> Please try the following patch if it works for you, I could commit it >> into the main line. It should solve the problem of generation of >> incorrect schedule for VLIW. But the problem of generation of not >> optimal schedule will still exist because the first insn after the >> barrier behaves as one setting and using all registers. >> >> >> * sched-deps.c (sched_analyze_insn): Use more accurate dependence >> type for the first insn after MOVE_BARRIER. >> > > Sorry, the previous patch had some typos and failed to be compiled. > So here is the correct version of the patch. Yes, that works. Thanks for your help everyone. dan.