From patchwork Fri Dec 11 01:14:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 341961 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp79966jai; Thu, 10 Dec 2020 17:21:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHiyJFW+NDepBtAoKaYUoYRGC9Ao/O6PWkag89stYvD3ipV9WmqNy9G5m7eLbbKA/uM0GW X-Received: by 2002:a25:738b:: with SMTP id o133mr15568026ybc.181.1607649666216; Thu, 10 Dec 2020 17:21:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607649666; cv=none; d=google.com; s=arc-20160816; b=O+8+m93C58ryqmPv4dtQ6HH+Ur3obZ4S/qX4gNldcfXTBE3tmjlEfs5lDFkios+ugv SRNsUnNWOasnunsUzkIp7XMF5TT2nkpUEMDRI3WB62t3zKXCkIbJmQZ8dcf5mzypBSiO iDGGsN0Kf9lzy45INkjH4EYUB7WSEg9uqnySbqJOhfefCQlk8QQMTuyOIfCNshPeWem1 VxaddNSSBrA7x40ZjoBAYRAFXilx8iGroRySxgUlJC3bdyFedqnUeZoR7ehu6q/TmsdX p/arnP7YWCRur7DwJD2JevSO5V+5gtGF9Nzq4usn8gyV9M/s+sDr0CWP37OtnVybyGyr OsMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=wVvF6x3OiQJye84q4NWJA8wFFM48PlXHmUL0DkgkdC8=; b=OiJJcAkwx4Kt2anVeN9sS+4Ja1cgdT7++IXXkN2Gxsxkk7WV4wPmiF/ij9JhLREVLi TJ+UfV5gB6eGzqEi75KHQK+Wupw9IzxyfJKsDt58/9BHo1HHghJ+JrbhxwiWxJVxW/VG xTT1244QP6gmQ9yA9bSCfdUxThaowe15uDdvj67avs11dFYahV3XonjPbAjM4T6am2Bn IVHECie5q56OQ5uzDSzpfKexEYNf4/Ata3Kb0S9Y7y4RUIn3wWyXX3OeaFp6lWn6/h3M 6sXi586NnikPYT/GEQaTPT9Jlquaq0rN+eN+PKl6lik1zpOnV7Rw/X9/T3sQ39HIBbgo eE3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MCxRwZq7; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id i14si7044723ybj.146.2020.12.10.17.21.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Dec 2020 17:21:06 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MCxRwZq7; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knX7J-0002gj-OL for patch@linaro.org; Thu, 10 Dec 2020 20:21:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knX1O-0007P7-NX for qemu-devel@nongnu.org; Thu, 10 Dec 2020 20:14:58 -0500 Received: from mail-ot1-x343.google.com ([2607:f8b0:4864:20::343]:46285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knX1N-0003FE-6s for qemu-devel@nongnu.org; Thu, 10 Dec 2020 20:14:58 -0500 Received: by mail-ot1-x343.google.com with SMTP id w3so6817621otp.13 for ; Thu, 10 Dec 2020 17:14:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=wVvF6x3OiQJye84q4NWJA8wFFM48PlXHmUL0DkgkdC8=; b=MCxRwZq74KLdDhKZQhtWtqFEUl8UFi9qyciRbfW83QrwCuuVTowizd4jbv7bBjXlWU t2NxlFbwwdZ6CKPqu7F685L/RldH4Atp7HidM9rV2c+asSROq2rTZuDZi2LbIGMGHtyw eTbblahFlnJGrDWPBmbdhErCAwgVWS6zaSHHi4RGh2/K1Dz8UtEnYLLE5hX+JZ5tBJvf acB4dNm0sNtso/Oo4HM8fEtPHDEXMEWaZ7eTwTKf5ekRWKY2PpkCSe5si5KVpXt1ZgCQ qLv+49Az0jFs8fwuQlZK98NcoyzLwTog7g7z+UAM8xGTPxHVrq2r3pHl30D3PI1dgz3D fZOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=wVvF6x3OiQJye84q4NWJA8wFFM48PlXHmUL0DkgkdC8=; b=ENMzqd0tzYKl4eUUCXEdSXNrH8R6QmqavlNBS/apecJASVbzTEOGZRu9+QujBPG5bO wzwl+jal/7M4lPwsyPmiKSGl8PUG+uS4WskHkPTv9f0Tur0GCbbVfePirluVFRja4+EQ m/6zCSmTuHwp9pK52NdQPMawITAp60TXrk+X0jzFm8K64NHcA66sZqPVqv1E6XdAKL0T AbSJVwOhCgbna4h5okiz3pFMtDy16f8LsqB1WxPJnUWGs2kqtpoxIog5rKu6Fa53qMdc sWwQBdIOtSBcYln1TBrkGd5kx01sCR1b0vUigQD2UlGAWZoyYG+vxhVs0XBCwz5C7/Kn MwUQ== X-Gm-Message-State: AOAM531926+KdY8iaRLgxnsm1A2L5YaJZEFabB+hyG0B7cM7KIWXw6Td YqLheh7fZ3H0bqoGwiaHdkfuSuYPIV/sjebO X-Received: by 2002:a9d:2287:: with SMTP id y7mr7840897ota.137.1607649295717; Thu, 10 Dec 2020 17:14:55 -0800 (PST) Received: from localhost.localdomain (fixed-187-189-51-144.totalplay.net. [187.189.51.144]) by smtp.gmail.com with ESMTPSA id h93sm1495135otb.29.2020.12.10.17.14.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Dec 2020 17:14:55 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 0/2] tcg: Eliminate scratch regs from i386 backend Date: Thu, 10 Dec 2020 19:14:51 -0600 Message-Id: <20201211011453.475155-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::343; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x343.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Eliminating these cleans up the backend a bit, allows the code generator more freedom to properly place the inputs. r~ Richard Henderson (2): tcg/i386: Adjust TCG_TARGET_HAS_MEMORY_BSWAP tcg: Introduce INDEX_op_qemu_st8_i32 include/tcg/tcg-opc.h | 5 ++ tcg/aarch64/tcg-target.h | 1 + tcg/arm/tcg-target.h | 1 + tcg/i386/tcg-target.h | 6 +- tcg/mips/tcg-target.h | 1 + tcg/ppc/tcg-target.h | 1 + tcg/riscv/tcg-target.h | 1 + tcg/s390/tcg-target.h | 1 + tcg/sparc/tcg-target.h | 1 + tcg/tci/tcg-target.h | 1 + tcg/optimize.c | 1 + tcg/tcg-op.c | 6 +- tcg/tcg.c | 4 ++ tcg/README | 5 ++ tcg/i386/tcg-target.c.inc | 138 ++++++++++++++++---------------------- 15 files changed, 91 insertions(+), 82 deletions(-) -- 2.25.1