This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15905] frstor in assembler inline offsets in memory by 4
- From: "stian at nixia dot no" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2004 19:21:24 -0000
- Subject: [Bug c/15905] frstor in assembler inline offsets in memory by 4
- References: <20040609203854.15905.stian@nixia.no>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From stian at nixia dot no 2004-06-11 19:21 -------
*pasting disassembled result*
Handler:
pushl %ebp
movl %esp, %ebp
subl $136, %esp
leal -120(%ebp), %eax
movl %eax, -124(%ebp)
#APP
fsave -124(%ebp)
#NO_APP
subl $4, %esp
pushl $1
pushl $.LC0
pushl $2
call write
addl $16, %esp
leal -120(%ebp), %eax
movl %eax, -128(%ebp)
#APP
frstor -128(%ebp)
#NO_APP
leave
ret
the frstor and fsave does not appear to feed with the same address if you ask
me. So you meen that the offsets to ebp should differ? (the kernel lock is just
a side effect of this I believe)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15905