This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How would *you* use an intern?
On 30-May-2001, Per Bothner <per@bothner.com> wrote:
>
> ... integrate the assembler into cc1, like we've already done for cpp.
>
> Ideally, you'd want to generate binary code directly from rtl,
> rather than generating and then parsing assembly code, but a
> useful intermediate step may be to go via text, but write the
> assembly text to an internal buffer rather than a file.
That sounds like a good idea to me, especially the approach of going
via an internal buffer. You should be able to get a speedup there
with relatively little effort or complication, while still supporting
inline asm.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.