[Bug c/26653] Wrong assembly generated with -O2, -O OK for cinelerra source item

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Mar 12 18:01:00 GMT 2006



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-12 18:01 -------
(In reply to comment #2)
> Any idea?

The inline-asm is just wrong.  X means any register or memory which means it
could pick esp or xmm3 without caring that much.

Also the code is hiding all the mmx register uses from the compiler so the
compiler could mess up and use one of those.


-- 


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



More information about the Gcc-bugs mailing list