From nobody Sat Nov 15 19:25:52 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1748189009; cv=none; d=zohomail.com; s=zohoarc; b=ARA6PoEMRREqIOwDV7BM5mbEV9CqPY0wYSZG3TCAVcHHFpsKaKVbvvlemqKVDEXi5F4k4+PwvK6TMHMecg6d+ysLJ2bluuIgl7R9WCG9BsvUIEcyAIqyes6vJQjzuhWTvUijLRSJGwFQexT3nHcDafwEgZ+cqwHRTq44M7BQ1Pk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1748189009; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=gQn6nujfDXJziLVy4jFPVSDzZo2UJbaBzGcbgRQnjJU=; b=HPNidVKdw6HRxXIyG/42zYSzpGyVlbky9yYcHK1dy0JBnn0cFNbzxJ6SWq/qfubYNXzEANYglv+7m9p57V0xXt0I47Bx2k8a20O084Ep1Q22FyJvS5zlkQhcs0U2B6z5hgHtDT60NuohR+52yNFEZ60VHRgB843Yk+7evdjwUbE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1748189009432906.4208850469457; Sun, 25 May 2025 09:03:29 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uJDoK-000201-J9; Sun, 25 May 2025 12:02:53 -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 1uJDo9-0001pd-55 for qemu-devel@nongnu.org; Sun, 25 May 2025 12:02:41 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uJDo7-00037P-GW for qemu-devel@nongnu.org; Sun, 25 May 2025 12:02:40 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-442f5b3c710so14753125e9.1 for ; Sun, 25 May 2025 09:02:39 -0700 (PDT) Received: from stoup.. ([195.53.115.74]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-447f73d4a3csm215772545e9.22.2025.05.25.09.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 May 2025 09:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1748188958; x=1748793758; 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=gQn6nujfDXJziLVy4jFPVSDzZo2UJbaBzGcbgRQnjJU=; b=PZPEefaJnr5EdNnxJ8jod2N6nPwHC9eU2NTvMIZu11JNFEC++UC7gdI+Sk6LFXHtBT 10LJ2ApOgApPXhz9lBt4p1YfWewHBXkfXci1tDsX+cxljPXb027oagIV7h4WOfqP/XEi F/8PaewSJpAlEeM5i+74ZJ7tFO2suWG6IY/BiJhbun9G5F7I8Z3NyaWcgitBn43mkHiF 3RT5l5i3X1j4RlCUGnrobk0Ob0sYwssGmHBpwQ6oScpiO1yfiX7bh3Bzu4AV3+6kHogh LwzW9fo/iAkx0FGo9LzgxedtNRLPWOKR88kOIefd3qFXOpP8h0JZVvcqzV9zRY9L1H8P jM7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748188958; x=1748793758; 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=gQn6nujfDXJziLVy4jFPVSDzZo2UJbaBzGcbgRQnjJU=; b=wVzQoY9Wpu33Q5wFQolRSXZ8t3s0lbwWFgJvuw4F8sMGxBivlHaXBKFjWmI2bbgc4W Hq56uuT1pEJe/ClUb5im/bcPmdqO99rw9bGLktQHt48tWtNBVtlp7vBZWb/cHYpeFntR 9lhKAX9NEajhctHMIKRsqTzAyzR5gT803VPMEzs6z8awz+gC44XwUTxK8LjK0JcAHdI7 yXi+1lUWH5LTpSGf9ZbCN1ysS0EAr9kTapQz9iT+9mz85nGvQakWK1EDctR+vgZ6pM/u nYLhmPIrOg7PzjAJhO11YHQfPXvWASvJTXrPFudIKLa9B7gEmSP1Dwerp9dhb6zGe8Pl FISg== X-Gm-Message-State: AOJu0YwtPVSirxlfT4NevBUJyTtU4eFFoIIZpQHm6VQjKAZQ9XDEQVOS 0feI0lnfU7TDBo4Wog7wV5hbysunhDvIpwel3wQnYyyRSkoW5zbpLmB7IQywzOTbrfoYocO4Mob xYJDUHR0= X-Gm-Gg: ASbGncsuTMeW8BYolk+4Ni2QVsGgaJVe/bKWNcex8JACxKKTdxx5cVByJxCK2a8f6M3 la/3ByBHwHp+g71vxbIs/OG8q8WgxLbTJtjtIY0C9xvPYO722D76Ek/bQ0gQzwN67ayAqWkduyf wYSStOJXA4dj4LrxiVsf9AeK0fxWdI9tQ07nrFIaeiDuWHgySKxK28q76JW1KO1IceB1sYBG5vi Wv93b5rrBZat+8XnY9c9d2sPyDaWkJe/807kdO6mRrk+5eCsU+NyweaMlBFZP5ykuQm0MHbtfJL cFR1iGVCNuksnoWSehv83C1SbGAvq5/RXgn2yplF8G4eZxmFXihNiRZL X-Google-Smtp-Source: AGHT+IEI2Wnh+hLBuUAu6qaKL4PJLChM+Hzmv8sJreBjs9OuyxU19XJ1mlX9bDQF/axqCeiirjDbkg== X-Received: by 2002:a05:600c:1d0d:b0:43c:f44c:72a6 with SMTP id 5b1f17b1804b1-44c9160702fmr60834985e9.2.1748188958114; Sun, 25 May 2025 09:02:38 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: edgar.iglesias@gmail.com, philmd@linaro.org Subject: [PATCH v2 08/10] target/microblaze: Use TARGET_LONG_BITS == 32 for system mode Date: Sun, 25 May 2025 17:02:18 +0100 Message-ID: <20250525160220.222154-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250525160220.222154-1-richard.henderson@linaro.org> References: <20250525160220.222154-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x330.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1748189010959116600 Content-Type: text/plain; charset="utf-8" Now that the extended address instructions are handled separately from virtual addresses, we can narrow the emulation to 32-bit. Signed-off-by: Richard Henderson Reviewed-by: Edgar E. Iglesias --- configs/targets/microblaze-softmmu.mak | 4 +--- configs/targets/microblazeel-softmmu.mak | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/configs/targets/microblaze-softmmu.mak b/configs/targets/micro= blaze-softmmu.mak index 23457d0ae6..bab7b498c2 100644 --- a/configs/targets/microblaze-softmmu.mak +++ b/configs/targets/microblaze-softmmu.mak @@ -3,6 +3,4 @@ TARGET_BIG_ENDIAN=3Dy # needed by boot.c TARGET_NEED_FDT=3Dy TARGET_XML_FILES=3Dgdb-xml/microblaze-core.xml gdb-xml/microblaze-stack-pr= otect.xml -# System mode can address up to 64 bits via lea/sea instructions. -# TODO: These bypass the mmu, so we could emulate these differently. -TARGET_LONG_BITS=3D64 +TARGET_LONG_BITS=3D32 diff --git a/configs/targets/microblazeel-softmmu.mak b/configs/targets/mic= roblazeel-softmmu.mak index c82c509623..8aee7ebc5c 100644 --- a/configs/targets/microblazeel-softmmu.mak +++ b/configs/targets/microblazeel-softmmu.mak @@ -2,6 +2,4 @@ TARGET_ARCH=3Dmicroblaze # needed by boot.c TARGET_NEED_FDT=3Dy TARGET_XML_FILES=3Dgdb-xml/microblaze-core.xml gdb-xml/microblaze-stack-pr= otect.xml -# System mode can address up to 64 bits via lea/sea instructions. -# TODO: These bypass the mmu, so we could emulate these differently. -TARGET_LONG_BITS=3D64 +TARGET_LONG_BITS=3D32 --=20 2.43.0