From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKHwD-0004XU-PY for qemu-devel@nongnu.org; Fri, 05 Oct 2012 20:08:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKHwC-0008GY-PY for qemu-devel@nongnu.org; Fri, 05 Oct 2012 20:08:13 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:60719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKHwC-0008GS-JW for qemu-devel@nongnu.org; Fri, 05 Oct 2012 20:08:12 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp2so2433854pbb.4 for ; Fri, 05 Oct 2012 17:08:12 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Fri, 5 Oct 2012 17:00:04 -0700 Message-Id: <1349481605-9561-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH] target-sparc register window handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl This applies with or without the sparc-compare patch set I recently sent, and it works with the same set of tests. I've not had time to do true benchmarking on this, but it does reduce the size of the generated code: BEFORE Translation buffer state: gen code size 509344/33431552 TB count 2196/262144 TB avg target size 22 max=252 bytes TB avg host size 231 bytes (expansion ratio: 10.3) cross page TB count 0 (0%) direct jump count 1153 (52%) (2 jumps=628 28%) AFTER Translation buffer state: gen code size 418064/33431552 TB count 2196/262144 TB avg target size 22 max=252 bytes TB avg host size 190 bytes (expansion ratio: 8.4) cross page TB count 0 (0%) direct jump count 1153 (52%) (2 jumps=628 28%) r~ Richard Henderson (1): target-sparc: Use TCG registers for windowed registers gdbstub.c | 4 +- linux-user/main.c | 17 ++-- linux-user/signal.c | 78 +++++++-------- linux-user/sparc/target_signal.h | 2 +- linux-user/sparc64/target_signal.h | 2 +- monitor.c | 2 +- target-sparc/cpu.c | 3 +- target-sparc/cpu.h | 20 ++-- target-sparc/int32_helper.c | 4 +- target-sparc/ldst_helper.c | 12 +-- target-sparc/translate.c | 188 +++++++++++++++++-------------------- target-sparc/win_helper.c | 56 ++++++----- 12 files changed, 190 insertions(+), 198 deletions(-) -- 1.7.11.4