diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-03-12 21:27:26 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-03-13 16:34:51 +0100 |
commit | 9937b02965c2a7dbc4b21d98e29b082bab095aa5 (patch) | |
tree | 5aaa5810f6793ef66c236079f1928ea38ef3ac24 /target/m68k/translate.c | |
parent | e3655afa137b2e0999537eef273a2845ba21d68c (diff) |
target/m68k: implement ftanh
Using local m68k floatx80_tanh() and floatx80_etoxm1()
[copied from previous:
Written by Andreas Grabher for Previous, NeXT Computer Emulator.]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180312202728.23790-10-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 2f7caa0ca0..0caae904b5 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -5057,6 +5057,9 @@ DISAS_INSN(fpu) case 0x06: /* flognp1 */ gen_helper_flognp1(cpu_env, cpu_dest, cpu_src); break; + case 0x09: /* ftanh */ + gen_helper_ftanh(cpu_env, cpu_dest, cpu_src); + break; case 0x0a: /* fatan */ gen_helper_fatan(cpu_env, cpu_dest, cpu_src); break; |