This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [cfg-branch] improved Software Trace Cache
> > > > I guess it is not worthwhile - if you duplicate small BB you may save
> > > > considerable portion of time, if you duplicate large BB, the cost of branch
> > > > saved is tiny compared to the block itself.
> > >
> > > Now we are not duplicating large blocks.
> >
> > There's a bug in copy_bb_p, I'm solving it right now.
>
> Fixed (sometimes it did not duplicate when I wanted to duplicate).
> Bootstrapped on i386.
>
>
> 2001-12-09 Josef Zlomek <zlomek@matfyz.cz>
>
> * bb-reorder.c: improved Software Trace Cache with duplication of basic
> blocks.
> * cfglayout.h: Added elements 'duplicated' and 'original' to struct
> reorder_block_def.
> * Makefile.in: Added dependencies on fibheap.h.
Thanks. Andreas has benchmarked it and as we are in the possitive numbers, I
am installing it to the cfg-branch with minor tweek concerning the "original"
block handling.
I now set it in the cfg_layout_duplicate_bb so it can be used for debug dumps.
Honza