This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: confusing asm_input with asm_operand
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: confusing asm_input with asm_operand
- From: Andi Kleen <ak at suse dot de>
- Date: 03 Jan 2001 10:27:59 +0100
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010102155318.A7771@redhat.com>
Richard Henderson <rth@redhat.com> writes:
> When expanding an ASM_STMT, we were assuming that no arguments
> means that we should generate ASM_INPUT instead of ASM_OPERANDS.
>
> But the two have different semantics, even when ASM_OPERANDS
> isn't given any operands. The most obvious semantic difference
> is wrt % processing, though there are others.
>
> Fixed thus.
You mean the user now has to write asm("movl bla,%%reg") instead
of asm("movl bla,%reg") ?
If yes it'll break several programs, at least some of my code (and I
assume other's too) Is that worth it?
-Andi