[PATCH] fold-const.c use of BRANCH_COST
Geoff Keating
geoffk@geoffk.org
Fri Apr 11 17:47:00 GMT 2003
Andrew Pinski <pinskia@physics.uc.edu> writes:
> Because with BRANCH_COST set to 3, gcc on PPC produces
> serializing instructions (adde, subfe, subfme, subfze) on some
> processors, like 750 and 7400.
> It also sometimes produces smaller code.
If these instructions are serializing, it's probably not useful for
GCC to be producing them at all on these processors; they'll always be
slower than a branch.
--
- Geoffrey Keating <geoffk@geoffk.org>
More information about the Gcc-patches
mailing list