From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9y9h-0002wq-BP for qemu-devel@nongnu.org; Tue, 20 Mar 2012 08:27:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9y9b-0005ab-37 for qemu-devel@nongnu.org; Tue, 20 Mar 2012 08:27:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9y9a-0005a0-Rr for qemu-devel@nongnu.org; Tue, 20 Mar 2012 08:27:07 -0400 From: Juan Quintela In-Reply-To: (Peter Maydell's message of "Tue, 20 Mar 2012 11:54:30 +0000") References: Date: Tue, 20 Mar 2012 13:27:01 +0100 Message-ID: <87iphzv4oa.fsf@elfo.elfo> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 23/36] arm: save always 32 fpu registers Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org Peter Maydell wrote: > On 19 March 2012 22:57, Juan Quintela wrote: >> This way, we fix a bug (we were overwritten the 16 first registers on >> load), and we don't need to check for ARM_FEATUR_VPF3, we always send >> the 32 registers. > > This commit message is out of date -- the overwriting bug was > fixed in commit 15180256 last year. Possibly the patch should > be dropped from your series? (If not, "ARM_FEATURE_VFP3".) Reason for the change is not to have to write partial arrays. Current code is doing if ARM_FEATURE_VFP send first 16 registers if (ARM_FEATURE_VFP3 send second 16 registers I change it to: if ARM_FEATURE_VFP send 32 registers Notice that: a- there is always 32 registers b- makes the migration format the same for VFP and VFP3 c- we are already incompatible with previous versions, so this is not a problem. Normally, the less different options that we have on the migration format, the easy to make sense of it. It was not related to the bug that we used to have in this area. Later, Juan.