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: Committed, MMIX: ASM_OUTPUT_INTERNAL_LABEL


On Wed, 29 Dec 2004, Hans-Peter Nilsson wrote:

> BTW, that doesn't seem like a proper hook; the macro would then
> be local to tm.c, overriding a default definition for a
> gcc_targetm member and supposedly named
> TARGET_ASM_OUTPUT_INTERNAL_LABEL.  Was there a reason to
> introduce a hook in the shape of a "real" macro, considering
> that hooks are supposedly preferred?

The assembler output macros / hooks are essentially in a state of 
incomplete transition: many are in targetm.asm_out but many are macros.  
For most of the macros I wouldn't expect any performance impact from 
changing them to hooks, but there could be surprises in this regard.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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