[Bug c/26653] Wrong assembly generated with -O2, -O OK for cinelerra source item
mtodorov at alu dot hr
gcc-bugzilla@gcc.gnu.org
Sun Mar 12 17:57:00 GMT 2006
------- Comment #2 from mtodorov at alu dot hr 2006-03-12 17:57 -------
Subject: Re: Wrong assembly generated with -O2, -O OK for
cinelerra source item
On Sun, 12 Mar 2006, hjl at lucon dot org wrote:
> ------- 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));
I have tried that, it works.
But the older gcc (4.0.3 20060212) compiled both variants (tested).
But I doubt the possibility that I can change libjpeg-mmx inside
cinelerra-2.0 package globally, I am not the maintainer. :-(
Any idea?
M.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26653
More information about the Gcc-bugs
mailing list