From e5143c90883cd32a432eb793cdcce6bee747834a Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 16 Nov 2016 12:21:13 +0100 Subject: target-i386: Use clz and ctz opcodes Signed-off-by: Richard Henderson --- target/i386/int_helper.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'target/i386/int_helper.c') 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; -- cgit v1.2.3