This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: FIRST and LAST fields for loops; incremental br. pred. changes.
- To: Jason Eckhardt <jle at cygnus dot com>
- Subject: Re: Patch: FIRST and LAST fields for loops; incremental br. pred. changes.
- From: Richard Henderson <rth at cygnus dot com>
- Date: Fri, 28 Jan 2000 17:23:53 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200001281554.HAA12676@cse.cygnus.com>
On Fri, Jan 28, 2000 at 07:54:03AM -0800, Jason Eckhardt wrote:
> Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
> * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
> function.
> * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
> * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
> (FLOW_LOOP_LAST_BLOCK): Likewise.
>
> 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
>
> * basic-block.h (struct loop): New fields 'first' and 'last'.
> * flow.c (flow_loops_find): Compute loop->first and loop->last.
> (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
> and loop->last to check for NOTE_INSN_LOOP_END.
>
> Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
>
> * predict.c (estimate_probability): Use the new FIRST and LAST fields
> of the loop descriptor rather than HEADER and LATCH. Also added
> missing break statements as well making some coding style modifications
> as suggested by Michael Hayes.
This is ok.
I really should have acked those previous patches a while ago...
r~