6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()

These methods can be instrinsified by using bit scan, bit test, and population count instructions.

Reviewed-by: kvn, never
This commit is contained in:
Christian Thalinger 2009-05-06 00:27:52 -07:00
parent 716c78f080
commit 6a270f9f19
15 changed files with 997 additions and 17 deletions

View file

@ -104,6 +104,10 @@ macro(ConvL2I)
macro(CosD)
macro(CountedLoop)
macro(CountedLoopEnd)
macro(CountLeadingZerosI)
macro(CountLeadingZerosL)
macro(CountTrailingZerosI)
macro(CountTrailingZerosL)
macro(CreateEx)
macro(DecodeN)
macro(DivD)