From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2Qp9-00067l-EO for qemu-devel@nongnu.org; Tue, 09 Jun 2015 17:12:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2Qp6-0003Zt-7t for qemu-devel@nongnu.org; Tue, 09 Jun 2015 17:12:43 -0400 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:34724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2Qp5-0003Zl-W5 for qemu-devel@nongnu.org; Tue, 09 Jun 2015 17:12:40 -0400 Received: by payr10 with SMTP id r10so20574615pay.1 for ; Tue, 09 Jun 2015 14:12:39 -0700 (PDT) Received: from anchor.twiddle.net (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by mx.google.com with ESMTPSA id rx6sm6474783pbc.62.2015.06.09.14.12.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jun 2015 14:12:37 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Tue, 9 Jun 2015 14:12:30 -0700 Message-Id: <1433884354-2550-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 0/3] target-alpha PALcode improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Rather than copying around a block of 8 registers when we swap modes, let the translator map code generated for PALmode to the shadow regs directly. This simplifies PALmode entry and exit sufficiently to allow these insns to be performed inline. Sadly, the speedup for this is in the noise. But I still think it makes sense. r~ Richard Henderson (3): target-alpha: Use separate TCGv temporaries for the shadow registers target-alpha: Inline call_pal target-alpha: Inline hw_ret target-alpha/cpu.h | 3 +- target-alpha/gdbstub.c | 4 +- target-alpha/helper.c | 63 ++++++--------- target-alpha/helper.h | 3 - target-alpha/machine.c | 4 +- target-alpha/sys_helper.c | 22 ----- target-alpha/translate.c | 201 ++++++++++++++++++++++++++++++---------------- 7 files changed, 166 insertions(+), 134 deletions(-) -- 2.1.0