This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: confusing asm_input with asm_operand


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]