Searched refs:shift (Results 201 - 225 of 233) sorted by relevance

12345678910

/openjdk7/hotspot/src/share/vm/oops/
H A Doop.inline.hpp203 int shift = Universe::narrow_oop_shift(); local
206 uint64_t result = pd >> shift;
219 int shift = Universe::narrow_oop_shift(); local
220 oop result = (oop)(void*)((uintptr_t)base + ((uintptr_t)v << shift));
456 // length of the array, shift (multiply) it appropriately,
481 // of round_to to size_t to guarantee unsigned division == right shift.
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DstubGenerator_sparc.cpp1209 const Register left_shift = G1; // left shift bit counter
1210 const Register right_shift = G5; // right shift bit counter
1243 // Copy big chunks forward with shift
1263 const Register left_shift = G1; // left shift bit counter
1264 const Register right_shift = G5; // right shift bit counter
1302 // Copy big chunks backward with shift
1322 const Register left_shift = G1; // left shift bit counter
1323 const Register right_shift = G5; // right shift bit counter
1447 // Copy with shift 16 bytes per iteration if arrays do not have
1451 // Also jump over aligned copy after the copy with shift complete
1733 int shift = -1; local
[all...]
H A Dc1_LIRGenerator_sparc.cpp147 int shift, int disp, BasicType type) {
152 disp += index->as_constant_ptr()->as_jint() << shift;
157 // apply the shift and accumulate the displacement
158 if (shift > 0) {
160 __ shift_left(index, shift, tmp);
195 int shift = exact_log2(elem_size); local
226 if (shift > 0) {
227 __ shift_left(index_opr, shift, base_opr);
597 // Long shift destroys count register
146 generate_address(LIR_Opr base, LIR_Opr index, int shift, int disp, BasicType type) argument
H A Dc1_LIRAssembler_sparc.cpp739 int shift = (code == Bytecodes::_i2b) ? (BitsPerInt - T_BYTE_aelem_bytes * BitsPerByte) : (BitsPerInt - BitsPerShort); local
740 __ sll (rval, shift, rdst);
741 __ sra (rdst, shift, rdst);
747 int shift = BitsPerInt - T_CHAR_aelem_bytes * BitsPerByte; local
748 __ sll (rval, shift, rdst);
749 __ srl (rdst, shift, rdst);
2172 int shift = shift_amount(basic_type); local
2244 if (shift == 0) {
2247 __ sll(src_pos, shift, tmp);
2252 if (shift
[all...]
/openjdk7/jdk/src/macosx/classes/apple/laf/
H A DJRSUIState.java88 return (byte)((derivedEncodedState & property.encoding.mask) >> property.encoding.shift) == property.ordinal;
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngstruct.h203 png_color_8 shift; /* shift for significant bit tranformation */ member in struct:png_struct_def
/openjdk7/jdk/src/share/classes/sun/nio/cs/ext/
H A DIBM33722.java2525 super.shift = 5;
H A DIBM964.java4730 super.shift = 6;
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/
H A DGenerateCharacter.java167 // shift* indicates how many shifts right must happen to get the
1112 * be left-shifted by the amount "shift", so that this work
1114 * explicit shift operator at run time
1115 * @param shift this is the shift amount for preshifting of table entries
1133 boolean preshifted, int shift, boolean hexFormat,
1151 boolean shiftEntries = preshifted && shift != 0;
1195 if (shiftEntries) entry <<= shift;
1310 result.append("<<").append(shift);
1565 int shift
1131 genTable(StringBuffer result, String name, long[] table, int extract, int bits, int size, boolean preshifted, int shift, boolean hexFormat, boolean properties, boolean hexComment) argument
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DLoopMacros.h858 jint sxinc, jint syinc, jint shift, \
868 sxloc, syloc, sxinc, syinc, shift, \
960 jint sxinc, jint syinc, jint shift, \
973 sxloc, syloc, sxinc, syinc, shift, \
989 jint sxinc, jint syinc, jint shift, \
1002 sxloc, syloc, sxinc, syinc, shift, \
1078 jint sxinc, jint syinc, jint shift, \
1091 sxloc, syloc, sxinc, syinc, shift, \
1112 jint sxinc, jint syinc, jint shift, \
1125 sxloc, syloc, sxinc, syinc, shift, \
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Dmatcher.cpp929 tty->print_cr("==== Matcher alias shift %d => %d", nidx, midx);
2073 Node *shift = adr->in(AddPNode::Offset);
2074 // Check for shift by small constant as well
2075 if( shift->Opcode() == Op_LShiftX && shift->in(2)->is_Con() &&
2076 shift->in(2)->get_int() <= 3 &&
2078 !is_visited(shift) ) {
2079 address_visited.set(shift->_idx); // Flag as address_visited
2080 mstack.push(shift->in(2), Visit);
2081 Node *conv = shift
[all...]
H A Dcompile.cpp368 int shift = 0; local
372 if (shift > 0) {
373 inlines->at_put(i-shift, cg);
376 shift++;
379 inlines->trunc_to(inlines->length()-shift);
427 // shift is 0 in LP32 and 1 in LP64
428 const int shift = (LogBytesPerWord - LogBytesPerInt); local
429 int words = _frame_slots >> shift;
430 assert( words << shift == _frame_slots, "frame size must be properly aligned in LP64" );
2874 // The cpu's shift instruction
2880 juint shift = t->get_con(); local
2886 Node* shift = new (this) AndINode(in2, ConNode::make(this, TypeInt::make(mask))); local
[all...]
H A Daddnode.cpp432 // into "(X<<1)+Y" and let shift-folding happen.
437 Node *shift = phase->transform(new (phase->C) LShiftLNode(in1,phase->intcon(1))); local
438 return new (phase->C) AddLNode(shift,in2->in(2));
H A Dmacro.cpp220 Node *shift = p2x->unique_out(); local
221 Node *addp = shift->unique_out();
264 Node* shift = xorx->unique_out(); local
265 Node* cmpx = shift->unique_out();
H A Dvectornode.hpp56 static VectorNode* shift_count(Compile* C, Node* shift, Node* cnt, uint vlen, BasicType bt);
214 // Vector left shift bytes
222 // Vector left shift shorts
230 // Vector left shift ints
238 // Vector left shift longs
246 // Vector right arithmetic (signed) shift bytes
254 // Vector right arithmetic (signed) shift shorts
262 // Vector right arithmetic (signed) shift ints
270 // Vector right arithmetic (signed) shift longs
278 // Vector right logical (unsigned) shift byte
[all...]
H A Dmemnode.cpp1255 int shift = -1; local
1258 shift = exact_log2(type2aelembytes(T_OBJECT));
1266 int offset = arrayOopDesc::base_offset_in_bytes(memory_type()) - (cache_low << shift);
1275 if (result->Opcode() == Op_LShiftX && result->in(2) == phase->intcon(shift)) {
1276 // Peel the shift off directly but wrap it in a dummy node
1280 result = new (phase->C) RShiftXNode(result, phase->intcon(shift));
2494 // (a left shift, then right shift) we can skip both.
2737 Node* shift = phase->intcon(exact_log2(unit)); local
2738 zbase = phase->transform( new(C) URShiftXNode(zbase, shift) );
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_ByteIndexed.c176 PTR_ADD(pSrc, (syloc >> shift) * srcScan); \
185 mlib_s32 ii = tmpsxloc >> shift; \
H A Dvis_FourByteAbgrPre.c76 sxinc, syinc, shift, \
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageLookUp_64.c561 mlib_u32 shift = TABLE_SHIFT_S32; local
565 table_base[c] = &table[c][shift];
1043 mlib_u32 shift = TABLE_SHIFT_S32; local
1047 table_base[c] = &table[c][shift];
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalBorders.java702 int shift = MetalLookAndFeel.usingOcean() ? -1 : 0;
705 bumps.paintIcon( c, g, 2, 2 + shift );
708 2 + shift );
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/sax2dtm/
H A DSAX2DTM2.java1812 // Cache the shift and mask values for the SuballocatedIntVectors.
1874 int shift;
1875 for(shift=0; (blocksize>>>=1) != 0; ++shift);
1877 m_blocksize = 1<<shift;
1878 m_SHIFT = shift;
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/
H A DBMPImageReader.java76 * and shift the decoded image origin if the proper decoding parameter
1550 int shift = (1 - (destinationRegion.x & 1)) << 2;
1554 bdata[pos] |= val[i] << shift;
1555 shift += 4;
1556 if (shift == 4) {
1559 shift &= 7;
/openjdk7/jdk/test/java/math/BigInteger/
H A DBigIntegerTest.java243 public static void shift() { method in class:BigIntegerTest
265 System.err.println("shift is "+n);
726 shift();
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dc1_LIRGenerator_x86.cpp150 int shift, int disp, BasicType type) {
154 (index->as_constant_ptr()->as_jint() << shift) + disp,
157 return new LIR_Address(base, index, (LIR_Address::Scale)shift, disp, type);
602 // check if we can use shift instead
149 generate_address(LIR_Opr base, LIR_Opr index, int shift, int disp, BasicType type) argument
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLayout.java1137 float shift = textLine.getCharShift(logIndex);
1138 pos += angle * shift;

Completed in 364 milliseconds

12345678910