From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5h6j-0005Uv-4J for qemu-devel@nongnu.org; Tue, 21 Jan 2014 14:35:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5h6a-0003ig-Lc for qemu-devel@nongnu.org; Tue, 21 Jan 2014 14:35:33 -0500 Received: from mail-qa0-x22b.google.com ([2607:f8b0:400d:c00::22b]:48532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5h6a-0003iX-8T for qemu-devel@nongnu.org; Tue, 21 Jan 2014 14:35:24 -0500 Received: by mail-qa0-f43.google.com with SMTP id o15so7096596qap.30 for ; Tue, 21 Jan 2014 11:35:23 -0800 (PST) Sender: Richard Henderson Message-ID: <52DECBF1.30406@twiddle.net> Date: Tue, 21 Jan 2014 11:35:13 -0800 From: Richard Henderson MIME-Version: 1.0 References: <1389984257-6822-1-git-send-email-peter.maydell@linaro.org> <1389984257-6822-6-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1389984257-6822-6-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 5/8] target-arm: A64: Add logic ops from SIMD 3 same group 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 , =?UTF-8?B?QWxleCBCZW5uw6ll?= , kvmarm@lists.cs.columbia.edu, Christoffer Dall On 01/17/2014 10:44 AM, Peter Maydell wrote: > + /* AND, BIC, ORR, ORN */ > + if (extract32(size, 0, 1)) { > + tcg_gen_not_i64(tcg_op2, tcg_op2); > + } > + if (extract32(size, 1, 1)) { > + tcg_gen_or_i64(tcg_res[pass], tcg_op1, tcg_op2); > + } else { > + tcg_gen_and_i64(tcg_res[pass], tcg_op1, tcg_op2); > + } It would be worthwhile to generate andc and orc directly instead of a separate not. r~