diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-03-12 21:27:25 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-03-13 16:34:42 +0100 |
commit | e3655afa137b2e0999537eef273a2845ba21d68c (patch) | |
tree | cabf56fb6e2be1530f9f7f0290219f2013b943fd /target/m68k/fpu_helper.c | |
parent | c84813b807fc82c68ff6d72387f95b15ad283bf6 (diff) |
target/m68k: implement fatanh
Using a local m68k floatx80_atanh()
[copied from previous:
Written by Andreas Grabher for Previous, NeXT Computer Emulator.]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180312202728.23790-9-laurent@vivier.eu>
Diffstat (limited to 'target/m68k/fpu_helper.c')
-rw-r--r-- | target/m68k/fpu_helper.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/m68k/fpu_helper.c b/target/m68k/fpu_helper.c index 18ad6999cb..38b663e1d2 100644 --- a/target/m68k/fpu_helper.c +++ b/target/m68k/fpu_helper.c @@ -633,3 +633,8 @@ void HELPER(facos)(CPUM68KState *env, FPReg *res, FPReg *val) { res->d = floatx80_acos(val->d, &env->fp_status); } + +void HELPER(fatanh)(CPUM68KState *env, FPReg *res, FPReg *val) +{ + res->d = floatx80_atanh(val->d, &env->fp_status); +} |