[squeak-dev] Re: x86 linux VM FFI FPU stack overflow

nicolas cellier ncellier at ifrance.com
Thu Jan 15 18:52:31 UTC 2009


nicolas cellier a écrit :
> 
> Ian just mailed that all parameters are passed in memory, so the right 
> place for fninit is before foreign call, and before ffi return.
> 
> However, I see this does reset the whole FPU state.
> Bad if in the future we want to control hardware trap on FPU...
> 

fninit is the right thing to do for current Squeak VM.
The eventual future VM would better call ffree for less side effetcs.




More information about the Squeak-dev mailing list