target/m68k: Check for USER_ONLY definition instead of SOFTMMU one
commit6a14058677dd2af838f0b2daa9896ce569259a57
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 13 Jun 2023 13:33:41 +0000 (13 15:33 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 20 Jun 2023 08:01:30 +0000 (20 10:01 +0200)
tree4f04f3c56aa5be315f86c65c1a257b4cf47a1c74
parent66352d7ef2e304047006ee1e2dab08d01518f1c4
target/m68k: Check for USER_ONLY definition instead of SOFTMMU one

Since we *might* have user emulation with softmmu,
replace the system emulation check by !user emulation one.

Invert some if() ladders for clarity.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230613133347.82210-4-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/m68k/cpu.c
target/m68k/helper.c
target/m68k/helper.h
target/m68k/translate.c