From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJM7a-0005tU-GZ for qemu-devel@nongnu.org; Thu, 17 May 2018 12:51:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJM7X-0006E7-FU for qemu-devel@nongnu.org; Thu, 17 May 2018 12:51:18 -0400 Received: from mail-pl0-x243.google.com ([2607:f8b0:400e:c01::243]:37658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJM7X-0006Db-9B for qemu-devel@nongnu.org; Thu, 17 May 2018 12:51:15 -0400 Received: by mail-pl0-x243.google.com with SMTP id w19-v6so2883863plq.4 for ; Thu, 17 May 2018 09:51:14 -0700 (PDT) References: <20180516223007.10256-1-richard.henderson@linaro.org> <20180516223007.10256-27-richard.henderson@linaro.org> From: Richard Henderson Message-ID: Date: Thu, 17 May 2018 09:51:11 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3-a 26/27] target/arm: Extend vec_reg_offset to larger sizes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , qemu-arm On 05/17/2018 08:57 AM, Peter Maydell wrote: > This looks right for element sizes up to 8, but I don't understand > how it handles 16 byte elements as the commit message says -- the > d[0] and d[1] are the wrong way round and don't form a single > 16-byte big-endian value, so they must need special casing somewhere > else ? You're right that it's not a proper int128 for host arithmetic. Fortunately, the only operation we have on 128-bit values, at present, is move. How better might you word the commit message? r~