From 68d0ed37866de2c5cafc4e2589e263961b2e8cd6 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Mon, 12 Mar 2018 21:27:20 +0100 Subject: 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 Message-Id: <20180312202728.23790-4-laurent@vivier.eu> --- target/m68k/translate.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/m68k/translate.c') diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 05ab75e43f..f47388da4b 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; -- cgit v1.2.3