]> git.proxmox.com Git - qemu.git/commit
target-i386: Implement tzcnt and fix lzcnt
authorRichard Henderson <rth@twiddle.net>
Mon, 21 Jan 2013 21:32:02 +0000 (13:32 -0800)
committerRichard Henderson <rth@twiddle.net>
Wed, 20 Feb 2013 07:05:18 +0000 (23:05 -0800)
commit321c535105a182501b888f095f7ec4dbb5f3f6ae
tree432e174bd4f4404b2ee4f0107260333d797a828f
parentf1300734cbca515d30953b2c87e259fa378ea301
target-i386: Implement tzcnt and fix lzcnt

We weren't computing flags for lzcnt at all.  At the same time,
adjust the implementation of bsf/bsr to avoid the local branch,
using movcond instead.

Signed-off-by: Richard Henderson <rth@twiddle.net>
target-i386/helper.h
target-i386/int_helper.c
target-i386/translate.c