From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxeU3-0005hF-OZ for qemu-devel@nongnu.org; Mon, 30 Dec 2013 10:10:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxeTv-0004wS-SU for qemu-devel@nongnu.org; Mon, 30 Dec 2013 10:10:23 -0500 Received: from mail-qc0-x22e.google.com ([2607:f8b0:400d:c01::22e]:55008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxeTv-0004wM-O5 for qemu-devel@nongnu.org; Mon, 30 Dec 2013 10:10:15 -0500 Received: by mail-qc0-f174.google.com with SMTP id n7so10578902qcx.5 for ; Mon, 30 Dec 2013 07:10:15 -0800 (PST) Sender: Richard Henderson Message-ID: <52C18CD2.6050508@twiddle.net> Date: Mon, 30 Dec 2013 07:10:10 -0800 From: Richard Henderson MIME-Version: 1.0 References: <1388267351-31818-1-git-send-email-peter.maydell@linaro.org> <1388267351-31818-5-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1388267351-31818-5-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 04/10] target-arm: A64: Add "Floating-point data-processing (2 source)" insns List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: patches@linaro.org, Michael Matz , Alexander Graf , Claudio Fontana , Dirk Mueller , Will Newton , Laurent Desnogues , =?ISO-8859-1?Q?Alex_Benn=E9e?= , kvmarm@lists.cs.columbia.edu, Christoffer Dall On 12/28/2013 01:49 PM, Peter Maydell wrote: > From: Alexander Graf > > This patch adds emulation for the "Floating-point data-processing (2 source)" > group of instructions. > > Signed-off-by: Alexander Graf > [WN: Commit message tweak, merge single and double precision patches. Rebase > and update to new infrastructure. Incorporate FMIN/FMAX support patch by > Michael Matz.] > Signed-off-by: Will Newton > [PMM: > * added convenience accessors for FP s and d regs > * pulled the field decode and opcode validity check up a level] > Signed-off-by: Peter Maydell > --- > target-arm/translate-a64.c | 182 ++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 181 insertions(+), 1 deletion(-) Reviewed-by: Richard Henderson ... and I take back what I said earlier about fp_reg_offset. While that specific fp store case could stand to be cleaned up to just use one 64-bit load, the single-precision case is compelling. r~