This is the mail archive of the gcc-help@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: gcc instruction cost


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



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