DragonFly bugs List (threaded) for 2007-12
DragonFly BSD
DragonFly bugs List (threaded) for 2007-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Strange MXCSR messages?


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Dec 2007 14:09:15 -0800 (PST)

:Ah, so it was our threading lib that was producing the erroneous data?
:
:That would explain why it happened only for threaded programs (so far) :)
:
:cheers
:  simon

    Yup.  libc_r was running fnsave (387 format save frame) into the FP
    save area of the signal context.  The kernel tried to restore it
    with fxrstr (SSE format save frame).

    Since the kernel now saves and restores the FP state from the signal
    context, libc no longer has to do it so ripping the code out of libc
    solves the problem.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]