projects
/
sasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3be1a0c
)
Switch to 387 when flat model is defined
master
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sun, 22 Mar 2026 13:31:31 +0000
(13:31 +0000)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sun, 22 Mar 2026 13:31:31 +0000
(13:31 +0000)
intel.c
patch
|
blob
|
history
diff --git
a/intel.c
b/intel.c
index 6893de73bba69db7ca8bd2dada6fc204873ec157..b4e59e1984d80f1a3d84af6553836a0df5f08461 100644
(file)
--- a/
intel.c
+++ b/
intel.c
@@
-2034,7
+2034,10
@@
static void handler_model (char *start, char **pp) {
state->model = 7;
if (cpu_arch_flags.cpu_386) {
state->model = 7;
if (cpu_arch_flags.cpu_386) {
+
+ machine_dependent_set_march ("i386+387");
machine_dependent_set_bits (32, 1);
machine_dependent_set_bits (32, 1);
+
}
} else {
}
} else {