From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpX82-0001Qn-1k for qemu-devel@nongnu.org; Tue, 05 May 2015 03:18:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpX7x-0003BZ-Qm for qemu-devel@nongnu.org; Tue, 05 May 2015 03:18:54 -0400 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:37411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpX7x-0003BS-Iw for qemu-devel@nongnu.org; Tue, 05 May 2015 03:18:49 -0400 Received: by widdi4 with SMTP id di4so134556138wid.0 for ; Tue, 05 May 2015 00:18:49 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 5 May 2015 09:18:21 +0200 Message-Id: <1430810304-7904-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/3] Support more than 8 MMU modes, speedup PPC by 10% List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: agraf@suse.de, rth@twiddle.net Patches 1 and 2 enable support from more than 8 MMU modes in TCG (patch 1 is in the targets, patch 2 is in cpu-defs.h). The TLB size is reduced proportionally on targets where that is necessary. Patch 3 uses the new support in the PPC target. Paolo v2->v3: - change i386 TCG_TARGET_TLB_DISPLACEMENT_BITS to 31 [rth] - tweak comment in patch 2 to account for offsetof(CPUArchState, tlb_table[mem_index][0].addend) [rth] Paolo Bonzini (3): tcg: add TCG_TARGET_TLB_DISPLACEMENT_BITS softmmu: support up to 12 MMU modes target-ppc: use separate indices for various translation modes include/exec/cpu-defs.h | 34 +++++++++++++++- include/exec/cpu_ldst.h | 104 ++++++++++++++++++++++++++++++++++++++++++++--- target-ppc/cpu.h | 12 +++--- target-ppc/excp_helper.c | 3 -- target-ppc/helper_regs.h | 15 ++++--- tcg/aarch64/tcg-target.h | 1 + tcg/arm/tcg-target.h | 1 + tcg/i386/tcg-target.h | 1 + tcg/ia64/tcg-target.h | 2 + tcg/mips/tcg-target.h | 1 + tcg/ppc/tcg-target.h | 1 + tcg/s390/tcg-target.h | 1 + tcg/sparc/tcg-target.h | 1 + tcg/tci/tcg-target.h | 1 + 14 files changed, 156 insertions(+), 22 deletions(-) -- 2.3.5