Searched refs:right_n_bits (Results 1 - 25 of 29) sorted by relevance

12

/openjdk7/hotspot/src/share/vm/runtime/
H A DjfieldIDWorkaround.hpp66 checked_mask_in_place = right_n_bits(checked_bits) << checked_shift,
67 instance_mask_in_place = right_n_bits(instance_bits) << instance_shift,
69 large_offset_mask = right_n_bits(large_offset_bits),
70 small_offset_mask = right_n_bits(small_offset_bits),
71 klass_mask = right_n_bits(klass_bits)
77 const static uintptr_t large_offset_mask = right_n_bits(large_offset_bits);
78 const static uintptr_t small_offset_mask = right_n_bits(small_offset_bits);
79 const static uintptr_t klass_mask = right_n_bits(klass_bits);
H A Ddeoptimization.hpp256 ((~(trap_request) >> _reason_shift) & right_n_bits(_reason_bits));
264 ((~(trap_request) >> _action_shift) & right_n_bits(_action_bits));
H A Ddeoptimization.cpp1853 LSB_MASK = right_n_bits(LSB_BITS)
/openjdk7/hotspot/src/share/vm/oops/
H A DmarkOop.hpp130 enum { lock_mask = right_n_bits(lock_bits),
132 biased_lock_mask = right_n_bits(lock_bits + biased_lock_bits),
135 age_mask = right_n_bits(age_bits),
137 epoch_mask = right_n_bits(epoch_bits),
139 cms_mask = right_n_bits(cms_bits),
142 ,hash_mask = right_n_bits(hash_bits),
153 const static uintptr_t hash_mask = right_n_bits(hash_bits);
381 const static uintptr_t size_mask = LP64_ONLY(right_n_bits(size_bits))
H A DcpCacheOop.hpp167 tos_state_mask = right_n_bits(tos_state_bits),
179 field_index_mask = right_n_bits(field_index_bits),
181 parameter_size_mask = right_n_bits(parameter_size_bits),
188 main_cp_index_mask = right_n_bits(main_cp_index_bits),
190 bytecode_1_mask = right_n_bits(BitsPerByte), // == (u1)0xFF
192 bytecode_2_mask = right_n_bits(BitsPerByte), // == (u1)0xFF
H A DgenerateOopMap.hpp95 enum { info_mask = right_n_bits(28),
110 info_data_mask = right_n_bits(26),
118 ref_data_mask = right_n_bits(24) };
H A Dklass.hpp396 _lh_element_type_mask = right_n_bits(BitsPerByte), // shifted mask
398 _lh_header_size_mask = right_n_bits(BitsPerByte), // shifted mask
H A DmethodDataOop.hpp130 trap_mask = right_n_bits(trap_bits),
133 flag_mask = right_n_bits(flag_limit),
H A DmethodOop.cpp1123 const uintptr_t max_id_uint = right_n_bits((int)(sizeof(_intrinsic_id) * BitsPerByte));
/openjdk7/hotspot/src/share/vm/interpreter/
H A DinvocationCounter.hpp53 carry_mask = right_n_bits(number_of_carry_bits) << number_of_state_bits,
54 state_mask = right_n_bits(number_of_state_bits),
55 status_mask = right_n_bits(number_of_state_bits + number_of_carry_bits),
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DstubRoutines_sparc.hpp63 v8_oop_lock_mask = right_n_bits(v8_oop_lock_bits),
H A Dcopy_sparc.hpp166 guarantee(mask_bits((uintptr_t)tohw, right_n_bits(LogBytesPerLong)) == 0,
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DpromotionInfo.hpp37 promoted_mask = right_n_bits(2), // i.e. 0x3
39 next_mask = ~(right_n_bits(3)) // i.e. ~(0x7)
/openjdk7/hotspot/src/share/vm/opto/
H A DindexSet.hpp77 bit_index_mask = right_n_bits(bit_index_length),
78 word_index_mask = right_n_bits(word_index_length)
403 window_mask = right_n_bits(window_size),
H A Dmulnode.cpp447 jint t1_support = right_n_bits(1 + log2_intptr(t1->_hi));
511 const int sign_bits_mask = ~right_n_bits(BitsPerJavaInteger - shift);
693 const jint bits_mask = right_n_bits(BitsPerJavaInteger-con);
1106 const int mask = right_n_bits(BitsPerJavaInteger - con);
H A DgraphKit.cpp3125 Node* mask = MakeConX(~ (intptr_t)right_n_bits(LogBytesPerLong));
3218 if ((round_mask & ~right_n_bits(eshift)) == 0)
3220 assert((hsize & right_n_bits(eshift)) == 0, "hsize is pre-rounded");
/openjdk7/hotspot/src/share/vm/utilities/
H A Dcopy.hpp287 if (mask_bits((uintptr_t)from, right_n_bits(log_align)) != 0)
289 if (mask_bits((uintptr_t)to, right_n_bits(log_align)) != 0)
296 if (mask_bits((uintptr_t)to, right_n_bits(log_align)) != 0)
H A DbitMap.cpp426 return rest == 0 || (*word | ~right_n_bits((int)rest)) == (bm_word_t) AllBits;
437 return rest == 0 || (*word & right_n_bits((int)rest)) == (bm_word_t) NoBits;
H A DglobalDefinitions.hpp927 #define right_n_bits(n) (nth_bit(n) - 1) macro
928 #define left_n_bits(n) (right_n_bits(n) << (n >= BitsPerWord ? 0 : (BitsPerWord - n)))
944 return mask_bits(x >> start_bit_no, right_n_bits(field_length));
/openjdk7/hotspot/src/share/vm/compiler/
H A DoopMap.hpp63 enum { type_mask = right_n_bits(type_bits),
65 register_mask = right_n_bits(register_bits),
/openjdk7/hotspot/src/share/vm/classfile/
H A DvmSymbols.cpp459 int shift = 2*vmSymbols::log2_SID_LIMIT + log2_FLAG_LIMIT, mask = right_n_bits(vmSymbols::log2_SID_LIMIT);
466 int shift = vmSymbols::log2_SID_LIMIT + log2_FLAG_LIMIT, mask = right_n_bits(vmSymbols::log2_SID_LIMIT);
473 int shift = log2_FLAG_LIMIT, mask = right_n_bits(vmSymbols::log2_SID_LIMIT);
480 int shift = 0, mask = right_n_bits(log2_FLAG_LIMIT);
H A DsystemDictionary.cpp1838 int opt = (info & right_n_bits(CEIL_LG_OPTION_LIMIT));
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1BlockOffsetTable.cpp96 return (delta & right_n_bits(LogN_words)) == (size_t)NoBits;
244 clear_bits(boundary_before_end, right_n_bits(LogN));
/openjdk7/hotspot/src/share/vm/memory/
H A DblockOffsetTable.cpp97 return (delta & right_n_bits(LogN_words)) == (size_t)NoBits;
274 clear_bits(boundary_before_end, right_n_bits(LogN));
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_LIR.hpp256 kind_mask = right_n_bits(kind_bits)
257 , type_mask = right_n_bits(type_bits) << type_shift
258 , size_mask = right_n_bits(size_bits) << size_shift
259 , last_use_mask = right_n_bits(last_use_bits) << last_use_shift
260 , is_fpu_stack_offset_mask = right_n_bits(is_fpu_stack_offset_bits) << is_fpu_stack_offset_shift
261 , virtual_mask = right_n_bits(virtual_bits) << virtual_shift
262 , is_xmm_mask = right_n_bits(is_xmm_bits) << is_xmm_shift
263 , pointer_mask = right_n_bits(pointer_bits)
264 , lower_reg_mask = right_n_bits(reg_bits)

Completed in 157 milliseconds

12