From c6006c8f3911afb91384568ee7950a59c2e5d3bc Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Mon, 15 Jun 2026 01:53:03 +0100 Subject: [PATCH] Only set machine when not in long mode --- intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intel.c b/intel.c index 9c01213..0f24e60 100644 --- a/intel.c +++ b/intel.c @@ -2033,7 +2033,7 @@ static void handler_model (char *start, char **pp) { state->data_size = 0; state->model = 7; - if (cpu_arch_flags.cpu_386) { + if (!cpu_arch_flags.cpu_long_mode && cpu_arch_flags.cpu_386) { machine_dependent_set_march ("i386+387"); machine_dependent_set_bits (32, 1); -- 2.34.1