Received: from eggs.gnu.org ([2001:4830:134:3::10]:44906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bT73K-0002tQ-2y for qemu-devel@nongnu.org; Fri, 29 Jul 2016 08:38:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bT73I-0000D3-7q for qemu-devel@nongnu.org; Fri, 29 Jul 2016 08:38:08 -0400 Sender: Richard Henderson References: <579ad8bd.8481620a.89e78.f1ce@mx.google.com> <1469774541.5978.265.camel@kernel.crashing.org> <1469775419.5978.275.camel@kernel.crashing.org> From: Richard Henderson Message-ID: <511d443c-dfe1-5366-d33d-59f35968e8e6@twiddle.net> Date: Fri, 29 Jul 2016 18:07:55 +0530 MIME-Version: 1.0 In-Reply-To: <1469775419.5978.275.camel@kernel.crashing.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 28/32] ppc: Avoid double translation for lvx/lvxl/stvx/stvxl List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: David Gibson , qemu-devel , qemu-ppc@nongnu.org On 07/29/2016 12:26 PM, Benjamin Herrenschmidt wrote: > I notice that sadly, all of the vector ops are helper with full > clobbers, because I assume, the "avr" is passed as pointer due to the > lack of an int128 type in TCG correct ? Yes. Although x86 doesn't declare the vector registers as tcg registers at all. Which is both a blessing and a curse. My opinion is that aarch64 is the model to aim for -- most operations can operate on 64-bit slices at a time, no registers clobbered. There will always be exceptions, of course, but hopefully with rarer insns. r~