Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2003 14:48:25 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        sparc@freebsd.org
Subject:   Sparc64 floating point questions
Message-ID:  <XFMail.20030114144825.jdp@polstra.com>

next in thread | raw e-mail | index | archive | help
I think that the CVSup failure one person reported was caused by the
fact that I'm not currently saving/restoring the floating point state
on thread context switches.  I need to find out how to do that.  It
looks like if I save and restore the FSR and the FPRS and %q0 through
%q60, that will do it.  Am I missing anything?

What is the most straightforward way to save all of the %qN registers?
Like this?

        stq     %q0, ...
        stq     %q4, ...
        stq     %q8, ...
    [...]
        stq     %q60, ...

Thanks,
John

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030114144825.jdp>