From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8GXK-0004Sv-T8 for qemu-devel@nongnu.org; Mon, 26 Sep 2011 15:08:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8GXJ-000491-Qb for qemu-devel@nongnu.org; Mon, 26 Sep 2011 15:08:18 -0400 Received: from mail-gw0-f45.google.com ([74.125.83.45]:49284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8GXJ-00048x-Mu for qemu-devel@nongnu.org; Mon, 26 Sep 2011 15:08:17 -0400 Received: by gwb19 with SMTP id 19so2876413gwb.4 for ; Mon, 26 Sep 2011 12:08:17 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <4E802DDD.8090100@siemens.com> <4E805923.50806@siemens.com> <4E806573.6000207@siemens.com> <4E80B768.8010000@siemens.com> Date: Mon, 26 Sep 2011 20:08:16 +0100 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Laurent Desnogues , Jan Kiszka , Anthony Liguori , Mulyadi Santosa , qemu-devel On 26 September 2011 19:20, Blue Swirl wrote: > It would be interesting to have some benchmarks. I'd expect that most > of the run time is spent within generated code, the next largest item > should be the translator and any helpers should be marginal. Depends a lot on the target, I suspect. On ARM at the moment we spend huge amounts of time (30%+ of runtime) in a handful of helpers like sub_cc because we haven't optimised the handling of subtract and test to do things inline. (On my todo list but performance in general is behind feature work. I have a half a patchset that I haven't got back to yet.) Which is kind of echoing your remarks about benchmarks, really. -- PMM