From patchwork Wed Oct 18 21:51:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 735121 Delivered-To: patch@linaro.org Received: by 2002:adf:f0cd:0:b0:32d:baff:b0ca with SMTP id x13csp1227355wro; Wed, 18 Oct 2023 15:01:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHbt2BUOpe6o4bfBe5n439IWeGAkktf/Zfh9MSJ5ODro3DvuaoJZrR7/OQq+EHHPyU4Uavz X-Received: by 2002:a05:620a:2484:b0:773:be19:dcf with SMTP id i4-20020a05620a248400b00773be190dcfmr470063qkn.49.1697666513020; Wed, 18 Oct 2023 15:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697666513; cv=none; d=google.com; s=arc-20160816; b=zcfrtWZJmS7doKlEFNrxveTDnnpkOsMn7t71bY78OK4c48dFgF3/P3jFwNbfRgnbSV ESZ4R5LE2HN7fWeyIdNRBQzZbBsqMWYf4LrEBy1+ZQRxsUgUJIFitq4Z2qSDH7tw1gyk cZjDHNqjnuflAIgxfWdu+MdqKqh+JRLoZg/8uAMKWNv/eVqEmFlYjXjctQxL+/1xoT1I PMPBlFXrRLC+Ojp1vwPujFHkcKI0HDtNKF0wluZ2dqW3gdcJ9G2fXWiw7zroKExOIyUT 68CkFNRNCMxB1Tpg1CfYpSJvRYcRLTN2QQ3Wypt0Vpb+KiU/5U1FdfETLSNkFQ94xORb x0bQ== 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=fmtUHmtXH5nM9zU0wQnJIph+Od9hcdbRCgT1SyGzFJs=; fh=f2WZoDMBYjCKWIIOoPI+rQtxlv4fmOm4u+dLdQLqpOk=; b=vdFIgpPpyI/Yca9eAHrP4b20+xEAQrsnOp54TxZDBqnHAPnBvdSmtM7hkQpMmkqW4e DEvjmgf3L8nZIEqXMVSfYmIK0U1tjvvmhk3QyEWt8J7RLxaTGk5mD73yuygv6bLTyRX/ Ik3vKtmNMF1eb69wx1g/+NryzyLRn7DPyq8PbRSFdmd6dKE5QynQ2HvTXlumjG+4Vntr RFI8pL+R6y8lI1cqU0eVK6VaXRF8h9aaHq8M15fZaTY5jFOFftxZZLWjgH6PuomQoRnQ ZuGFfVGMuLi6SqN5XfaFdtFidyfQcMXF6LJF2xO9hQumEIL2keHEme05Oc6ZH1lBSqdX IWOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ufqo76M3; 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 br35-20020a05620a462300b007777245ad07si637020qkb.480.2023.10.18.15.01.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Oct 2023 15:01:53 -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=Ufqo76M3; 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 1qtEVr-0002Y7-SH; Wed, 18 Oct 2023 17:55:35 -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 1qtEVn-0002Kb-4i for qemu-devel@nongnu.org; Wed, 18 Oct 2023 17:55:31 -0400 Received: from mail-oo1-xc29.google.com ([2607:f8b0:4864:20::c29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtEVl-00059R-Ld for qemu-devel@nongnu.org; Wed, 18 Oct 2023 17:55:30 -0400 Received: by mail-oo1-xc29.google.com with SMTP id 006d021491bc7-57b68556d6dso4072750eaf.1 for ; Wed, 18 Oct 2023 14:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697666128; x=1698270928; 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=fmtUHmtXH5nM9zU0wQnJIph+Od9hcdbRCgT1SyGzFJs=; b=Ufqo76M35ipkczg50/t8lsFqkadgAVTnQVfWGfj7AMGPqGj66jNJLrl1eearz/UVyv IuZy9CejOQCNPUksCmxmuhf5ktljo5a0NkObIuuyqEfbHolNprpSLXqAQcBcDcw8o2dT RfUpY9nz2UM7wMvIc6Pf3wSkl7o2zKeHVSo4JoCjq0WT6THXRHowir3nUrtN+2AGUbrq mNUNlWCSp0dqqgVEWfy7rqjgvoSGaeejEIMh/9JUZUPotvSfn07wFBIg6eaYbuFMrr6P LUozrkCq8FxBz/Jhjb0QDzxwhxfp6wjOEiepPSOSFNvM2TK5ip6lSVo+bRk4KJpZgDvR Y2IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697666128; x=1698270928; 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=fmtUHmtXH5nM9zU0wQnJIph+Od9hcdbRCgT1SyGzFJs=; b=erjj+Pb/2F22DXvSOSdWPjIVkuO4wd6D052h9mpOVdKHYCiYbg7fWRT+G+FMZtAWf0 cX0+jYhmxsK9baha06yvTjoFSIur5Utu+srHQhb/3htOhKbzg6L2l7IpfJt+88Zmv7Jh dg45Q0cAdqLUx4THkfehMxVSgWQ1hsSRUdUtE2H/wiaor/hZbeAu1vE1l6ZK5KRE1+FO dUsnZ7Wfp+HxYKjuA6uZr8BEtqwuFQM/e2bYy8u2AfEbCobIKJm5AoUZ8WQSM9SPrKOq JuW2zJPQAgGLd99Q2z44+vuY4S3O20bGzJlvBCLKcwl0HXWlWthaAnQbNSXM7yrNVFNF 7zyA== X-Gm-Message-State: AOJu0YzHO1HcTnMWRApKlOa2BkBAHQ2VVcUvlDYLUKWQWEkOkwJUIXvU Koyn1vet5rYgRzeqFz8p0k/X9xpTbyBtejjk4Cw= X-Received: by 2002:a05:6358:f54:b0:143:5180:1700 with SMTP id c20-20020a0563580f5400b0014351801700mr274518rwj.27.1697666128380; Wed, 18 Oct 2023 14:55:28 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id r15-20020aa7962f000000b006889348ba6esm3796263pfg.127.2023.10.18.14.55.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 14:55:28 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH 60/61] target/hppa: Return zero for r0 from load_gpr Date: Wed, 18 Oct 2023 14:51:34 -0700 Message-Id: <20231018215135.1561375-61-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231018215135.1561375-1-richard.henderson@linaro.org> References: <20231018215135.1561375-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::c29; envelope-from=richard.henderson@linaro.org; helo=mail-oo1-xc29.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.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 Signed-off-by: Richard Henderson --- target/hppa/translate.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 9a9876c529..a9e0e1706f 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -307,9 +307,7 @@ static void cond_free(DisasCond *cond) static TCGv_i64 load_gpr(DisasContext *ctx, unsigned reg) { if (reg == 0) { - TCGv_i64 t = tcg_temp_new_i64(); - tcg_gen_movi_i64(t, 0); - return t; + return ctx->zero; } else { return cpu_gr[reg]; }