From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8H5j-0004NS-DE for qemu-devel@nongnu.org; Mon, 26 Sep 2011 15:43:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8H5i-0002zt-EN for qemu-devel@nongnu.org; Mon, 26 Sep 2011 15:43:51 -0400 Received: from mail-ww0-f53.google.com ([74.125.82.53]:60705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8H5i-0002zg-A2 for qemu-devel@nongnu.org; Mon, 26 Sep 2011 15:43:50 -0400 Received: by wwg14 with SMTP id 14so6075621wwg.10 for ; Mon, 26 Sep 2011 12:43:49 -0700 (PDT) Sender: Richard Henderson Message-ID: <4E80D5EF.4090705@twiddle.net> Date: Mon, 26 Sep 2011 12:43:43 -0700 From: Richard Henderson MIME-Version: 1.0 References: <4E802DDD.8090100@siemens.com> <4E80B944.4040209@redhat.com> In-Reply-To: <4E80B944.4040209@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Laurent Desnogues , Jan Kiszka , Mulyadi Santosa , qemu-devel On 09/26/2011 10:41 AM, Avi Kivity wrote: > Native tcg ops for common vector instructions would probably be quite a speedup. It's very possible to simply open-code many of the vector operations. I've done a port of qemu to the SPU (aka Cell) processor. This core has no scalar operations; all operations are on vectors. It turned out fairly well for the basic arithmetic. I only have to fall back on helpers for the more esoteric operations. That said, all FP vector operations should of course continue to be done completely via helpers, since one would need helpers for the individual FP operations anyway. r~