Message ID | 20210204014509.882821-9-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp835919jah; Wed, 3 Feb 2021 17:56:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1RqQpUBMY2IghzHzAvVnffnUkAad5fgNcuGPWf9HAiENpidzflABvrEuL/loCcbO4lYxU X-Received: by 2002:a25:3d81:: with SMTP id k123mr8139407yba.430.1612403798659; Wed, 03 Feb 2021 17:56:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612403798; cv=none; d=google.com; s=arc-20160816; b=mvCuFLJsI3RhQq60eyeNMuK7gK+ZG4Y2l+y2LJ/hIq5FLTYxMDIWlM2//glskSdeV5 h2DFy0aC+sf2+lXf8XDNLwML06YzmUnFEkbV+j+V10RzIUWK1+nmrB7mF2Te5psQ2s7m f+/GQRuJtduxtS59bIXd4e41DJUWLnwSajpMHH7anYnoNnYHUlXQ2BdHRT6xBCAhxRIN 6oBk6xg7TCMgxGLj0uWb66CzKXHe4XCvwm6EHA9EM3rM5mT/g2tAg0LzI7TblAlPeM9b e4E2ckrh+KQNSjADI3Ej6iahtDZbcPlpJxm8mlkUnq7M6nsFt/LZP7CDQzbA2wXJn/gY t3kw== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Tquh43lruzGWRcmOiBMYX1Wiqh+FHEpp7zn+YOCAYms=; b=NGVVwjVnVwQwU0PM6K4UjNjKVSjZhgrKxGxaNsByDXA5o3qPeHVCzz/Zpr68geeu3S beo0uVkOrdQIAk0F7JAdG278HnEwZhAN/7zBkzb6i9m3rh5LoQ3IdbZmL187wQFVcV2P 0ncxMwaB3HGQl34eknVZ6GD45ep78tizikPwGJOVGGsSWQMNs6eeCKlkuoo6SmXOUyVV 1v7JS+1XB0SZyImtJbouzP83JF5Ceh/L+b/4rA/TNbSBgrDFgyswpJVRCHutVUh9IsWH e3iYcMedDGo11pU9Bkp2x+u57yUoUv8dpEI9B/ChxvPSch734ftTxYE1xLjKh5Ywp723 XL0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q7YCG5gB; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id g205si3479405ybg.317.2021.02.03.17.56.38 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Feb 2021 17:56:38 -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=Q7YCG5gB; 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]:58936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1l7Tsq-0000LX-AJ for patch@linaro.org; Wed, 03 Feb 2021 20:56:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1l7Ti9-0004cf-ED for qemu-devel@nongnu.org; Wed, 03 Feb 2021 20:45:35 -0500 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:40778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1l7Ti7-0003bR-8Z for qemu-devel@nongnu.org; Wed, 03 Feb 2021 20:45:33 -0500 Received: by mail-pf1-x435.google.com with SMTP id i63so1067624pfg.7 for <qemu-devel@nongnu.org>; Wed, 03 Feb 2021 17:45:30 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Tquh43lruzGWRcmOiBMYX1Wiqh+FHEpp7zn+YOCAYms=; b=Q7YCG5gBBR5dAENACZmZOp7ONIuHDlbayAnxtx6eFqMp9PaKBu+A9BpZuWWD4tm5Xk 6Oesllt3amJOwSlKjvXYL8mGBv/rKLqW/M12ovQxJ8dVtmwPCBqVzbDBet95y3t1i0mT wgW9QDIfAYPZI9pODbb/WPo1B5A3m900957ncFYf7a5+M7/tR6MCv7pmyMswuGzpI2V3 NwO4HLimCcKZ5ofNGmol34hNiv/nHtKxNvesjWylOm2zyIjQda/imjtDnNEWkyXcoMC0 e658QHjiPlBBrTLQiwaRe704aNr/7n9VJ+oqEcXARSalP3TaqU/6xzpa+t2mJx931NZO T73A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Tquh43lruzGWRcmOiBMYX1Wiqh+FHEpp7zn+YOCAYms=; b=VkLJetjMdO4+upL8F0pA79jrB/WDwTvRBxt/xfr4Z16EkuI43TdbhvmRKgXNuw9irB ArBuWuNSFAn4ebq+Te1Q6kJ+PVBgPVrlOIk85gY1lr5/TG6gLXu2jaZ5TlKsg5eIjcDM xKGgWyx5cBMMb1i4vz2AlOZmUdJ1kw0hnnwb3VE70zLKeV6sz9bRIkgpK4xvhqWvA2T1 nUqtXNKRNH5A4zZgYaeq3FAlG6V0zlCBSy0GdWqlmB0w0X/FUNZNgR0cv261aphUWzVp ES81TeaOy8e0vrc3cOLznUduZI+FuK6jyjq/11I5/FE81CktyKwaPp+ZdXhBCX7xz0jf rIAA== X-Gm-Message-State: AOAM533QDbyk+ZXKhIrzLobxczlqjLAMzu/4hko9kJWKHR2pVzljzvZr 4ntB7/35HN5orP8GYCrHCaI1e5s+b4qxz2x3 X-Received: by 2002:aa7:8bc3:0:b029:1ba:7a2:7720 with SMTP id s3-20020aa78bc30000b02901ba07a27720mr5798186pfd.3.1612403129958; Wed, 03 Feb 2021 17:45:29 -0800 (PST) Received: from localhost.localdomain (cpe-66-27-222-29.hawaii.res.rr.com. [66.27.222.29]) by smtp.gmail.com with ESMTPSA id q132sm3835462pfq.171.2021.02.03.17.45.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 17:45:29 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v2 08/93] tcg/tci: Inline tci_write_reg32s into the only caller Date: Wed, 3 Feb 2021 15:43:44 -1000 Message-Id: <20210204014509.882821-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210204014509.882821-1-richard.henderson@linaro.org> References: <20210204014509.882821-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x435.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: sw@weilnetz.de, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
TCI fixes and cleanups
|
expand
|
diff --git a/tcg/tci.c b/tcg/tci.c index c3a8511dfe..e8023b5384 100644 --- a/tcg/tci.c +++ b/tcg/tci.c @@ -117,14 +117,6 @@ tci_write_reg(tcg_target_ulong *regs, TCGReg index, tcg_target_ulong value) regs[index] = value; } -#if TCG_TARGET_REG_BITS == 64 -static void -tci_write_reg32s(tcg_target_ulong *regs, TCGReg index, int32_t value) -{ - tci_write_reg(regs, index, value); -} -#endif - static void tci_write_reg8(tcg_target_ulong *regs, TCGReg index, uint8_t value) { tci_write_reg(regs, index, value); @@ -907,7 +899,7 @@ uintptr_t QEMU_DISABLE_CFI tcg_qemu_tb_exec(CPUArchState *env, t0 = *tb_ptr++; t1 = tci_read_r(regs, &tb_ptr); t2 = tci_read_s32(&tb_ptr); - tci_write_reg32s(regs, t0, *(int32_t *)(t1 + t2)); + tci_write_reg(regs, t0, *(int32_t *)(t1 + t2)); break; case INDEX_op_ld_i64: t0 = *tb_ptr++;