mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target-i386: replace approx_rsqrt and approx_rcp by softfloat ops
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
fec05e4299
commit
c2ef9a83be
2 changed files with 24 additions and 22 deletions
|
@ -4794,16 +4794,6 @@ void helper_boundl(target_ulong a0, int v)
|
|||
}
|
||||
}
|
||||
|
||||
static float approx_rsqrt(float a)
|
||||
{
|
||||
return 1.0 / sqrt(a);
|
||||
}
|
||||
|
||||
static float approx_rcp(float a)
|
||||
{
|
||||
return 1.0 / a;
|
||||
}
|
||||
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
|
||||
#define MMUSUFFIX _mmu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue