From patchwork Sat Apr 8 02:42:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 671469 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d08:0:0:0:0:0 with SMTP id z8csp608031wrt; Fri, 7 Apr 2023 19:49:46 -0700 (PDT) X-Google-Smtp-Source: AKy350ar5I4vj5uv8Hu1L7R3+DFuSBMUGagkASF59xhpQKh1oFo8h+nEJTaprmUsmZRj3+6N5N2P X-Received: by 2002:a05:6214:d0a:b0:5e9:900a:fd53 with SMTP id 10-20020a0562140d0a00b005e9900afd53mr720354qvh.37.1680922186344; Fri, 07 Apr 2023 19:49:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680922186; cv=none; d=google.com; s=arc-20160816; b=dDystPM2oTVzvF1HzpCjMuokvAG/S088RKvYIznZxQv8XGBavq0tJvAtZTn+DJwSjV XBVwXbmvG45nXcpWX4XRMfaCmtgAB+G6L2jAuLj6IO1tt2HirNsVelfwF0aHhht6Mi0l xtUTs6a1cx34uD52P+2PhQzRbbCTWHdnDoXcdtcznG1jHTc5Jl+X8yj2/wNV10uRs0xp rA4JE1235yJx71utA4VPsSxhWq7nrQUgfuZAr9WEsA6S7WrJz2nDrqsR2/5ByqZ3I60q q/jI8aZ7G5dkpAvXlrOcyEeNMGi3TiqoE0QUhVOPixZizuDE7KGX84VS1jSkpSLPZqSz PvMA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=a+sskExgwdL7kNpVsak9SGGYO2z60XgotlxGnsJ8eQ4=; b=PIbuy5mAFbZ2CYwD/bKP+hFIaDxB9JE4u6Ghp3GIBXIW//A57B59Y0VQf4u+O79KRP AnBIPz+SwBOOgzZNmCLqjoVAE2DNdZKiOgBkMVAx6A2YzIWEziiPgd20d3ak8sq4h9dW 9bSpb1sBVlJA5Uz0dFIc5cFRmy9vggpj9acH8aVLWpP4Rb6+btC1jcMrM+1GbQvvXruk J/OjRLeRpqn+jmztMmbfzYFdlcPoqHpcF4Y164EuN77twMWHLSnPC3bdK4tAZ/u3pE6h WuZfuE4np401Dhb7OvbA/dh/aGjVln7eNQ5jYO9PASKdJ0Coy43jcE9JnZ79ZrwYVfhX EavA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NMg+zWyT; 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 h12-20020a05620a284c00b007465ee1d5ffsi3772079qkp.718.2023.04.07.19.49.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Apr 2023 19:49:46 -0700 (PDT) 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=NMg+zWyT; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkyYc-0007l9-Bn; Fri, 07 Apr 2023 22:44:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkyYa-0007j8-VG for qemu-devel@nongnu.org; Fri, 07 Apr 2023 22:44:00 -0400 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkyYB-0005Zj-V7 for qemu-devel@nongnu.org; Fri, 07 Apr 2023 22:44:00 -0400 Received: by mail-pl1-x62d.google.com with SMTP id e13so57047plc.12 for ; Fri, 07 Apr 2023 19:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680921815; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=a+sskExgwdL7kNpVsak9SGGYO2z60XgotlxGnsJ8eQ4=; b=NMg+zWyTpPnkv92xpy0TqsMuGsnq389StBGMoJoeS6T6KNlye/fDUkgTavsroY39TD A62SNHueP0v7lyRqAFEbUNTfIpta5S33ghZcF63820J5W0frNqRiZV4SEzC4OiGXpKas Oaf9wPpFwB2YaiMZMCqa0oKvavvyvgX3FEhZPToI5fGLKIIqRdq1YpzJuZs1qD7GTZTs z0QSARu+3rw422oa0wiuclLHysBH3AW7Qohp6WGl+nDKAmR8/6j0WhwjDimHiAQGyEoW 59xSWHLd1svgnao9scC/kX6VYid34lI9NhOtpD2SwOwrlm8d+k48UIYjR9sXHolcBbJ6 WUrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680921815; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a+sskExgwdL7kNpVsak9SGGYO2z60XgotlxGnsJ8eQ4=; b=zTb6Y6WYHGCzNxPCeN12aoK+ZP1LTYqEAXHfM+ZwB8uqV9Dj7+/a68fCc3nglo0mvf bX9CDGb27JRkljC5NdAOX3kgxtKQyV1MIJ+N098Soaj4C5pOFiAuqLX9o4AgBhgwzbfN LlPchIwlGwqvUcLvsKnfDIFpQe0x1r9CTa6ULZBYGnWv2lTPTUzi6TUS84dL5qKiHWRh gztW6OoHV/ax1y7bzR50UHIYWokpiCo55Yu9gX+y4tQlPv3h/CSwg/2Qsqy1G16b/7yA W90XOXEmCX/hPQk6KYWOpfNZStZHEwq8LvsAPQywJgkNhKJ+zZES8uGgm5iNAdVtPx3Z iTlA== X-Gm-Message-State: AAQBX9fW7OzMgkb/rROjVcM/X/1oEGTGeObLZ6cjUxZuGYM4/RWfrIDJ xrYyOT8QXEJYwGT347PthjSGFD0X8uY7D6NfjGU= X-Received: by 2002:a17:902:d4c5:b0:1a5:1471:e397 with SMTP id o5-20020a170902d4c500b001a51471e397mr5209765plg.61.1680921815138; Fri, 07 Apr 2023 19:43:35 -0700 (PDT) Received: from stoup.. ([2602:ae:1541:f901:8bb4:5a9d:7ab7:b4b8]) by smtp.gmail.com with ESMTPSA id d9-20020a170902c18900b0019d397b0f18sm3530780pld.214.2023.04.07.19.43.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 19:43:34 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-s390x@nongnu.org, qemu-riscv@nongnu.org, qemu-ppc@nongnu.org Subject: [PATCH 21/42] tcg/aarch64: Rename ext to d_type in tcg_out_qemu_ld Date: Fri, 7 Apr 2023 19:42:53 -0700 Message-Id: <20230408024314.3357414-23-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230408024314.3357414-1-richard.henderson@linaro.org> References: <20230408024314.3357414-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62d.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, SUSPICIOUS_RECIPS=2.51 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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-bounces+patch=linaro.org@nongnu.org The new name is slightly more descritive as "data type", where "extend", despite the c type, sounds like a bool. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- tcg/aarch64/tcg-target.c.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tcg/aarch64/tcg-target.c.inc b/tcg/aarch64/tcg-target.c.inc index 4ec3cf3172..40122e1471 100644 --- a/tcg/aarch64/tcg-target.c.inc +++ b/tcg/aarch64/tcg-target.c.inc @@ -1851,7 +1851,7 @@ static void tcg_out_qemu_st_direct(TCGContext *s, MemOp memop, } static void tcg_out_qemu_ld(TCGContext *s, TCGReg data_reg, TCGReg addr_reg, - MemOpIdx oi, TCGType ext) + MemOpIdx oi, TCGType d_type) { MemOp memop = get_memop(oi); const TCGType otype = TARGET_LONG_BITS == 64 ? TCG_TYPE_I64 : TCG_TYPE_I32; @@ -1864,9 +1864,9 @@ static void tcg_out_qemu_ld(TCGContext *s, TCGReg data_reg, TCGReg addr_reg, tcg_insn_unit *label_ptr; tcg_out_tlb_read(s, addr_reg, memop, &label_ptr, mem_index, 1); - tcg_out_qemu_ld_direct(s, memop, ext, data_reg, + tcg_out_qemu_ld_direct(s, memop, d_type, data_reg, TCG_REG_X1, otype, addr_reg); - add_qemu_ldst_label(s, true, oi, ext, data_reg, addr_reg, + add_qemu_ldst_label(s, true, oi, d_type, data_reg, addr_reg, s->code_ptr, label_ptr); #else /* !CONFIG_SOFTMMU */ unsigned a_bits = get_alignment_bits(memop); @@ -1874,10 +1874,10 @@ static void tcg_out_qemu_ld(TCGContext *s, TCGReg data_reg, TCGReg addr_reg, tcg_out_test_alignment(s, true, addr_reg, a_bits); } if (USE_GUEST_BASE) { - tcg_out_qemu_ld_direct(s, memop, ext, data_reg, + tcg_out_qemu_ld_direct(s, memop, d_type, data_reg, TCG_REG_GUEST_BASE, otype, addr_reg); } else { - tcg_out_qemu_ld_direct(s, memop, ext, data_reg, + tcg_out_qemu_ld_direct(s, memop, d_type, data_reg, addr_reg, TCG_TYPE_I64, TCG_REG_XZR); } #endif /* CONFIG_SOFTMMU */