History | View | Annotate | Download (4.8 kB)
target-i386: Inline bitops_flsl
Use clz32 directly. Which makes slightly more sense giventhat the input is type "int" and not type "long".
Signed-off-by: Richard Henderson <rth@twiddle.net>Reviewed-by: Eric Blake <eblake@redhat.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-i386: Topology & APIC ID utility functions
This introduces utility functions for the APIC ID calculation, based on: Intel® 64 Architecture Processor Topology Enumeration http://software.intel.com/en-us/articles/intel-64-architecture-processor-topology-enumeration/...