This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Kahan's Floating Point Test
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