Message ID | 20230503065729.1745843-30-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp902980wrs; Wed, 3 May 2023 00:07:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ79nuxe9iP22WIP/qSxkdicEGMyLrKGSznIglLRsv8Yq+sLZ1rGJsPiCqxyeGVJ0CuQIP7G X-Received: by 2002:a05:622a:386:b0:3ef:6300:d6e6 with SMTP id j6-20020a05622a038600b003ef6300d6e6mr27538482qtx.58.1683097649580; Wed, 03 May 2023 00:07:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683097649; cv=none; d=google.com; s=arc-20160816; b=K83DG5oVwxnev2y3hpojVALxtEMm0QbLcFOPMMGAwPISaT7UJEztBsZ3pVM8ZrJTf7 VRKwM2uYLkGpCjCo4YiZUg8/pAG3qJufAjWS2Xm2SVEobYgfZAa/MmR42kHk9nJBoE0+ Ty+oiiD6FJjoetbE34h6Y6Gj5kYLXuSGGMshBxAGQkHgSjrBrsjk4yRorMcfqUMKHcG3 8DiP8LWEA9FJMmXEZIOl2/73FPscSkOLFkf5VkhyxmQLzIix2H0f6Gp496peaxdMFVRa 0KMv2hn8enOX6z2qRNF0aUprgCDz3cJkKocQ26DMwcMe0Fz3T8JiQWCT5ZeXZ1/p/jHy /Tjw== 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=Bq2h9X5UNDb637fCQb6pFT3eLaF1A8JaUegXUakX2qE=; b=WFGnQxZ5QQWvZvWNfFgiBbE5i7Qg5VYFRL6PVMgCOcKbxi94xhqT3ofnukscWdU7ws oRbfbuimrP9AMR3FISLag1ufYSSPx38zddXWzmLnMNgNFZXcmmE+95SHOQWScaVq6VfD 73UySdkYYDNy8anq6AcsqLQTUjMyyIb3xEx3kEXJ/1HDxVZOEqJd09MdWgLfnn7a9OqB wFIrDCnN7UxnZgZ7MGskwjnXEkq858BouL4QtZr9MCr69a9GXAXijyFoiol5mYexH74L 6WSMcgChmU3ek6Q9gMhZYFy8SIe7cCYdViFAUYCZKgaITpjiGnJLBxKGzmCV9weJHbXL DfKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hR7LDUWj; 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 do27-20020a05620a2b1b00b0074df9f3ac98si18019631qkb.351.2023.05.03.00.07.29 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 May 2023 00:07:29 -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=hR7LDUWj; 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 <qemu-devel-bounces@nongnu.org>) id 1pu6SM-0001mi-V3; Wed, 03 May 2023 02:59:18 -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 <richard.henderson@linaro.org>) id 1pu6Rk-00009s-Hr for qemu-devel@nongnu.org; Wed, 03 May 2023 02:58:49 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) 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 1pu6Qz-0001hH-Ry for qemu-devel@nongnu.org; Wed, 03 May 2023 02:58:34 -0400 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-3062d764455so2195843f8f.3 for <qemu-devel@nongnu.org>; Tue, 02 May 2023 23:57:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683097073; x=1685689073; 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=Bq2h9X5UNDb637fCQb6pFT3eLaF1A8JaUegXUakX2qE=; b=hR7LDUWjjoAZKm3sWKBp9w+OBdrqFzC0817vWjPQUfUKDWFeReoJZTrExxPnY3UIte 2m8PKr+XxW8gMawUgGd21WObgIJrliGx/t0VCxwDfPFXy9/yzpaPX/63csKJAe+Du1mq Is3Z1Eus37L13/1/CVuzmVmQesh0hTAkU5zM0pXcMqo/Jj7cAPwG8WYzG7CILdhdWGpC DaHxHkN7A/xehb3wuDWVYwhE9krmKnqgmrQxX/fYiC1nOHCJneyqvut2ywTpGSriR+19 gRlJKTGlqOxoXBLzoqbGhQ356tE7pAUkIqMx3Bg51xGhZ6S436BXcK1rT7dxz19R+y+b wy+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683097073; x=1685689073; 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=Bq2h9X5UNDb637fCQb6pFT3eLaF1A8JaUegXUakX2qE=; b=TwuF1n8bzGDsV6AOx6D1b2PDpHtOinCqgAi1kgmvoaz+xUzqcq/koCAGOTKsDwlX6w yp99GpIX1RdWg6vf6Ux7BAbriigBLROSaraCkoluaNfOxwosGXAfx7PUdqJytgJmCp5w g+Fru+BQQp/KKpY2NU0+ei6bYdBun/iy7VaQMXW8VAGjBkOzn4wm3Em+YdPNxOU4f+0D 3TUTtT70wKh1We1p+q4DSdwFh9szlTPeVHehzd41THkCXzEQXi5dZOWUsNHrsCCLdJr0 sd1zoJcRVEUDl8ueg4o7QP8MPCP8eKBwmAHRSv7JywpTofz0BRWUKbZlEAcDNxxCrzdW 7Uxg== X-Gm-Message-State: AC+VfDymugqnshkLIyDe/HGSlz8VcRz9lIQJPXbLkvXhjVBEbP/TSz+K U4AUM4ILHM8RCx790H9y5KisOGr/H0tY9kOY6evKuQ== X-Received: by 2002:a5d:474f:0:b0:306:2aa0:ce81 with SMTP id o15-20020a5d474f000000b003062aa0ce81mr6509556wrs.30.1683097073091; Tue, 02 May 2023 23:57:53 -0700 (PDT) Received: from stoup.Home ([2a02:c7c:74db:8d00:c01d:9d74:b630:9087]) by smtp.gmail.com with ESMTPSA id f6-20020a5d6646000000b002f6dafef040sm32796617wrw.12.2023.05.02.23.57.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 23:57:52 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: git@xen0n.name, philmd@linaro.org, qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org Subject: [PATCH v4 29/54] tcg/sparc64: Pass TCGType to tcg_out_qemu_{ld,st} Date: Wed, 3 May 2023 07:57:04 +0100 Message-Id: <20230503065729.1745843-30-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230503065729.1745843-1-richard.henderson@linaro.org> References: <20230503065729.1745843-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=2a00:1450:4864:20::430; envelope-from=richard.henderson@linaro.org; helo=mail-wr1-x430.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
tcg: Simplify calls to load/store helpers
|
expand
|
diff --git a/tcg/sparc64/tcg-target.c.inc b/tcg/sparc64/tcg-target.c.inc index dbe4bf96b9..7e6466d3b6 100644 --- a/tcg/sparc64/tcg-target.c.inc +++ b/tcg/sparc64/tcg-target.c.inc @@ -1178,7 +1178,7 @@ static const int qemu_st_opc[(MO_SIZE | MO_BSWAP) + 1] = { }; static void tcg_out_qemu_ld(TCGContext *s, TCGReg data, TCGReg addr, - MemOpIdx oi, bool is_64) + MemOpIdx oi, TCGType data_type) { MemOp memop = get_memop(oi); tcg_insn_unit *label_ptr; @@ -1636,10 +1636,10 @@ static void tcg_out_op(TCGContext *s, TCGOpcode opc, break; case INDEX_op_qemu_ld_i32: - tcg_out_qemu_ld(s, a0, a1, a2, false); + tcg_out_qemu_ld(s, a0, a1, a2, TCG_TYPE_I32); break; case INDEX_op_qemu_ld_i64: - tcg_out_qemu_ld(s, a0, a1, a2, true); + tcg_out_qemu_ld(s, a0, a1, a2, TCG_TYPE_I64); break; case INDEX_op_qemu_st_i32: tcg_out_qemu_st(s, a0, a1, a2, TCG_TYPE_I32);