Mercurial > hg > truffle
diff src/share/vm/opto/classes.hpp @ 775:93c14e5562c4
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
Summary: These methods can be instrinsified by using bit scan, bit test, and population count instructions.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Wed, 06 May 2009 00:27:52 -0700 |
parents | fbde8ec322d0 |
children | d7f654633cfe |
line wrap: on
line diff
--- a/src/share/vm/opto/classes.hpp Tue May 05 11:02:10 2009 -0700 +++ b/src/share/vm/opto/classes.hpp Wed May 06 00:27:52 2009 -0700 @@ -104,6 +104,10 @@ macro(CosD) macro(CountedLoop) macro(CountedLoopEnd) +macro(CountLeadingZerosI) +macro(CountLeadingZerosL) +macro(CountTrailingZerosI) +macro(CountTrailingZerosL) macro(CreateEx) macro(DecodeN) macro(DivD)