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

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Sun Mar 12 17:42:00 GMT 2006



------- Comment #1 from hjl at lucon dot org  2006-03-12 17:42 -------
I don't think

__asm__ ( "ldmxcsr %0\n" : : "X" (trunc_mxcsr) );

will work well. Can you try

__asm__ ("ldmxcsr %0" : : "m" (*&trunc_mxcsr));


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list