Calculation of RTX Costs

Paulo J. Matos pocmatos@gmail.com
Fri Sep 24 22:37:00 GMT 2010


Ian Lance Taylor <iant@google.com> writes:

> pocmatos@gmail.com (Paulo J. Matos) writes:
>
> For most processors it's not important to get all costs exactly correct.
> The compiler uses the costs in a relatively brute force manner.  If
> there is only one way to do some operation, then its cost is irrelevant.
> Costs are mainly important on processors like x86 which have several
> different ways to implement the same operation.

Thank you very much for your detailed explanation. It's much clearer now.

-- 
PMatos



More information about the Gcc mailing list