This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to add extensions to asm_fprintf()
- To: Nick Clifton <nickc at cygnus dot com>
- Subject: Re: Patch to add extensions to asm_fprintf()
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Fri, 16 Jul 1999 11:28:36 +0100
- Cc: egcs-patches at egcs dot cygnus dot com
- Cc: richard dot earnshaw at arm dot com
- Organization: ARM Ltd.
- Reply-To: richard dot earnshaw at arm dot com
nickc@cygnus.com said:
> I would like to submit the following patch for approval. It adds a
> new target macro called ASM_FPRINTF_EXTENSIONS which can be used to
> add extra printf formats to the asm_fprintf() function.
> I find this function very helpful, but I have often wished that it
> could do more, and this seems like a simple way to extend its
> usefulness without changing too much in the generic code.
I like it. It would certainly make some of the ARM assembly code cleaner.
But shouldn't we reserve some characters for the back end to use, rather
than making the whole remaining space a free-for-all? If we don't then we
may have problems in the future if we wish to add a feature which is
common to all targets.
Richard.