From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJCbu-0005yx-VN for qemu-devel@nongnu.org; Fri, 09 Jun 2017 01:37:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJCbr-0001cN-RU for qemu-devel@nongnu.org; Fri, 09 Jun 2017 01:37:27 -0400 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:36841) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJCbr-0001cJ-Nt for qemu-devel@nongnu.org; Fri, 09 Jun 2017 01:37:23 -0400 Received: by mail-qt0-x244.google.com with SMTP id s33so13043592qtg.3 for ; Thu, 08 Jun 2017 22:37:23 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Thu, 8 Jun 2017 22:37:12 -0700 Message-Id: <20170609053719.26251-1-rth@twiddle.net> Subject: [Qemu-devel] [PATCH v5 0/7] tcg: allocate TB structs preceding translate List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: cota@braap.org This is a follow-up to Emilio's patch set. My primary changes to Emilio's patches are to the first patch, in merging the existing implementations from tcg/ppc/tcg-target.inc.c into util/cacheinfo.c. Then I've a few follow-up patches to take advantage of the new TB placement for arm platforms. I've had a look at the asm output for ppc64 and s390x, and don't see anything obvious that can be improved. Changes since v4: * The first patch reorganized a bit for aarch64 and ppc64. Re-tested on win32, for which there was a Werror. Incorporated feedback from Emilio re MacOS. * Fixed the short description for the tcg/arm patches. r~ Emilio G. Cota (2): util: add cacheinfo tcg: allocate TB structs before the corresponding translated code Richard Henderson (5): tcg/aarch64: Use ADR in tcg_out_movi tcg/arm: Use indirect branch for goto_tb tcg/arm: Remove limit on code buffer size tcg/arm: Try pc-relative addresses for movi tcg/arm: Use ldr (literal) for goto_tb include/exec/exec-all.h | 5 +- include/exec/tb-context.h | 3 +- include/qemu/osdep.h | 3 + tcg/aarch64/tcg-target.inc.c | 7 +- tcg/arm/tcg-target.inc.c | 82 +++++++++++-------- tcg/ppc/tcg-target.inc.c | 71 +---------------- tcg/tcg.c | 20 +++++ tcg/tcg.h | 2 +- translate-all.c | 41 ++++++---- util/Makefile.objs | 1 + util/cacheinfo.c | 185 +++++++++++++++++++++++++++++++++++++++++++ 11 files changed, 293 insertions(+), 127 deletions(-) create mode 100644 util/cacheinfo.c -- 2.9.4