From bc20b34e03b51725d7f008551b5f56f1da07ab6a Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Mon, 12 Mar 2018 21:27:23 +0100 Subject: target/m68k: implement fasin Using a local m68k floatx80_asin() [copied from previous: Written by Andreas Grabher for Previous, NeXT Computer Emulator.] Signed-off-by: Laurent Vivier Message-Id: <20180312202728.23790-7-laurent@vivier.eu> --- target/m68k/fpu_helper.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/m68k/fpu_helper.c') diff --git a/target/m68k/fpu_helper.c b/target/m68k/fpu_helper.c index 47328490ee..972cc97d96 100644 --- a/target/m68k/fpu_helper.c +++ b/target/m68k/fpu_helper.c @@ -623,3 +623,8 @@ void HELPER(fatan)(CPUM68KState *env, FPReg *res, FPReg *val) { res->d = floatx80_atan(val->d, &env->fp_status); } + +void HELPER(fasin)(CPUM68KState *env, FPReg *res, FPReg *val) +{ + res->d = floatx80_asin(val->d, &env->fp_status); +} -- cgit v1.2.3