mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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>
This commit is contained in:
parent
e3655afa13
commit
9937b02965
5 changed files with 377 additions and 0 deletions
|
@ -638,3 +638,8 @@ void HELPER(fatanh)(CPUM68KState *env, FPReg *res, FPReg *val)
|
|||
{
|
||||
res->d = floatx80_atanh(val->d, &env->fp_status);
|
||||
}
|
||||
|
||||
void HELPER(ftanh)(CPUM68KState *env, FPReg *res, FPReg *val)
|
||||
{
|
||||
res->d = floatx80_tanh(val->d, &env->fp_status);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue