diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-03-12 21:27:23 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-03-13 16:34:25 +0100 |
commit | bc20b34e03b51725d7f008551b5f56f1da07ab6a (patch) | |
tree | 3aaabb9e76f475d039fc979beb3dc129b066dd7c /target/m68k/fpu_helper.c | |
parent | 8c992abc892c90caf1d4dd5b4482cda052a280ba (diff) | |
download | qemu-bc20b34e03b51725d7f008551b5f56f1da07ab6a.zip qemu-bc20b34e03b51725d7f008551b5f56f1da07ab6a.tar.gz qemu-bc20b34e03b51725d7f008551b5f56f1da07ab6a.tar.bz2 |
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 <laurent@vivier.eu>
Message-Id: <20180312202728.23790-7-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 4732849..972cc97 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); +} |