Searched defs:zero (Results 26 - 50 of 51) sorted by relevance

123

/openjdk7/hotspot/src/share/vm/opto/
H A Dsubnode.cpp54 const Type *zero = add_id(); local
55 if( phase->type( in(1) )->higher_equal( zero ) &&
57 phase->type( in(2)->in(1) )->higher_equal( zero ) ) {
78 return ( phase->type( in(2) )->higher_equal( zero ) ) ? in(1) : this;
93 // Equal? Subtract is zero
381 // not replace with zero
1201 // Comparing a SubI against a zero is equal to comparing the SubI
1247 // // Not valid for unsigned compare because of corner cases in involving zero.
H A Dcfgnode.cpp1227 Node *zero = phi->in(1); local
1229 const Type *tzero = phase->type( zero );
1241 // Check for setting zero/one opposite expected
1301 if( op != Op_AddI // Need zero as additive identity
1330 int cmp_zero_idx = 0; // Index of compare input where to look for zero
1359 // Find zero input of compare; the other input is being abs'd
H A Dloopopts.cpp357 Node *zero = _igvn.intcon(0); local
358 set_ctrl(zero, C->root());
1534 // of the add. Returns zero if not an iv.
H A Dparse2.cpp123 // only works with non-negative lengths. Instead, hack "tst" to be zero so
439 // Normalize table lookups to zero
703 Node *zero = _gvn.intcon(0); local
704 IfNode *ifff = jump_if_fork_int(a, zero, BoolTest::lt);
710 Node *neg = _gvn.transform( new (C) SubINode(zero, a) );
712 Node *negn= _gvn.transform( new (C) SubINode(zero, andn) );
859 // Let's make a special check here for completely zero counts.
863 // Only stop for truly zero counts, which mean an unknown part
882 // branch_prediction() when the profile reports a zero taken count.
883 // It is important to distinguish zero count
[all...]
H A DloopTransform.cpp225 Node *zero = phase->_igvn.intcon(0); local
226 phase->set_ctrl(zero, phase->C->root());
227 n_inv1 = new (phase->C) SubINode(zero, inv1);
940 // Step A2: Build a zero-trip guard for the post-loop. After leaving the
943 // the exit value (via unrolling) so we cannot constant-fold away the zero
1016 // Step B2: Build a zero-trip guard for the main-loop. After leaving the
1018 // zero-trip guard will become the minimum-trip guard when we unroll
1175 // Search for zero-trip guard.
1185 // Occasionally it's possible for a zero-trip guard Opaque1 node to be
1189 return; // Cannot find zero
1678 Node *zero = _igvn.intcon(0); local
1709 Node *zero = _igvn.intcon(0); local
1798 Node *zero = _igvn.intcon(0); local
[all...]
H A Dmemnode.cpp1031 // A load from a freshly-created object always returns zero.
1037 // return a zero value for the load's basic type
1416 // zero out the control input.
1754 // If we are loading from a freshly-allocated object, produce a zero,
1756 // (Also allow a variable load from a fresh array to produce zero.)
1770 // so just return a zero of the appropriate type
2389 // Store of zero anywhere into a freshly-allocated object?
2398 // the store may also apply to zero-bits in an earlier object
2625 // Clearing a zero length array does nothing
2660 Node *zero local
[all...]
H A DgraphKit.cpp1080 depth = 1; // S.B. depth=1, not zero
1979 assert(trap_request != 0, "zero value reserved by uncommon_trap_request");
2683 // because if the test is going to turn into zero code, we don't
3510 Node* zero = __ ConI(0); // Dirty card value local
3522 __ if_then(card_val, BoolTest::ne, zero);
3525 // Smash zero into card
3527 __ store(__ ctrl(), card_adr, zero, bt, adr_type); local
3530 __ storeCM(__ ctrl(), card_adr, zero, oop_store, adr_idx, bt, adr_type); local
3573 Node* zero = __ ConI(0); local
3599 __ if_then(marking, BoolTest::ne, zero); {
3651 Node* zero = __ ConI(0); local
3656 __ storeCM(__ ctrl(), card_adr, zero, oop_store, oop_alias_idx, card_bt, Compile::AliasIdxRaw); local
3704 Node* zero = __ ConI(0); local
[all...]
H A Dlibrary_call.cpp1253 Node* zero = __ ConI(0); local
1273 __ loop(this, nargs, j, zero, BoolTest::lt, targetCountLess1); {
1279 __ if_then(__ AndI(cache, __ LShiftI(one, src2)), BoolTest::eq, zero); { local
1293 __ if_then(__ AndI(cache, __ LShiftI(one, src)), BoolTest::eq, zero, likely); { local
1754 // zero node
2866 // The 'test' is non-zero if we need to take a slow path.
3724 // Do a null check, and return zero if null.
4595 // If so, we will take responsibility here for initializing it to zero.
4615 // initializing any non-copied parts of the object to zero.
4630 zero_path = 4, // bypass when length of copy is zero
[all...]
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DtemplateTable_sparc.cpp146 return Assembler::zero;
177 // the put_code written to the constant pool cache is zero.
262 static float zero = 0.0, one = 1.0, two = 2.0; local
266 case 0: p = &zero; break;
278 static double zero = 0.0, one = 1.0; local
282 case 0: p = &zero; break;
401 __ brx(Assembler::zero, true, Assembler::pt, L_done);
1219 // check for zero
1236 // check for zero
2044 __ br(Assembler::zero, fals
[all...]
H A DsharedRuntime_sparc.cpp1357 __ movcc( Assembler::zero, false, Assembler::icc, G0, rHandle );
1384 __ movcc( Assembler::zero, false, Assembler::icc, G0, rHandle );
1996 __ br(Assembler::zero, false, Assembler::pn, slowCase);
2005 // Check for a valid (non-zero) hash code and get its value.
2375 masm, G3_scratch, &DTraceMethodProbes, Assembler::zero);
2675 masm, G3_scratch, &DTraceMethodProbes, Assembler::zero);
2948 VMRegPair zero; local
2950 zero.set2(g0->as_VMReg());
3290 // On Intel these are not necessary and the value can be zero.
3400 __ breakpoint_trap(Assembler::zero, Assemble
[all...]
H A DstubGenerator_sparc.cpp209 __ cmp_zero_and_br(Assembler::zero, cnt, exit);
522 static jfloat zero = 0.0, one = 1.0; local
525 __ set((intptr_t)&zero, L0); __ ldf( FloatRegisterImpl::S, L0, 0, F0);
925 __ retl(); // Result in Rret is zero; flags set to Z
928 __ ret(); // Result in Rret is zero; flags set to Z
1260 __ br(Assembler::zero, false, Assembler::pt, L_aligned_copy);
1319 __ br(Assembler::zero, false, Assembler::pt, L_aligned_copy);
1419 __ br(Assembler::zero, false, Assembler::pn, L_skip_alignment);
1430 __ br(Assembler::zero, false, Assembler::pt, L_skip_alignment);
1530 __ br(Assembler::zero, fals
[all...]
H A Dassembler_sparc.hpp56 // reserved for certain tools. g0, of course, is always zero.
811 zero = 1, enumerator in enum:Assembler::Condition
1934 // compares register with zero (32 bit) and branches (V9 and V8 instructions)
1936 // Compares a pointer register with zero and branches on (not)null.
1954 // Short branch version for compares a pointer pwith zero.
2032 // set may be either setsw or setuw (high 32 bits may be zero or sign)
2203 // - They emit only a move if s2 is a constant zero.
/openjdk7/hotspot/src/share/vm/runtime/
H A DsharedRuntimeTrans.cpp177 static double zero = 0.0; variable
190 return -two54/zero; /* log(+-0)=-inf */
191 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
203 if(f==zero) {
204 if (k==0) return zero;
284 return -two54/zero; /* log(+-0)=-inf */
285 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
521 /* y==zero: x**0 = 1 */
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A De_lgamma_r.c168 static double zero= 0.00000000000000000000e+00; variable
182 if(ix<0x3fd00000) return __kernel_sin(pi*x,zero,0);
196 y = zero; n = 0; /* y must be even */
205 case 0: y = __kernel_sin(pi*y,zero,0); break;
207 case 2: y = __kernel_cos(pi*(0.5-y),zero); break;
209 case 4: y = __kernel_sin(pi*(one-y),zero,0); break;
211 case 6: y = -__kernel_cos(pi*(y-1.5),zero); break;
212 default: y = __kernel_sin(pi*(y-2.0),zero,0); break;
235 if((ix|lx)==0) return one/zero;
244 return one/zero;
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageAffineEdge.c158 *dp = zero; \
593 mlib_s32 zero = 0; local
596 zero = mlib_ImageGetLutOffset(colormap);
615 mlib_d64 zero = 0; local
/openjdk7/jdk/src/share/classes/sun/invoke/util/
H A DWrapper.java47 private final Object zero; field in class:Wrapper
53 private Wrapper(Class<?> wtype, Class<?> ptype, char tchar, Object zero, Object emptyArray, int format) { argument
57 this.zero = zero;
68 basicTypeChar, zero,
217 /** Produce a zero value for the given wrapper type.
218 * This will be a numeric zero for a number or character,
225 public Object zero() { return zero; } method in class:Wrapper
227 /** Produce a zero valu
231 public <T> T zero(Class<T> type) { return convert(zero, type); } method in class:Wrapper
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DFloatingDecimal.java97 // the strategy is to shift until we get a non-zero sign bit
294 * lvalue > 0L (not zero, nor negative).
443 digits = zero;
503 digits = zero;
710 * was too high, our first quotient will be zero. In this
721 // oops. Usually ignore leading zero.
763 * was too high, our first quotient will be zero. In this
774 // oops. Usually ignore leading zero.
828 * was too high, our first quotient will be zero. In this
838 // oops. Usually ignore leading zero
1860 private static final char zero[] = { '0', '0', '0', '0', '0', '0', '0', '0' }; field in class:FloatingDecimal
[all...]
H A DFormattedFloatingDecimal.java105 // the strategy is to shift until we get a non-zero sign bit
302 * lvalue > 0L (not zero, nor negative).
513 digits = zero;
580 digits = zero;
787 * was too high, our first quotient will be zero. In this
798 // oops. Usually ignore leading zero.
840 * was too high, our first quotient will be zero. In this
851 // oops. Usually ignore leading zero.
905 * was too high, our first quotient will be zero. In this
915 // oops. Usually ignore leading zero
1766 private static final char zero[] = { '0', '0', '0', '0', '0', '0', '0', '0' }; field in class:FormattedFloatingDecimal
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DFormatter.java375 * a leading zero as necessary i.e. {@code 00 - 23}.
379 * zero as necessary, i.e. {@code 01 - 12}.
388 * <td> Minute within the hour formatted as two digits with a leading zero
393 * zero as necessary, i.e. {@code 00 - 60} ("{@code 60}" is a special
466 * with leading zero as necessary, i.e. {@code 00 - 99}
572 * <td> The result will be zero-padded
845 * {@linkplain java.text.DecimalFormatSymbols#getZeroDigit() zero digit}
862 * java.text.DecimalFormatSymbols#getZeroDigit() zero digits} are inserted
863 * after the sign character, if any, and before the first non-zero digit, until
870 * <li> If the value is negative (or floating-point negative zero) an
1842 private final char zero; field in class:Formatter
[all...]
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dassembler_x86.hpp457 zero = 0x4, enumerator in enum:Assembler::Condition
1306 // These dummies prevent using movl from converting a zero (like NULL) into Register
1322 // These dummies prevent using movq from converting a zero (like NULL) into Register
1610 void set_byte_if_not_zero(Register dst); // sets reg to 1 if not zero, otherwise 0
1885 // Support for fast byte/short loading with zero extension (depending on particular CPU)
2098 // converting a zero (like NULL) into a Register by giving
2307 void set_word_if_not_zero(Register reg); // sets reg to 1 if not zero, otherwise 0
H A DtemplateTable_x86_32.cpp111 return Assembler::zero;
222 // the put_code written to the constant pool cache is zero.
231 __ jcc(Assembler::zero, L_patch_done); // don't patch
977 __ jcc(Assembler::zero, is_null);
1262 __ jump_cc(Assembler::zero,
1276 __ jump_cc(Assembler::zero,
1637 __ jccb(Assembler::zero, no_mdo);
1642 rax, false, Assembler::zero, &backedge_counter_overflow);
1648 rax, false, Assembler::zero, &backedge_counter_overflow); member in class:Assembler
1681 __ jcc(Assembler::zero, backedge_counter_overflo
[all...]
H A DtemplateTable_x86_64.cpp123 return Assembler::zero;
228 // the put_code written to the constant pool cache is zero.
237 __ jcc(Assembler::zero, L_patch_done); // don't patch
1005 __ jcc(Assembler::zero, is_null);
1265 __ jump_cc(Assembler::zero,
1279 __ jump_cc(Assembler::zero,
1666 __ jccb(Assembler::zero, no_mdo);
1671 rax, false, Assembler::zero, &backedge_counter_overflow);
1677 rax, false, Assembler::zero, &backedge_counter_overflow); member in class:Assembler
1711 __ jcc(Assembler::zero, backedge_counter_overflo
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Frame.cpp1213 POINT zero; local
1214 zero.x = 0;
1215 zero.y = 0;
1216 ::ClientToScreen(parent, &zero);
1217 ::OffsetRect(&rect, -zero.x, -zero.y);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DGen.java209 /** The opcode that loads a zero constant of a given type code.
212 public static int zero(int tc) { method in class:Gen
223 throw new AssertionError("zero");
231 return zero(tc) + 1;
/openjdk7/jdk/src/share/native/common/
H A Dcheck_code.c411 static void *CCalloc(context_type *context, int size, jboolean zero);
1141 /* 4639449, 4647081: Padding bytes must be zero. */
1145 CCerror(context, "Non zero padding bytes in switch");
1320 "Fourth operand byte of invokeinterface must be zero");
1326 "Third and fourth operand bytes of invokedynamic must be zero");
3498 CCalloc(context_type *context, int size, jboolean zero) argument
3536 if (zero)

Completed in 254 milliseconds

123