Kahan's Floating Point Test

Sylvain Pion Sylvain.Pion@sophia.inria.fr
Thu May 31 00:17:00 GMT 2001


On Thu, May 31, 2001 at 04:10:26AM -0300, Alexandre Oliva wrote:
> >   asm("" : "=m"(x) : "m"(x));
> 
> Try "+m" instead of "=m" and "m" for the same variable.

Something like this :  asm("" : "+m"(x) );  ?
It doesn't work, I still get :

  output number 0 not directly addressable
  inconsistent operand constraints in an `asm'

I read the inline asm documentation over and over and tried every idea I could
have, but couldn't find something that works.

-- 
Sylvain



More information about the Gcc mailing list