From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CGhzO-0002ta-5e for qemu-devel@nongnu.org; Sun, 10 Oct 2004 14:00:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CGhzN-0002sZ-3K for qemu-devel@nongnu.org; Sun, 10 Oct 2004 14:00:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGhzM-0002sW-PQ for qemu-devel@nongnu.org; Sun, 10 Oct 2004 14:00:08 -0400 Received: from [213.80.72.10] (helo=kubrik.opensource.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGhro-0007Ll-Cd for qemu-devel@nongnu.org; Sun, 10 Oct 2004 13:52:21 -0400 Received: from kubu (unknown [213.80.72.14]) by kubrik.opensource.se (Postfix) with ESMTP id 04B8E3752C for ; Sun, 10 Oct 2004 19:40:18 +0200 (CEST) From: Magnus Damm Content-Type: text/plain Message-Id: <1097431180.15742.96.camel@kubu.opensource.se> Mime-Version: 1.0 Date: Sun, 10 Oct 2004 19:59:44 +0200 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] /* XXX: suppress this hack */ Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, Better performance for i386-softmmu under PowerPC? Yes, please! At line 96 in "dyngen-exec.h" sits the following code: /* XXX: suppress this hack */ #if defined(CONFIG_USER_ONLY) #define AREG4 "r16" #define AREG5 "r17" #define AREG6 "r18" #define AREG7 "r19" #define AREG8 "r20" #define AREG9 "r21" #define AREG10 "r22" #define AREG11 "r23" #endif I would like to "suppress that hack", ie make sure that AREG4 to AREG11 gets defined for i386-softmmu. Someone that knows the code - what needs to be done? Just removing the ifdef does not work for sure. Is it some issue with setjmp()/longjmp()? I'm willing to set aside some hours to fix this if someone who knows points me in the right direction. Thanks! / magnus