[PATCH] fold-const.c use of BRANCH_COST
Fri Apr 11 14:47:00 GMT 2003
> >>>>> 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)
More information about the Gcc-patches