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: PowerPC multiply and -Os


David Edelsohn <dje@watson.ibm.com> writes:

> 	PR optimization/7067 ultimately boils down to RTX_COSTS for MULT.
> What do you think about RTX_COSTS returning an artificially small value
> for optimize_size so that a single multiply is chosen over shift
> instructions?

I thought that when optimise_size was in use, the costs were computed
from the 'length' fields?  They ought to be.

-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>


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