From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5hBP-0000TA-DZ for qemu-devel@nongnu.org; Tue, 21 Jan 2014 14:40:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5hBH-0005O6-0K for qemu-devel@nongnu.org; Tue, 21 Jan 2014 14:40:23 -0500 Received: from mail-qc0-x235.google.com ([2607:f8b0:400d:c01::235]:61147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5hBG-0005O1-Pq for qemu-devel@nongnu.org; Tue, 21 Jan 2014 14:40:14 -0500 Received: by mail-qc0-f181.google.com with SMTP id e9so7384711qcy.26 for ; Tue, 21 Jan 2014 11:40:13 -0800 (PST) Sender: Richard Henderson Message-ID: <52DECD12.6000401@twiddle.net> Date: Tue, 21 Jan 2014 11:40:02 -0800 From: Richard Henderson MIME-Version: 1.0 References: <1389984257-6822-1-git-send-email-peter.maydell@linaro.org> <1389984257-6822-7-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1389984257-6822-7-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 6/8] target-arm: A64: Add integer 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 , =?ISO-8859-1?Q?Alex_Benn=E9e?= , kvmarm@lists.cs.columbia.edu, Christoffer Dall On 01/17/2014 10:44 AM, Peter Maydell wrote: > + switch (opcode) { > + case 0x6: /* CMGT, CMHI */ > + { > + NeonGenFn *ceqtstfns[3][2] = { ... > + case 0x7: /* CMGE, CMHS */ > + { > + NeonGenFn *ceqtstfns[3][2] = { ... > + case 0x11: /* CMTST, CMEQ */ > + { > + NeonGenFn *ceqtstfns[3][2] = { Oh, and cut and paste on those names? Perhaps it would be less confusing to just name them all "fns" and let the specific code block imply the rest? r~