This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Committed, MMIX: ASM_OUTPUT_INTERNAL_LABEL
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 3 Jan 2005 16:26:33 +0000 (UTC)
- Subject: Re: Committed, MMIX: ASM_OUTPUT_INTERNAL_LABEL
- References: <Pine.BSF.4.58.0412292018550.63554@dair.pair.com>
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)