]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/microblaze: Use TARGET_LONG_BITS == 32 for system mode
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 12 Feb 2025 21:37:39 +0000 (13:37 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 28 May 2025 07:08:47 +0000 (08:08 +0100)
Now that the extended address instructions are handled separately
from virtual addresses, we can narrow the emulation to 32-bit.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
configs/targets/microblaze-softmmu.mak
configs/targets/microblazeel-softmmu.mak

index 23457d0ae652c94a02a84ce8763199a0dcb03df2..bab7b498c240236724f3a90e59c1b5963815333b 100644 (file)
@@ -3,6 +3,4 @@ TARGET_BIG_ENDIAN=y
 # needed by boot.c
 TARGET_NEED_FDT=y
 TARGET_XML_FILES=gdb-xml/microblaze-core.xml gdb-xml/microblaze-stack-protect.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=64
+TARGET_LONG_BITS=32
index c82c509623d7b9acb5b53b375c577a9e9a28a99e..8aee7ebc5cf5e629060755146b3e7fcda465250d 100644 (file)
@@ -2,6 +2,4 @@ TARGET_ARCH=microblaze
 # needed by boot.c
 TARGET_NEED_FDT=y
 TARGET_XML_FILES=gdb-xml/microblaze-core.xml gdb-xml/microblaze-stack-protect.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=64
+TARGET_LONG_BITS=32