gcc instruction cost

Jeff Law law@redhat.com
Wed Oct 14 15:15:00 GMT 2015


On 10/13/2015 10:11 PM, htio2 wrote:
> How do I dump the total cost and cost of each instruction ?
There isn't a single "cost" metric and they're not stored, they're 
generated on-demand as needed.

So before pointing you at the various ways GCC computes costs it'd be 
helpful to know what you're trying to do with that information.


Jeff




More information about the Gcc-help mailing list