Received: from eggs.gnu.org ([2001:4830:134:3::10]:53664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRpRE-0006fu-BL for qemu-devel@nongnu.org; Thu, 03 Oct 2013 16:24:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRpR8-0003to-Rv for qemu-devel@nongnu.org; Thu, 03 Oct 2013 16:23:56 -0400 Received: from mail-ie0-x235.google.com ([2607:f8b0:4001:c03::235]:53141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRpR8-0003tj-Gq for qemu-devel@nongnu.org; Thu, 03 Oct 2013 16:23:50 -0400 Received: by mail-ie0-f181.google.com with SMTP id tp5so6946278ieb.12 for ; Thu, 03 Oct 2013 13:23:50 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Thu, 3 Oct 2013 15:23:35 -0500 Message-Id: <1380831820-23366-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 0/5] Remove CONFIG_QEMU_LDST_OPTIMIZATION List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net This patch set is based upon git://github.com/rth7680/qemu.git tcg-arm-pull With the first patch, to convert aarch64 away from the old ldst helpers, we wean exec-all.h from any knowledge of the tcg backend implementation. Which means we no longer need to involve configure in the backend implementation either. The structure I've chosen, a TCGBackendData structure that is (technically) totally private to the backend, is based on my long-term assumption that many targets would do better with some sort of constant pool. Or allowing ia64 to save data with which it could produce better instruction bundling across tcg opcodes. That said, until there is some need for the TCGBackendData structure to be unique, let's share as much code as we can. Thus the two helper header files, which allow all of the boilerplate code for ldst optimization to be shared. r~ Richard Henderson (5): tcg-aarch64: Update to helper_ret_*_mmu routines exec: Delete is_tcg_gen_code and GETRA_EXT tcg: Add tcg-be-null.h tcg: Add tcg-be-ldst.h configure: Remove CONFIG_QEMU_LDST_OPTIMIZATION configure | 8 ---- include/exec/exec-all.h | 30 -------------- include/exec/softmmu_template.h | 4 +- tcg/aarch64/tcg-target.c | 51 +++++++++-------------- tcg/arm/tcg-target.c | 27 ++----------- tcg/i386/tcg-target.c | 30 ++------------ tcg/ia64/tcg-target.c | 2 + tcg/mips/tcg-target.c | 2 + tcg/ppc/tcg-target.c | 28 ++----------- tcg/ppc64/tcg-target.c | 26 ++---------- tcg/s390/tcg-target.c | 2 + tcg/sparc/tcg-target.c | 2 + tcg/tcg-be-ldst.h | 90 +++++++++++++++++++++++++++++++++++++++++ tcg/tcg-be-null.h | 43 ++++++++++++++++++++ tcg/tcg.c | 15 +++---- tcg/tcg.h | 31 +------------- tcg/tci/tcg-target.c | 2 + translate-all.c | 12 ------ 18 files changed, 183 insertions(+), 222 deletions(-) create mode 100644 tcg/tcg-be-ldst.h create mode 100644 tcg/tcg-be-null.h -- 1.8.3.1