Searched refs:is_power_of_2 (Results 1 - 25 of 26) sorted by relevance
12
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | regmask.cpp | 275 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 D | vectornode.cpp | 167 (vlen > 1) && is_power_of_2(vlen) && 370 assert(is_power_of_2(ct), "power of 2");
|
H A D | divnode.cpp | 109 } 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 D | block.hpp | 200 assert(is_power_of_2(max_pad+relocInfo::addr_unit()), "");
|
H A D | superword.cpp | 960 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 D | mulnode.cpp | 212 } else if (is_power_of_2(con+1)) {
|
H A D | loopnode.cpp | 955 if (is_power_of_2(stride_p) || // divisor is 2^n 968 if (stride_con > 0 && is_power_of_2(stride_p)) {
|
H A D | output.cpp | 451 assert(is_power_of_2(max_loop_pad+relocInfo::addr_unit()), "");
|
H A D | type.cpp | 1966 assert(length > 1 && is_power_of_2(length), "vector length is power of 2");
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | globalDefinitions.cpp | 131 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 D | globalDefinitions.hpp | 979 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 D | heap.cpp | 77 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 D | allocation.hpp | 333 assert(is_power_of_2(ARENA_AMALLOC_ALIGNMENT) , "should be a power of 2");
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | parallelScavengeHeap.hpp | 296 assert(is_power_of_2((intptr_t)val), "must be a power of 2");
|
/openjdk7/hotspot/src/share/vm/code/ |
H A D | vtableStubs.cpp | 106 assert(is_power_of_2(N), "N must be a power of 2");
|
/openjdk7/hotspot/src/cpu/x86/vm/ |
H A D | c1_LIRGenerator_x86.cpp | 238 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 D | vm_version_x86.cpp | 511 if (!is_power_of_2(MaxVectorSize)) {
|
H A D | assembler_x86.hpp | 164 assert(size >= 1 && size <= 8 && is_power_of_2(size), "bad scale size");
|
H A D | c1_LIRAssembler_x86.cpp | 2595 assert(divisor > 0 && is_power_of_2(divisor), "must be");
|
/openjdk7/hotspot/src/share/vm/asm/ |
H A D | codeBuffer.cpp | 153 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 D | virtualspace.cpp | 293 assert(alignment == 0 || is_power_of_2((intptr_t)alignment),
|
/openjdk7/hotspot/src/cpu/sparc/vm/ |
H A D | c1_LIRGenerator_sparc.cpp | 296 if (is_power_of_2(c + 1)) { 300 } else if (is_power_of_2(c - 1)) {
|
H A D | c1_LIRAssembler_sparc.cpp | 545 if (Rdivisor == noreg && is_power_of_2(divisor)) {
|
/openjdk7/hotspot/src/share/vm/c1/ |
H A D | c1_LIRGenerator.cpp | 540 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 D | c1_GraphBuilder.cpp | 381 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