This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug target/15319] [x86] ICE in change_stack, at reg-stack.c:2299


------- Additional Comments From uros at kss-loka dot si  2004-05-13 06:12 -------
Please, look at the bottom of page
http://gcc.gnu.org/onlinedocs/gcc-3.3.3/gcc/Extended-Asm.html#Extended%20Asm :

i386 floating point asm operands

There are several rules on the usage of stack-like regs in asm_operands insns.
These rules apply only to the operands that are stack-like regs...

According to these rules, your asm should be written as:

  asm ("fmulp": "=t" (ret): "0" (ret), "u" (tmp): "st(1)");


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15319


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