From patchwork Mon Dec 17 03:35:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 153954 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2025208ljp; Sun, 16 Dec 2018 19:35:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/VrRixy4IeuGWb7MDQ/bnYwBN65byyRqo+eUoSxB6MNKHEfZRUoAl+7k4KbWnCvihFd9bGz X-Received: by 2002:ac8:3618:: with SMTP id m24mr11647090qtb.210.1545017728643; Sun, 16 Dec 2018 19:35:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545017728; cv=none; d=google.com; s=arc-20160816; b=SCNahGZDdq8Bk1ypJWKw8uup3/ZWXq+v2S4rHPV4gLpszwsNxQwRS9YiKWrI+MTU/p VvVPVj8wcjMBhYPmLyUGsZf5zkyg9oQLSkVmaP6xOT0mdhYMeA8Z0TTCVOUliLkp9yqn OXJRxBAZYHKSYKyi52jQ8JdVc/ozc6tcZr9f+b7xDMzs+wNIlKSPU2bc3+/KgqHxL2XN feG3J0zITCjtUuJbF/I+VPQDAdXdgWgKquWYdM463V4RPvoVE9dt2NuIYi8+59tpHpVo YMApwX4qQjp6NlkJSvFgp0MUaBAVt+f27b75W74sRoCA5oQWA/LUrSQ8wH6UP4x8sKvR 17cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature; bh=T2BytpP7uOvwHNNkMSj4ecoQ8ANFk9VNRh4J9+3J+qQ=; b=GPodw1WT2v6gECy741ld/VjyFClvDYV3eSMtr8XsWGs3fhW52YBV0ts9Z/YtkwsI0R 9Cvk+41A5ujwEBqHuN4xY3YYOcmbXxWd6EOm7nbEXZjAgnsCNogTo0PzCG5bGnoRf8I2 iMTXtKW8Q6r2fJCB5wOHOpN+ykNcjPfEoRKEf9N+F3C4SHkyfFPQi+ljaau3VU/e5mF2 cWLgUnYpEWgbSRGYjn6YVwU2VhvfbFbGP8h6pMWFsa6eopXp7r8swixeeNXk8Jl2Gui9 fZfL1NXvjHkEPINi2oaO9AXcy4kb+BEIGnxvFyitbos2tu3rhDKOdNP3y2NKyMjrprPL /mXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fmHLP5pX; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id b67si4420701qkj.34.2018.12.16.19.35.28 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 16 Dec 2018 19:35:28 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fmHLP5pX; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYjgm-0007nu-4g for patch@linaro.org; Sun, 16 Dec 2018 22:35:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYjgT-0007n8-J2 for qemu-devel@nongnu.org; Sun, 16 Dec 2018 22:35:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYjgQ-0002x2-3C for qemu-devel@nongnu.org; Sun, 16 Dec 2018 22:35:09 -0500 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:35055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYjgP-0002uK-IU for qemu-devel@nongnu.org; Sun, 16 Dec 2018 22:35:06 -0500 Received: by mail-pg1-x534.google.com with SMTP id s198so5423314pgs.2 for ; Sun, 16 Dec 2018 19:35:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=T2BytpP7uOvwHNNkMSj4ecoQ8ANFk9VNRh4J9+3J+qQ=; b=fmHLP5pXG494ZBeKOigJ7qHmjqFbrnBrkUnBQso6GiKlbCWBL+w0ItyB4ZuGzH4Cno BvhBBFZbnLX/W8XdZSygH5s8uEiTSodpffmQA9n0jMRBtc70hDJqmMqNTHz0EopUzAPN UDdbV84XyCD3K2SVBkxKy3S3IyTvvYMG1sMEs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=T2BytpP7uOvwHNNkMSj4ecoQ8ANFk9VNRh4J9+3J+qQ=; b=TCc5Nqd1X0YIoBJC74Jktc1MQNXQnE6P6GGDvjleImHdh5NnFvNiLpmK4t2/HTvl4w /UGuQS1Ybdqt1ZLS5bg/9Mjf/5r4ZOw+daQ6y4FMU9QyJ8aZ5y+lMgIgZuyjBhFEh6Te qyhrg+oBxY2lWRMp1JpgiWLdO/LrOq+FYvi5lta4HxigNqlbX3FPRnI+qT/JR94Cg7BI HzizMjlUSRnOwDhPalX6k+BJsHDCKOPEaYlc+XzaWD3AiWxHkwHb4vBAG2ZpNz8lb2Qa H+pKrMFqXdG7yuhuKPGe1rTMjk4/bHKvGe++taYcbF1ihB/wGHLvTdM3EfI5xWM+suew onCQ== X-Gm-Message-State: AA+aEWb6QGOqA52sGEL5L50H6a8aN7msss4MphzNcDeT4lLRtvWSPNdx hagmTX9ReSK8KfUd0DfgWqIgwT2h3Tw= X-Received: by 2002:a63:3c58:: with SMTP id i24mr11002116pgn.284.1545017703888; Sun, 16 Dec 2018 19:35:03 -0800 (PST) Received: from cloudburst.twiddle.net (97-126-115-157.tukw.qwest.net. [97.126.115.157]) by smtp.gmail.com with ESMTPSA id r76sm16212351pfb.69.2018.12.16.19.35.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 16 Dec 2018 19:35:03 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sun, 16 Dec 2018 19:35:00 -0800 Message-Id: <20181217033501.18073-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::534 Subject: [Qemu-devel] [PULL v2 00/33] tcg patch queue X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Now include a patch to address qemu-system-x86_64: /home/pm215/qemu/tcg/sparc/tcg-target.inc.c:319: patch_reloc: Assertion `check_fit_ptr(value, 13)' failed. I believe it was the change to bswap64 to use the constant pool more often that exposed the latent problem. Only re-posting the new patch. r~ The following changes since commit 58b1f0f21edcab13f78a376b1d90267626be1275: Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2018-12-16 12:49:06 +0000) are available in the Git repository at: https://github.com/rth7680/qemu.git tags/pull-tcg-20181216 for you to fetch changes up to b7c2cd08a6f68010ad27c9c0bf2fde02fb743a0e: xxhash: match output against the original xxhash32 (2018-12-17 06:04:44 +0300) ---------------------------------------------------------------- - Remove retranslation remenents - Return success from patch_reloc - Preserve 32-bit values as zero-extended on x86_64 - Make bswap during memory ops as optional - Cleanup xxhash - Revert constant pooling for tcg/sparc/ ---------------------------------------------------------------- Alistair Francis (1): tcg/mips: Improve the add2/sub2 command to use TCG_TARGET_REG_BITS Emilio G. Cota (5): tcg: Drop nargs from tcg_op_insert_{before,after} qht-bench: document -p flag exec: introduce qemu_xxhash{2,4,5,6,7} include: move exec/tb-hash-xx.h to qemu/xxhash.h xxhash: match output against the original xxhash32 Richard Henderson (27): target/sparc: Remove the constant pool tcg/i386: Always use %ebp for TCG_AREG0 tcg/i386: Move TCG_REG_CALL_STACK from define to enum tcg/aarch64: Remove reloc_pc26_atomic tcg/aarch64: Fold away "noaddr" branch routines tcg/arm: Remove reloc_pc24_atomic tcg/arm: Fold away "noaddr" branch routines tcg/ppc: Fold away "noaddr" branch routines tcg/s390: Remove retranslation code tcg/sparc: Remove retranslation code tcg/mips: Remove retranslation code tcg: Return success from patch_reloc tcg/i386: Return false on failure from patch_reloc tcg/aarch64: Return false on failure from patch_reloc tcg/arm: Return false on failure from patch_reloc tcg/ppc: Return false on failure from patch_reloc tcg/s390x: Return false on failure from patch_reloc tcg/i386: Propagate is64 to tcg_out_qemu_ld_direct tcg/i386: Propagate is64 to tcg_out_qemu_ld_slow_path tcg/i386: Implement INDEX_op_extr{lh}_i64_i32 for 32-bit guests tcg/i386: Assume 32-bit values are zero-extended tcg/i386: Precompute all guest_base parameters tcg/i386: Add setup_guest_base_seg for FreeBSD tcg: Clean up generic bswap32 tcg: Clean up generic bswap64 tcg/optimize: Optimize bswap tcg: Add TCG_TARGET_HAS_MEMORY_BSWAP include/exec/tb-hash.h | 4 +- include/{exec/tb-hash-xx.h => qemu/xxhash.h} | 47 ++++-- tcg/aarch64/tcg-target.h | 1 + tcg/arm/tcg-target.h | 1 + tcg/i386/tcg-target.h | 17 +-- 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/tcg.h | 4 +- tcg/tci/tcg-target.h | 2 + tcg/aarch64/tcg-target.inc.c | 71 +++------ tcg/arm/tcg-target.inc.c | 55 +++---- tcg/i386/tcg-target.inc.c | 208 ++++++++++++-------------- tcg/mips/tcg-target.inc.c | 12 +- tcg/optimize.c | 16 +- tcg/ppc/tcg-target.inc.c | 60 ++++---- tcg/s390/tcg-target.inc.c | 45 +++--- tcg/sparc/tcg-target.inc.c | 58 ++------ tcg/tcg-op.c | 215 ++++++++++++++++++++------- tcg/tcg.c | 18 +-- tcg/tci/tcg-target.inc.c | 3 +- tests/qht-bench.c | 5 +- util/qsp.c | 14 +- 24 files changed, 460 insertions(+), 400 deletions(-) rename include/{exec/tb-hash-xx.h => qemu/xxhash.h} (73%)