diff options
author | Laurent Vivier <laurent@vivier.eu> | 2017-06-28 22:42:39 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2017-06-29 20:28:22 +0200 |
commit | 2f77995cebc8027851b8ea8f02c097fb8cdf668a (patch) | |
tree | fd5d9f7f0461e8b223231ddbc3c5c1c6d440a378 /target/m68k/translate.c | |
parent | 0f72129281765ed64d26353284059f2bdcde7a23 (diff) |
target/m68k: add fsglmul and fsgldiv
fsglmul and fsgldiv truncate data to single precision before computing
results.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-Id: <20170628204241.32106-6-laurent@vivier.eu>
Diffstat (limited to 'target/m68k/translate.c')
-rw-r--r-- | target/m68k/translate.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 618abf6105..72c45dedee 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -4646,6 +4646,12 @@ DISAS_INSN(fpu) case 0x67: /* fdmul */ gen_helper_fdmul(cpu_env, cpu_dest, cpu_src, cpu_dest); break; + case 0x24: /* fsgldiv */ + gen_helper_fsgldiv(cpu_env, cpu_dest, cpu_src, cpu_dest); + break; + case 0x27: /* fsglmul */ + gen_helper_fsglmul(cpu_env, cpu_dest, cpu_src, cpu_dest); + break; case 0x28: /* fsub */ gen_helper_fsub(cpu_env, cpu_dest, cpu_src, cpu_dest); break; |