[Bug c/15905] frstor in assembler inline offsets in memory by 4
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 11 19:24:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-11 19:24 -------
You most likely want:
__asm__ __volatile__ ("fsave %0\n" : : "m"(*fpubuf));
and not what you have.
Likewise for the frstor, other wise you are passing the address of fpubuf.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15905
More information about the Gcc-bugs
mailing list