>>   Date: Thu, 7 Oct 2010 12:38:59 -0700
>>   From: [email protected] (Matt Birkholz)
>>
>>   Can a Scheme-side cache of the machine configuration avoid much of the
>>   cost of thread switching by punting fesetenv() when switching to a
>>   thread with the same expectation of the floating-point environment?

I'd be surprised if thread-switching were frequent enough that this would make
a difference.


On Thu, Oct 7, 2010 at 8:57 PM, Taylor R Campbell <[email protected]> wrote:
> What I have in mind is for every
> continuation invocation -- including those used to switch threads --
> to do fesetenv.

I assume you mean every *non-local* continuation.

>  It may also be necessary to frob the floating-point
> environment in the thread timer interrupt handler.  This all may turn
> out to be prohibitively expensive -- I'll find out when I implement
> and measure it.

--
~jrm

_______________________________________________
MIT-Scheme-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/mit-scheme-devel

Reply via email to