From patchwork Tue Nov 7 03:03:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 741853 Delivered-To: patch@linaro.org Received: by 2002:adf:fd90:0:b0:32d:baff:b0ca with SMTP id d16csp1422453wrr; Mon, 6 Nov 2023 19:17:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFW8zKQHh4OD8nkSEQegQt40HtHfWf6X4RgWQ5OeoPQaxZYFzlz1x/xEiWfJbjR5X7aVg0V X-Received: by 2002:a05:620a:808c:b0:777:3bd:9774 with SMTP id ef12-20020a05620a808c00b0077703bd9774mr27102589qkb.27.1699327029584; Mon, 06 Nov 2023 19:17:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699327029; cv=none; d=google.com; s=arc-20160816; b=VDIJQfMO6q2KuTwFbPid8d6x/IvnNHtLA4KmUVr2E/08FFLROFjXzqnF7gBXAyHC+v JTvvYAkD0d07ut4+y2ht6udIMgPcqysTW793W50u7HgNeyJZIhj93o3ty0fG8/OjhGzQ kLrkwH2kJfc/ljtaB9pArwXQyh+MXg514grQFKF5Pzw7ZWvtBaKWER2oyXf/qcNMDxBG 1PP7ddiQtg/1khTN5IxdbvbaxQDO0IYyZCBL61kxR8qL5SpwIEckRSQfm9ZupUfXllDe tfZpghmlhaXKNG+UwMU0TEnFFfOfxmrQJnxDjA4QjT1LVRE60lVe2RZgR6DSRIOGcBjm IULA== 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=w6nb5z1bOhjJXS74t913bHs6v1Hgkf4qLkO9s5h/keU=; fh=kQadAhxV42GJ3cd2VUw1RyURv/zJQGvmUdF7iLEVTtc=; b=DOG2QIhpPrWHZystXWF1FHyy5iJDl14B/f4eBo5gLb//NEpwIiPGceSNOpGbmLIUuu /tRLyNbo5O5x/9BBfuF1isdeJ1vhAo21uMzxZlWdddgmXugBeoz2icEBp6Pcnrqvhw+W GvOlw2mg9ehA88KnGTL6rkp6E8shkqplB6octRPzaciUbSfgUupdtDuygmw5fRFIpjqB aaxm5oLS9cxd/KBEEsz5bk6FrOg1NnnNPw0rIhn48ZDMlXqqwcwR0bwuZ9BfP75VVHHV XCo6ZzzUp0NuehH5njQzmMjt8a+DutM+oOmz8NCjkd+T4RDgl9aRufaR3HVSdSe1i1Tw Wbqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FOZrriYi; 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 dv9-20020a05620a1b8900b00779ee7f72b6si7093512qkb.135.2023.11.06.19.17.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Nov 2023 19:17:09 -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=FOZrriYi; 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 1r0CRs-0005gt-0h; Mon, 06 Nov 2023 22:08:16 -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 1r0CRj-0005A9-BW for qemu-devel@nongnu.org; Mon, 06 Nov 2023 22:08:07 -0500 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r0CRe-0001Qt-Aj for qemu-devel@nongnu.org; Mon, 06 Nov 2023 22:08:06 -0500 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6bd0e1b1890so3930463b3a.3 for ; Mon, 06 Nov 2023 19:08:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699326481; x=1699931281; 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=w6nb5z1bOhjJXS74t913bHs6v1Hgkf4qLkO9s5h/keU=; b=FOZrriYi4FWzG9aE7/e/a5o+EBUQdqp8rnzASn93DbuZyxPE6YelnNLIceydzaIEHE UC+EwmCQtKTIp8kcT6YrjMKuLse89m7G8X4d/nj3Qevuqg5fGUUpF1xjYiqfPz4lsU4n bLsGggB3n2PTcTIiQYmqMhwQTdOH1KJZ9ndEUXsahyBjR35TPR4kFPjzCwjs4joNW0MS NzYcA9E4lCoJ8+Kh3aZu4byDJ4euoUWFDR6cG6Slm1BgUnSHX5mp+1kQxbuFu5dnaINc cvw1KD6jHnKhKZ13c4cOseLOO6CnsEBuZWlJyAICGNBV5/3J3pPUUjExyj1sHBpPwBhl Qipg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699326481; x=1699931281; 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=w6nb5z1bOhjJXS74t913bHs6v1Hgkf4qLkO9s5h/keU=; b=k0tO44uJZyhbToE6S3qud4uPACtRNh2R64wErYiQEZSGRZL5LS7jaRLCdaGzE6mVqs Jb1dl1bH1mFI/H4U09YXLT/vr7YkyNW2UriJTRV/jY9+8WX20VuTAjAvazwDeucM8quP llpjJ+lLHnX1yqDez+9UVuQI3mnsOlzuf/dOngLX1gTMquhgIQfMAj6JxxNBhCNUaaV9 zPitjtCR4VtIgo/DPWfPqql3TeUt3eb6C5BIBap3bvSx+Y/VGPag+49mexWUYbZoitxA Lc0hFfkFK0L3b8L+EdyCMkFTNplvbs3OzDaStA18U2zc01ZWUXRcNzC53hg/ZD+Jo8Yb cCqg== X-Gm-Message-State: AOJu0Yz7IdUA8/lSoG+Eua0gR5WCL5R+gZH7mczUxhzDYncVw77/Um25 ja031wXnBFx8cme37ssO7ElOm1XHba0ff6532dY= X-Received: by 2002:a05:6a20:ae17:b0:15e:986:d92b with SMTP id dp23-20020a056a20ae1700b0015e0986d92bmr18605217pzb.16.1699326480850; Mon, 06 Nov 2023 19:08:00 -0800 (PST) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id 13-20020a17090a004d00b0027782f611d1sm6744883pjb.36.2023.11.06.19.08.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 19:08:00 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 70/85] target/hppa: Return zero for r0 from load_gpr Date: Mon, 6 Nov 2023 19:03:52 -0800 Message-Id: <20231107030407.8979-71-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::42c; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42c.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 Reviewed-by: Philippe Mathieu-Daudé 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 b04a5bc444..ba15cf6ab8 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]; }