From patchwork Tue Nov 7 03:02: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: 741804 Delivered-To: patch@linaro.org Received: by 2002:adf:fd90:0:b0:32d:baff:b0ca with SMTP id d16csp1420209wrr; Mon, 6 Nov 2023 19:08:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvM2fdpZ6dJt8II6/3uTcRMPVy7grzMAayTuY15OlSYzXY7v5MMu5hu2i+AC+GOtts4zhQ X-Received: by 2002:ac8:7d8e:0:b0:41e:1d15:69a6 with SMTP id c14-20020ac87d8e000000b0041e1d1569a6mr39558134qtd.31.1699326519462; Mon, 06 Nov 2023 19:08:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699326519; cv=none; d=google.com; s=arc-20160816; b=eqb9n0PjKluMPVgRYIQWW+xKGPsqORIsDFDmQ3aNKU1LjHVG6G3OYXP/2U36Wqejj8 kDnbt+DjVoFFAmB3n/iReyP+xzaMpObozMNPuD5segE5uJr7J8/girui0h3aINzTM0Fm b5TpiBmNljLgA5HqbGq1RV67SnVSsN2AMnx+rdm12NloYdqX4dWmCewLjAwZGbmizvb/ ITSU2RMYkgDzAItEaB+g0Dveo47X/N40wC8qkBEkSI5jsm7Wxlzb0ocgSx4Ad2Ei0PyK VJjG6FnaacK8fTERP+UNQPmcJYcZc5cF8id/68DmbvL9/C1D+0Zg85v4iMjQjUyEjjxP 0qew== 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=FgvfDwyIoGSK++AEaNdMmfoRCVSVHMXHgiFS4BjrPMw=; fh=kQadAhxV42GJ3cd2VUw1RyURv/zJQGvmUdF7iLEVTtc=; b=QK1u+rCt4sVAVKCDBLgblJDPPSoHcN4zj5ODnEAJJX6ASN0Q8mlN6GDdq8WbBu8l9p 6jSXHPmtwUMANHdlBlerrU9EdHnKsGNnDrpW9/bIKsaud6MGtybHFA7DPY3NuQrtdKEj X359Iru8TynPqBXzoBLLsdiPXFrywxOgAx9uRB25Jgk5247xIGjBY6kmhwcxaFjTbhEU BtbBP89wmn4EFadB2Zj1Nr4/ynFiqwm85uAA6cTWPRnCqr8VmBZGjJ5f2kCcweD2B8zI BucHZyiasTHvmRLLbyu2Qa/6cl1yD+SIl1rQxmiLOPyO9+x8hnOx1C4CP+TePuYrSw9l qztQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="n2M1CqT/"; 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 c13-20020a05622a024d00b004181c820bd5si6906593qtx.490.2023.11.06.19.08.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Nov 2023 19:08:39 -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="n2M1CqT/"; 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 1r0CP3-0007nP-DD; Mon, 06 Nov 2023 22:05:28 -0500 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 1r0COL-0006fa-Dc for qemu-devel@nongnu.org; Mon, 06 Nov 2023 22:04:38 -0500 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r0CO4-0000eJ-14 for qemu-devel@nongnu.org; Mon, 06 Nov 2023 22:04:34 -0500 Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-517ab9a4a13so4027704a12.1 for ; Mon, 06 Nov 2023 19:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699326257; x=1699931057; darn=nongnu.org; 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=FgvfDwyIoGSK++AEaNdMmfoRCVSVHMXHgiFS4BjrPMw=; b=n2M1CqT/Ujz87SnTW2FineHWiWCH8ypSe/WODqijJgSc6izvfxXX4K3Jv8nP/blrxX sGSq56CQupQ7jy4d2eqp8YXeGNhma/xFVLVoePGHhB8Cgry2pkUFWlfFG+T+YOznI2sH Ukkkf2dTk4gMfsVqiWaZOOr4GXKK8Tv/zMBdOa6RaGDcQU9XPKU5gnqp+kqBtoCp4ejq xcAFKyv2fEWAZRIWncjlm4OEyMHw/UPN7bXwX/vdRdNNasly9FbFpCgTdiMPtJXOxQ+J jykMz6Qa+djnnHXQ4EKkI0cAJiZvb0FAYtQ8ykuSErizNUiqUJtEx+y00zkOmuaDVUFd KlOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699326257; x=1699931057; 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=FgvfDwyIoGSK++AEaNdMmfoRCVSVHMXHgiFS4BjrPMw=; b=qhskNjHKXQrM2nJWojBnSAXHrXUYHlbnIhRduGBy0ejhHaUKdbClyY0ZEPP317nA/2 bG6+pZ1wftfB3Vn2iDgeaO+0DqwD0VdMMyBfG+aZCLiidzdMe0qVnO0+5Ea9nPtUX+ck p4di1XVtYupcSkKEiy1eAKgTAyO+Sg++WokObWOetGDzi1tAmFuNytbsJvu+dOWIUH0/ hRFJDV+L4iygEMqwnniwEl/F1GVYTqhGnabFb56TdlUoEJ4phPmxA5V7kJM6mrKtQH9O 8UUJv0Zvtt46MOTm5BcEcFutiQHsclbEpubokJ+Dk0U6WoC+HpCWMb4oekqlAGqvN/c3 16Fw== X-Gm-Message-State: AOJu0YxmTJkTSk6T+dpIQ/8Eqg89U2hM6gB/WM+W5uD2af9+L+5Xokcn eGFfCLSxZ8ZmSk9RRxC5lIrnntiN7r9L5mZ2pMY= X-Received: by 2002:a05:6a20:2589:b0:16b:c20d:f979 with SMTP id k9-20020a056a20258900b0016bc20df979mr36753973pzd.13.1699326256971; Mon, 06 Nov 2023 19:04:16 -0800 (PST) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id u9-20020a17090282c900b001c72d5e16acsm6518012plz.57.2023.11.06.19.04.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 19:04:16 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 11/85] target/hppa: Fix load in do_load_32 Date: Mon, 6 Nov 2023 19:02:53 -0800 Message-Id: <20231107030407.8979-12-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231107030407.8979-1-richard.henderson@linaro.org> References: <20231107030407.8979-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x531.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: 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 destination is TCGv_i32, so use tcg_gen_qemu_ld_i32 not tcg_gen_qemu_ld_reg. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- target/hppa/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/hppa/translate.c b/target/hppa/translate.c index c8384fccd9..20e44ed528 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -1430,7 +1430,7 @@ static void do_load_32(DisasContext *ctx, TCGv_i32 dest, unsigned rb, form_gva(ctx, &addr, &ofs, rb, rx, scale, disp, sp, modify, ctx->mmu_idx == MMU_PHYS_IDX); - tcg_gen_qemu_ld_reg(dest, addr, ctx->mmu_idx, mop | UNALIGN(ctx)); + tcg_gen_qemu_ld_i32(dest, addr, ctx->mmu_idx, mop | UNALIGN(ctx)); if (modify) { save_gpr(ctx, rb, ofs); }