Received: from eggs.gnu.org ([208.118.235.92]:50982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBvvb-0003bW-1q for qemu-devel@nongnu.org; Sun, 25 Mar 2012 18:28:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBvvZ-0007uU-5v for qemu-devel@nongnu.org; Sun, 25 Mar 2012 18:28:46 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:34267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBvvY-0007uF-Qh for qemu-devel@nongnu.org; Sun, 25 Mar 2012 18:28:45 -0400 Received: by pbcuo5 with SMTP id uo5so6347893pbc.4 for ; Sun, 25 Mar 2012 15:28:41 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Sun, 25 Mar 2012 15:27:42 -0700 Message-Id: <1332714477-30079-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 00/15] tcg-sparc improvments List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl 32-bit sparc hasn't worked in quite a while. Missing opcodes, incorrect opcodes, unconditional use of ASI_PRIMARY_LITTLE. This patch set begins by dropping support for pre-v9 sparc. This lets us clean things up quite a bit, using 64-bit load and store operations. I was still having problems with %g6 being clobbered in glibc. Patches 7-10 drop the use of global registers for the sparc port entirely. Given the hoops being used to protect areg0 around calls within the tcg generated code, deferring to a %g7-relative tls access in the helpers is approximately as efficient. As targets are converted to CONFIG_TCG_PASS_AREG0 even this will improve as direct register access is available. r~ Richard Henderson (15): tcg-sparc: Hack in qemu_ld/st64 for 32-bit. tcg-sparc: Fix ADDX opcode. tcg-sparc: Assume v9 cpu always, i.e. force v8plus in 32-bit mode. tcg-sparc: Fix qemu_ld/st to handle 32-bit host. tcg-sparc: Simplify qemu_ld/st direct memory paths. tcg-sparc: Support GUEST_BASE. tcg-sparc: Steamline qemu_ld/st more. Avoid declaring the env variable at all if CONFIG_TCG_PASS_AREG0. tcg-sparc: Do not use a global register for AREG0. tcg-sparc: Change AREG0 in generated code to %i0. tcg-sparc: Clean up cruft stemming from attempts to use global registers. tcg-sparc: Mask shift immediates to avoid illegal insns. tcg-sparc: Use defines for temporaries. tcg-sparc: Add %g/%o registers to alloc_order tcg-sparc: Fix and enable direct TB chaining. configure | 53 +--- dyngen-exec.h | 27 +- exec-all.h | 9 +- exec.c | 16 +- tcg/sparc/tcg-target.c | 951 +++++++++++++++++++++++------------------------- tcg/sparc/tcg-target.h | 34 +- user-exec.c | 17 +- 7 files changed, 520 insertions(+), 587 deletions(-) -- 1.7.7.6