summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_m68k/host_missing/accel_missing/2499
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-01 21:35:14 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-06-01 21:35:14 +0200
commit3e4c5a6261770bced301b5e74233e7866166ea5b (patch)
tree9379fddaba693ef8a045da06efee8529baa5f6f4 /gitlab/issues_text/target_m68k/host_missing/accel_missing/2499
parente5634e2806195bee44407853c4bf8776f7abfa4f (diff)
downloadqemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.tar.gz
qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.zip
clean up repository
Diffstat (limited to 'gitlab/issues_text/target_m68k/host_missing/accel_missing/2499')
-rw-r--r--gitlab/issues_text/target_m68k/host_missing/accel_missing/249930
1 files changed, 0 insertions, 30 deletions
diff --git a/gitlab/issues_text/target_m68k/host_missing/accel_missing/2499 b/gitlab/issues_text/target_m68k/host_missing/accel_missing/2499
deleted file mode 100644
index 19ff522d0..000000000
--- a/gitlab/issues_text/target_m68k/host_missing/accel_missing/2499
+++ /dev/null
@@ -1,30 +0,0 @@
-m68k: fpu: fsave/frestore should be enabled for 68020/68030
-Description of problem:
-valid 68020/68030 code can use `fsave`/`frestore` instructions to save/restore the state of an external 68881/68882 but currently QEMU only allows these instructions on 68040 and everyone else gets an f-line exception.
-
-I guess something like this to allow frestore/fsave. m68k programmers reference manual says they are 68881/68882/68040 and there don's seem to be any differences.
-
-``` diff
-diff --git a/target/m68k/translate.c b/target/m68k/translate.c
-index d5d2322329..92dc9d8563 100644
---- a/target/m68k/translate.c
-+++ b/target/m68k/translate.c
-@@ -5455,7 +5455,7 @@ DISAS_INSN(frestore)
-         gen_exception(s, s->base.pc_next, EXCP_PRIVILEGE);
-         return;
-     }
--    if (m68k_feature(s->env, M68K_FEATURE_M68040)) {
-+    if (m68k_feature(s->env, M68K_FEATURE_FPU)) {
-         SRC_EA(env, addr, OS_LONG, 0, NULL);
-         /* FIXME: check the state frame */
-     } else {
-@@ -5472,7 +5472,7 @@ DISAS_INSN(fsave)
-         return;
-     }
- 
--    if (m68k_feature(s->env, M68K_FEATURE_M68040)) {
-+    if (m68k_feature(s->env, M68K_FEATURE_FPU)) {
-         /* always write IDLE */
-         TCGv idle = tcg_constant_i32(0x41000000);
-         DEST_EA(env, insn, OS_LONG, idle, NULL);
-```