"Wesley W. Terpstra" <wesley@terpstra.ca> writes:
> I tried using
>
> __asm__ ("fstd %%fr0,0(%1)" : "=m" (*sw) : "r" (sw));
>
> sw[BYTE] &= ~FE_DOWNWARD;
>
> sw[BYTE] |= round;
>
> __asm__ ("fldd 0(%0), %%fr0" : : "r" (sw), "r" (*sw));
>
> ... and it worked.
That's only by chance. gcc still cannot see that you're accessing *sw.
--
Falk