mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target/m68k: implement fsin
Using a local m68k floatx80_sin() [copied from previous: Written by Andreas Grabher for Previous, NeXT Computer Emulator.] Signed-off-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20180312202728.23790-3-laurent@vivier.eu>
This commit is contained in:
parent
273401809c
commit
5add1ac42f
5 changed files with 257 additions and 0 deletions
|
@ -597,3 +597,8 @@ void HELPER(ftan)(CPUM68KState *env, FPReg *res, FPReg *val)
|
|||
{
|
||||
res->d = floatx80_tan(val->d, &env->fp_status);
|
||||
}
|
||||
|
||||
void HELPER(fsin)(CPUM68KState *env, FPReg *res, FPReg *val)
|
||||
{
|
||||
res->d = floatx80_sin(val->d, &env->fp_status);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue