From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8HDs-00075d-Oc for qemu-devel@nongnu.org; Mon, 26 Sep 2011 15:52:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8HDr-0004jL-R5 for qemu-devel@nongnu.org; Mon, 26 Sep 2011 15:52:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8HDr-0004j7-If for qemu-devel@nongnu.org; Mon, 26 Sep 2011 15:52:15 -0400 Message-ID: <4E80D7E9.4050203@redhat.com> Date: Mon, 26 Sep 2011 22:52:09 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4E802DDD.8090100@siemens.com> <4E80B944.4040209@redhat.com> <4E80D5EF.4090705@twiddle.net> In-Reply-To: <4E80D5EF.4090705@twiddle.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Richard Henderson Cc: Laurent Desnogues , Jan Kiszka , Mulyadi Santosa , qemu-devel On 09/26/2011 10:43 PM, Richard Henderson wrote: > 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. Why do floating point ops need helpers? At least if all the edge cases match? (i.e. NaNs and denormals) -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.