This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] m68k: Fix uses of curly braces in the assembly output
Hi,
On Tue, 9 Oct 2007, Rask Ingemann Lambertsen wrote:
> On Tue, Oct 09, 2007 at 12:45:40PM -0400, Kazu Hirata wrote:
> > gcc's asm statements require the user to be familiar with gcc's internal to
> > some extent, but I am not sure if we want to expose directives for assembly
> > diarect.
>
> If we don't, how are users going to write asm statements that work with
> the supported dialects? E.g. i386 inline asm needs to use the '{...|...}'
> construct to work with both -masm=intel and -masm=att.
The problem here is that the gcc syntax clashes with the native assembler
syntax. This means dialects cannot be supported like this for inline
assembly on m68k. We already have users (e.g. in Linux) which use this.
bye, Roman