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: [rfc] slightly better reload constant rematerialization


On Thu, Jan 20, 2005 at 03:29:00PM -0500, Ian Lance Taylor wrote:
> Also, the current cost metric doesn't let us compare sequences of
> instructions.  For example, we may happen to know that we can do an
> add and a multiply in a single cycle, but that two adds or two
> multiplies take two cycles.  How do we express that kind of thing
> using the cost metrics we have today?

We compute the cost of (plus (mult x y) z).


r~


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