From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13195 invoked by alias); 4 Jun 2004 15:44:51 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 13107 invoked from network); 4 Jun 2004 15:44:50 -0000 Received: from unknown (HELO smtp.uk.superh.com) (193.128.105.170) by sourceware.org with SMTP; 4 Jun 2004 15:44:50 -0000 Received: from sh-uk-ex01.uk.w2k.superh.com (sh-uk-ex01 [192.168.16.17]) by smtp.uk.superh.com (8.12.10/8.12.10) with ESMTP id i54FimeU008987; Fri, 4 Jun 2004 16:44:49 +0100 (BST) Received: from linsvr1.uk.superh.com ([192.168.16.50]) by sh-uk-ex01.uk.w2k.superh.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 4 Jun 2004 16:46:47 +0100 Received: (from renneckej@localhost) by linsvr1.uk.superh.com (8.11.6/8.11.6) id i54Fil806713; Fri, 4 Jun 2004 16:44:47 +0100 From: Joern Rennecke Message-Id: <200406041544.i54Fil806713@linsvr1.uk.superh.com> Subject: Re: building sh-elf / sh-linux (Was: Re: [PATCH/RFA] PR target/13250) To: renneckej@linsvr1.SuperH-SUN (renneckej) Date: Fri, 04 Jun 2004 15:56:00 -0000 Cc: kkojima@rr.iij4u.or.jp (Kaz Kojima), joern.rennecke@superh.com, gcc-patches@gcc.gnu.org, aoliva@redhat.com In-Reply-To: from "renneckej" at Jun 04, 2004 03:20:10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Jun 2004 15:46:47.0167 (UTC) FILETIME=[24AF08F0:01C44A4B] X-Scanned-By: MIMEDefang 2.42 X-SW-Source: 2004-06/txt/msg00229.txt.bz2 > > I'm not really happy with having the scheduler follow through jumps to > find call / call-value-copy pairs. I have now implemented > the approach of deleting fixup_fallthru_exit_predecessor and making > mid-function epilogues valid. > There was also a real.c bug that got in the way. I'm appending the patch > set that I am currently testing; I'll submit the two new patches > individually when they are tested. > > 2004-06-04 J"orn Rennecke > > * basic-block.h (could_fall_through): Declare. > * cfganal.c (can_fallthru): Suceed if the target is EXIT_BLOCK_PTR. > Fail if the source already has a fallthrough edge to the exit > block pointer. > (could_fall_through): New function. > (make_edges): Check if we already have a fallthrough edge to the > exit block pointer. > cfglayout.c (fixup_fallthru_exit_predecessor): Delete. > (cfg_layout_finalize): Don't call it. > (fixup_reorder_chain): A fall through to the exit block does not > require the block to come last. Add sanity checks. > * cfgrtl.c (rtl_split_edge): Add special handling of fall through > edges to the exit block. > > 2004-06-03 J"orn Rennecke > > * real.c (do_add): Initialize r->signalling and r->canonical. > > 2004-05-14 J"orn Rennecke > > * sched-int.h (in_post_call_group_p): Change type to enum. > * sched-deps.c (sched_analyze_insn): > (sched_analyze): When in_post_call_group_p is post_call_initial, > don't add a dependency, but still set SCHED_GROUP_P and CANT_MOVE, > and also reset in_post_call_group_p to post_call. > (sched_analyze): When the previous basic block ended in a CALL_INSN, I've chosen a i686-pc-linux-gnu host for a bootstrap test. For the unmodified control, I got a failure during stage1 building crtbegin.o - cc1 throws a floating point exception. The patched compiler has moved on to stage2 in the meantime. Likewise, sh-elf (using sources from the 26th May as baseline) has suceeded building and the sh1 big endian results are: === gcc Summary for sh-hms-sim === # of expected passes 25703 # of unexpected failures 29 # of unexpected successes 1 # of expected failures 68 # of unresolved testcases 5 # of untested testcases 28 # of unsupported tests 368 Considering that the controls don't build at all, I suppose I can say the regression test passed.