From patchwork Tue Mar 19 06:28:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 781068 Delivered-To: patch@linaro.org Received: by 2002:a5d:46c1:0:b0:33e:7753:30bd with SMTP id g1csp1777613wrs; Mon, 18 Mar 2024 23:29:44 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUsjgjlQ/HgV3KiCpsQRsBQYnElhBxf4TrdQidyDdW256I73ytr4ADOYbrzthVvIjLTWoc3cyo09qaTpAZhtfiO X-Google-Smtp-Source: AGHT+IFBjDxnzl6jTVJcSdWZOLIVAxh4FoT8ZbwAfz9SjJZhkRU/5bYTf4Xav1XKBoyTzhPOAVGG X-Received: by 2002:ae9:e70f:0:b0:78a:883:1752 with SMTP id m15-20020ae9e70f000000b0078a08831752mr1780050qka.71.1710829784659; Mon, 18 Mar 2024 23:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710829784; cv=none; d=google.com; s=arc-20160816; b=hxpesmjVTj/ReikXZs3IU73J4/+VM3aYrItT/fB5SLgp2rxJWiJsJ+t9iOzoaZPML9 z7lyj6G3CJOPTEmZCb4kMIKd64x/Gtclnt12H6ug47/JI8T2qszWeQ2ARVqBb1SCCQB0 UrMcJ81zCC06FDRBiRqVap83ZZDd/xtalzbORoEKOPjI7KDSJTs82uwfVm9Jeo90fNn9 7mspS94AmRQ/drNbDn7tZ6g2SvijlgkZ1UUoUrMcG2mm4w1wn+h/+tD5WMfAFCkb3dwI /XaMtxOd4BUdoyZrqgEmsIwm1aNEsHpxpE5PBBaEi0PlyqZhPUSrDD/3XLSu9Wn+IVr/ tzPQ== 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=OUMu/SnjGuIrmF5U5VN8reZH7HV2LtE5n6DxI3xZ0h0=; fh=gePD3z8dMUYjJ8/ZZTN9tznSOiGIRTnAzPrBTUj0xb0=; b=rNAP0g+lAObHRU3T575mZz8inn3xdTg9BWeLh83QyKcJy09cIaBu9oTlpgdvHDDB7o Ws1ArbmuFYt8HisbAl5orrI6naXE2BOyCrZN407XXjIg609ZPF9NHe3LAJVJGCcmj/Hc mXIS8YNQ1pZgRNUrOZnJmgeIz7mTaBrxPyq+d448ualU99Sloy/e5QrDqgINbuF/5oqx aaGVg5fZ3RFAVfAzrpj4gn251k7Zl3JASlh+eawzAi8Uns2uZcjG6+LQLoCa6WXR6PO1 me2eLKeAWGfsiI/I+JY0mOHeCtfzZdyYdNbkDpW8v3t9uljuxOgBRNHG0nMBGLIG1juY YyBg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=plwc0dqH; 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 q19-20020ae9e413000000b00789e94fc666si7591531qkc.42.2024.03.18.23.29.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Mar 2024 23:29:44 -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=plwc0dqH; 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 1rmSyW-000596-Et; Tue, 19 Mar 2024 02:29:28 -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 1rmSyU-00058R-7N for qemu-devel@nongnu.org; Tue, 19 Mar 2024 02:29:26 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmSyQ-0005dh-MC for qemu-devel@nongnu.org; Tue, 19 Mar 2024 02:29:25 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-41461c256c4so5249425e9.0 for ; Mon, 18 Mar 2024 23:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710829760; x=1711434560; 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=OUMu/SnjGuIrmF5U5VN8reZH7HV2LtE5n6DxI3xZ0h0=; b=plwc0dqHA3AAP69WtK89dB9Fxl5671UXEgvyOfgBFEuM0sSHjjO6kydLN/MTb7/a/X 0ir43r0E7gUd1AE7+rb8cykUPLCD2uFq3Osqtt8MDpy7pUOb7EbV6KRXR8MlsIpcVlq0 X4k87UCgvJUf1xMhudJDZ/kuK9UuAIV7UnBYPkt3nA9aUiH0FfVl92B3hSjf3c6Gp5+H VfFnW+b6nUfbKCQu3YVv9xXCp1WtM2gOUfYSCdcMTQ+Ut+wkW1T2M3cT0MbHtqPRcwok U+NONCg1rZS0QtFk2alGozJV599qc/Dsx+eHv2+apNM9DcJ7gCbMQ71SC0lyHXo7oWA8 NlHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710829760; x=1711434560; 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=OUMu/SnjGuIrmF5U5VN8reZH7HV2LtE5n6DxI3xZ0h0=; b=nJ2Cxc3UT3ABm8JAqQiy7636BR4ikjJGJ71BpJorZVsjhKo6htWxvIodDfKtzAdKYl peoeTqMcZEqHXCcFT+BGQvMcT+FkRTWT290OC25lvNCfxuUj9kxitGAZtnkVczcf+BxF Y9ZIZdSXgIfDzxSnEidZW19QEiVKpLF1msmF82khYL347Zext9QkD4jTcBoiU76017xZ ZGcxhGbBPoGCZNANZNfEh1FfBWBvHB+6HxuiMUqf1y/QssUa5xyN1tJPEICoeX8Qtrid Upb5Yrh8WPLDhcVMCYJw28DcUS/GMgj4s+EQ0XVXXOpHwNG4UOUJuK3Uu3lzieMGmkCm s92w== X-Gm-Message-State: AOJu0YxkaPKkX0mU5Jna9y42nTpyPVFS0cjkJr+nTh3pdhLFGCH0KkNI wJYMidIS5cA+zyKS/oBjWuD/+h5YUXcgcGO+cXquvxqX1cAcFm7PdBXSmpyfzs8Hp/KTO9m0Moc A X-Received: by 2002:a05:600c:5494:b0:414:624c:aaf with SMTP id iv20-20020a05600c549400b00414624c0aafmr866477wmb.35.1710829760636; Mon, 18 Mar 2024 23:29:20 -0700 (PDT) Received: from m1x-phil.lan ([176.176.166.129]) by smtp.gmail.com with ESMTPSA id t6-20020a05600c450600b004133365bbc6sm20189118wmo.19.2024.03.18.23.29.19 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 18 Mar 2024 23:29:20 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , "Edgar E. Iglesias" , Laurent Vivier , Anton Johansson , Alistair Francis , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH-for-9.1 4/8] target/microblaze: Use 32-bit destination in gen_goto_tb() Date: Tue, 19 Mar 2024 07:28:51 +0100 Message-ID: <20240319062855.8025-5-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240319062855.8025-1-philmd@linaro.org> References: <20240319062855.8025-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=philmd@linaro.org; helo=mail-wm1-x331.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 cpu_pc and jmp_dest are 32-bit. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Anton Johansson Reviewed-by: Edgar E. Iglesias --- target/microblaze/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index 4e52ef32db..d6a42381bb 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -121,7 +121,7 @@ static void gen_raise_hw_excp(DisasContext *dc, uint32_t esr_ec) gen_raise_exception_sync(dc, EXCP_HW_EXCP); } -static void gen_goto_tb(DisasContext *dc, int n, target_ulong dest) +static void gen_goto_tb(DisasContext *dc, int n, uint32_t dest) { if (translator_use_goto_tb(&dc->base, dest)) { tcg_gen_goto_tb(n);