This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: limit code expnasion on ifcvt


> On Sun, Nov 17, 2002 at 02:41:50PM +0100, Jan Hubicka wrote:
> > 	* ifcvt.c (noce_try_store_flag_constants, noce_try_store_flag_inc,
> > 	noce_try_cmove_arith): Use maybe_hot_bb_p to limit code expansion.
> 
> Have you measured code shrinkage and performance impact for
> anything besides x86?
No.
There is small difference even on x86 (about 1Kb overall on SPEC
binaries).  The main code bloat appears to come from BRANCH_COST usage
outside ifcvt.c
Overall I would like to have code expnading transformations
conditionalized by the profile predicates.  What architecture would you
like to test this patch on?

Honza
> 
> 
> r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]