Linux: FPU control word not set when __fpu_control == _dl_fpu_control.

Scott Bambrough scottb@netwinder.org
Thu Mar 9 13:15:00 GMT 2000


Jakub Jelinek wrote:
> 
> The cost is pretty high. It means any program no matter if it will use FPU
> or not actually touches the FPU unit. On many machines this means a trap
> into the kernel which has to initialize the whole FPU and give it to the
> application and on several archs on the next context switch you have no way
> to find out nothing else in the FPU state was modified, so you have to save
> it.

Ok, I can see the costs now.  Thanks for the heads up.  I'll look for another
way to fix this.
-- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org


More information about the Libc-hacker mailing list