aboutsummaryrefslogtreecommitdiff
path: root/target/i386/int_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-11-16 12:21:13 +0100
committerRichard Henderson <rth@twiddle.net>2017-01-10 08:06:11 -0800
commite5143c90883cd32a432eb793cdcce6bee747834a (patch)
tree2e88e45783637549bf98ce19726182453614c3e4 /target/i386/int_helper.c
parent7539a012f614b724426ac9360238f3281d928a3f (diff)
target-i386: Use clz and ctz opcodes
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/i386/int_helper.c')
-rw-r--r--target/i386/int_helper.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/target/i386/int_helper.c b/target/i386/int_helper.c
index 9e873ac150..4dc5c65991 100644
--- a/target/i386/int_helper.c
+++ b/target/i386/int_helper.c
@@ -417,17 +417,6 @@ void helper_idivq_EAX(CPUX86State *env, target_ulong t0)
# define clztl clz64
#endif
-/* bit operations */
-target_ulong helper_ctz(target_ulong t0)
-{
- return ctztl(t0);
-}
-
-target_ulong helper_clz(target_ulong t0)
-{
- return clztl(t0);
-}
-
target_ulong helper_pdep(target_ulong src, target_ulong mask)
{
target_ulong dest = 0;