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

Reply via email to