This is the mail archive of the gcc@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: target macro->hook migration idea


"Joseph S. Myers" <jsm@polyomino.org.uk> writes:

> You have appropriate performance measures for this?  Needing e.g. always
> to call a function to get the value of a target byte from a string when
> almost all compilers actually have target bytes the same as host bytes
> _seems_ inefficient but the question is: which target macros are used in
> functions that show up significantly on a profile and what is the cost of
> replacing those by structure elements?

I have no hard numbers to prove this, but I have never seen any of the
routines that would be affected show up anywhere near the top of a
profile.

zw


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