aboutsummaryrefslogtreecommitdiff
path: root/target-i386/op_helper.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-04-20 13:04:23 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-04-25 11:18:33 +0200
commitc2ef9a83be8a176802c33db7f826ff30a18b50f3 (patch)
treed88f1a2b2afebd761830694785bb967a424c905d /target-i386/op_helper.c
parentfec05e429943a2486ebe4c65da7b46a90f2dcfb2 (diff)
downloadqemu-c2ef9a83be8a176802c33db7f826ff30a18b50f3.zip
qemu-c2ef9a83be8a176802c33db7f826ff30a18b50f3.tar.gz
qemu-c2ef9a83be8a176802c33db7f826ff30a18b50f3.tar.bz2
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>
Diffstat (limited to 'target-i386/op_helper.c')
-rw-r--r--target-i386/op_helper.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c
index 589a68b..f7cdaaa 100644
--- a/target-i386/op_helper.c
+++ b/target-i386/op_helper.c
@@ -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