From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <1f44256f014adb8ba778c7fdf5951b43@brasstown.quanstro.net> References: <93653898c4ceb27355b5fa1e548176aa@brasstown.quanstro.net> <1f44256f014adb8ba778c7fdf5951b43@brasstown.quanstro.net> Date: Mon, 21 Nov 2011 15:14:10 -0800 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] sysrfork fp bug? Topicbox-Message-UUID: 42f4d482-ead7-11e9-9d60-3106f5b1d025 it only needs to save the non-register state (ie, the control register you'd wondered about), but it's free to do more if that's somehow easier, even if the values will never be used. on BG/P, the equivalent function does: * If there isn't a pending exception, just save the * initial state and current status, because registers * were killed by the system call.