diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-03-12 21:27:20 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-03-13 16:34:02 +0100 |
commit | 68d0ed37866de2c5cafc4e2589e263961b2e8cd6 (patch) | |
tree | bb45b62d5235337a9576923f9f9efd5c12b0f628 /target/m68k/translate.c | |
parent | 5add1ac42faffd3d3639101fa778dced693a65a3 (diff) | |
download | qemu-68d0ed37866de2c5cafc4e2589e263961b2e8cd6.zip qemu-68d0ed37866de2c5cafc4e2589e263961b2e8cd6.tar.gz qemu-68d0ed37866de2c5cafc4e2589e263961b2e8cd6.tar.bz2 |
target/m68k: implement fcos
Using a local m68k floatx80_cos()
[copied from previous:
Written by Andreas Grabher for Previous, NeXT Computer Emulator.]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180312202728.23790-4-laurent@vivier.eu>
Diffstat (limited to 'target/m68k/translate.c')
-rw-r--r-- | target/m68k/translate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 05ab75e..f47388d 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -5099,6 +5099,9 @@ DISAS_INSN(fpu) case 0x5e: /* fdneg */ gen_helper_fdneg(cpu_env, cpu_dest, cpu_src); break; + case 0x1d: /* fcos */ + gen_helper_fcos(cpu_env, cpu_dest, cpu_src); + break; case 0x1e: /* fgetexp */ gen_helper_fgetexp(cpu_env, cpu_dest, cpu_src); break; |