This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PowerPC multiply and -Os
- From: Geoff Keating <geoffk at geoffk dot org>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 01 Aug 2002 15:35:17 -0700
- Subject: Re: PowerPC multiply and -Os
- References: <200208012223.SAA14470@makai.watson.ibm.com>
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>