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 c/26653] Wrong assembly generated with -O2, -O OK for cinelerra source item



------- 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


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