[PATCH] x86_64: fls in asm for x86_64
authorStephen Hemminger <shemminger@osdl.org>
Wed, 11 Jan 2006 21:43:24 +0000 (22:43 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:04:50 +0000 (19:04 -0800)
commit636dd2b7def5c9c72551b51d4d516a65c269de08
tree8a3c1ec030fc0924a96e54c0ec19d94f17ecc44e
parentbd9cb64df1d99c07ea9672661ede6ca3ba5c6579
[PATCH] x86_64: fls in asm for x86_64

Use single instruction for find largest set bit on x86_64.

[Updated by Jan Beulich to fix wrong asm constraints in original
patch -AK]

Cc: jbeulich@novell.com
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/bitops.h