From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOpfQ-0008KF-Hp for qemu-devel@nongnu.org; Fri, 20 Feb 2015 10:39:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOpfN-0006xw-Bz for qemu-devel@nongnu.org; Fri, 20 Feb 2015 10:39:00 -0500 Received: from mail-qg0-x22e.google.com ([2607:f8b0:400d:c04::22e]:46786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOpfN-0006xr-7q for qemu-devel@nongnu.org; Fri, 20 Feb 2015 10:38:57 -0500 Received: by mail-qg0-f46.google.com with SMTP id z107so14521328qgd.5 for ; Fri, 20 Feb 2015 07:38:56 -0800 (PST) Message-ID: <54E7550C.4090800@gmail.com> Date: Fri, 20 Feb 2015 07:38:52 -0800 From: Richard Henderson MIME-Version: 1.0 References: <1424437665-16939-1-git-send-email-leon.alrae@imgtec.com> <1424437665-16939-3-git-send-email-leon.alrae@imgtec.com> In-Reply-To: <1424437665-16939-3-git-send-email-leon.alrae@imgtec.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 2/2] target-mips: add missing MSACSR and restore fp_status and hflags List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Leon Alrae , qemu-devel@nongnu.org Cc: amit.shah@redhat.com, aurelien@aurel32.net, afaerber@suse.de, macro@linux-mips.org, quintela@redhat.com On 02/20/2015 05:07 AM, Leon Alrae wrote: > Save MSACSR state. Also remove fp_status, msa_fp_status, hflags and restore > them in post_load() from the architectural registers. > Float exception flags are not present in vmstate. Information they carry > is used only by softfloat caller who translates them into MIPS FCSR.Cause, > FCSR.Flags and then they are cleared. Therefore there is no need for saving > them in vmstate. > > Signed-off-by: Leon Alrae Reviewed-by: Richard Henderson r~