Searched refs:is_power_of_2 (Results 1 - 25 of 26) sorted by relevance

12

/openjdk7/hotspot/src/share/vm/opto/
H A Dregmask.cpp275 assert(is_power_of_2(size), "sanity");
300 assert(is_power_of_2(size), "sanity");
325 assert(is_power_of_2(size), "sanity");
H A Dvectornode.cpp167 (vlen > 1) && is_power_of_2(vlen) &&
370 assert(is_power_of_2(ct), "power of 2");
H A Ddivnode.cpp109 } else if ( is_power_of_2(d) ) {
125 if( andconi < 0 && is_power_of_2(-andconi) && (-andconi) >= d ) {
862 if( con >= 0 && con < max_jint && is_power_of_2(con+1) ) {
924 if( is_power_of_2(pos_con) ) {
H A Dblock.hpp200 assert(is_power_of_2(max_pad+relocInfo::addr_unit()), "");
H A Dsuperword.cpp960 assert(is_power_of_2(max_vlen), "sanity");
962 if (!is_power_of_2(psize)) {
974 assert(is_power_of_2(pack->size()), "sanity");
H A Dmulnode.cpp212 } else if (is_power_of_2(con+1)) {
H A Dloopnode.cpp955 if (is_power_of_2(stride_p) || // divisor is 2^n
968 if (stride_con > 0 && is_power_of_2(stride_p)) {
H A Doutput.cpp451 assert(is_power_of_2(max_loop_pad+relocInfo::addr_unit()), "");
H A Dtype.cpp1966 assert(length > 1 && is_power_of_2(length), "vector length is power of 2");
/openjdk7/hotspot/src/share/vm/utilities/
H A DglobalDefinitions.cpp131 assert(is_power_of_2(sizeof(juint)), "juint must be power of 2");
132 assert(is_power_of_2(HeapWordSize), "HeapWordSize must be power of 2");
H A DglobalDefinitions.hpp979 inline bool is_power_of_2(intptr_t x) { function
983 // long version of is_power_of_2
1019 if (!is_power_of_2(x)) basic_fatal("x must be a power of 2");
1036 if (!is_power_of_2(s)) basic_fatal("s must be a power of 2");
1045 if (!is_power_of_2(s)) basic_fatal("s must be a power of 2");
/openjdk7/hotspot/src/share/vm/memory/
H A Dheap.cpp77 assert(is_power_of_2(alignment), "no kidding ???");
84 assert(is_power_of_2(alignment), "no kidding ???");
101 assert(is_power_of_2(segment_size), "segment_size must be a power of 2");
H A Dallocation.hpp333 assert(is_power_of_2(ARENA_AMALLOC_ALIGNMENT) , "should be a power of 2");
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DparallelScavengeHeap.hpp296 assert(is_power_of_2((intptr_t)val), "must be a power of 2");
/openjdk7/hotspot/src/share/vm/code/
H A DvtableStubs.cpp106 assert(is_power_of_2(N), "N must be a power of 2");
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dc1_LIRGenerator_x86.cpp238 if (is_power_of_2(c + 1)) {
243 } else if (is_power_of_2(c - 1)) {
608 if (is_power_of_2(iconst)) {
610 } else if (is_power_of_2(iconst - 1) || is_power_of_2(iconst + 1)) {
H A Dvm_version_x86.cpp511 if (!is_power_of_2(MaxVectorSize)) {
H A Dassembler_x86.hpp164 assert(size >= 1 && size <= 8 && is_power_of_2(size), "bad scale size");
H A Dc1_LIRAssembler_x86.cpp2595 assert(divisor > 0 && is_power_of_2(divisor), "must be");
/openjdk7/hotspot/src/share/vm/asm/
H A DcodeBuffer.cpp153 assert(is_power_of_2(align), "sanity");
743 if (expand_count > 100 && is_power_of_2(expand_count)) {
/openjdk7/hotspot/src/share/vm/runtime/
H A Dvirtualspace.cpp293 assert(alignment == 0 || is_power_of_2((intptr_t)alignment),
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dc1_LIRGenerator_sparc.cpp296 if (is_power_of_2(c + 1)) {
300 } else if (is_power_of_2(c - 1)) {
H A Dc1_LIRAssembler_sparc.cpp545 if (Rdivisor == noreg && is_power_of_2(divisor)) {
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_LIRGenerator.cpp540 if (is_power_of_2(c)) {
3029 assert(frequency == 0 || is_power_of_2(frequency + 1), "Frequency must be x^2 - 1 or 0");
H A Dc1_GraphBuilder.cpp381 assert(is_power_of_2((unsigned int)_loop_map.at(block->block_id())), "exactly one bit must be set");
426 assert(is_power_of_2((unsigned)header_loop_state), "exactly one bit must be set");

Completed in 196 milliseconds

12