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: [PATCH] fold-const.c use of BRANCH_COST


> >>>>> Richard Henderson writes:
> 
> Richard> Nothing, except that it'd be better to go at them in a more
> Richard> organized sort of way than a basketful of random defines.
> 
> 	We can add the knobs for both uses of BRANCH_COST in fold-const.c
> in this pass, if you want.  BRANCH_COST isn't actually used in that many
> parts of GCC.

I would like to see this happen.  Definitly i386 CPUs are other where
BRANCH_COST choice doesn't match.  It would be nice to have separate
knobs for when optimizing for size or speed (decided using
maybe_hot_bb_p inside ifcvt.c)

Honza
> 
> David


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