This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: several m68k fixes
On Tue, Aug 28, 2001 at 06:21:12PM +0100, Neil Booth wrote:
> >From what I've seen of existing code, this would be a simply huge
> amount of work, no? Everything seems to rely on outputting ASM to a
> file, down to the macros that expand into sections of a switch
> statement (ugh..)
A lot of work, but not as much as you'd think. Almost everywhere we
output assembly it's a hook through which the backend actually does
the printing. No reason the "print" routine couldn't be an interface
to the assembler backend.
r~