Searched refs:dst_pos (Results 1 - 25 of 40) sorted by relevance

12

/openjdk10/hotspot/test/compiler/escapeAnalysis/
H A DTestArrayCopy.java58 public static boolean do_test1(Object src, int src_pos, int dst_pos, int cpy_len) { argument
60 System.arraycopy(src, src_pos, new Object[DST_LEN], dst_pos, cpy_len);
67 public static int do_test2(Object src, int src_pos, int dst_pos, int cpy_len) { argument
69 System.arraycopy(src, src_pos, new Object[DST_LEN], dst_pos, cpy_len);
80 static final int[] dst_pos = { 0, -1, 0, -1, 0, 1, 0, 1, 1, 1, 1 }; field in class:TestArrayCopy
93 int dp = dst_pos[i];
/openjdk10/hotspot/src/share/vm/oops/
H A DtypeArrayKlass.cpp131 void TypeArrayKlass::copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS) { argument
140 if (src_pos < 0 || dst_pos < 0 || length < 0) {
145 || (((unsigned int) length + (unsigned int) dst_pos) > (unsigned int) d->length()) ) {
156 char* dst = (char*) ((oop*)d + ihs) + ((size_t)dst_pos << l2es);
H A DtypeArrayKlass.hpp73 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);
H A DobjArrayKlass.cpp278 int dst_pos, int length, TRAPS) {
286 if (src_pos < 0 || dst_pos < 0 || length < 0) {
291 || (((unsigned int) length + (unsigned int) dst_pos) > (unsigned int) d->length()) ) {
304 narrowOop* const dst = objArrayOop(d)->obj_at_addr<narrowOop>(dst_pos);
308 oop* const dst = objArrayOop(d)->obj_at_addr<oop>(dst_pos);
277 copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS) argument
H A DobjArrayKlass.hpp80 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);
/openjdk10/hotspot/src/cpu/s390/vm/
H A Dc1_LIRAssembler_s390.cpp1877 Register dst_pos = op->dst_pos()->as_register(); local
1900 __ lgr_if_needed(callee_saved_dst_pos, dst_pos);
1905 __ z_lgfr(dst_pos, dst_pos);
1918 assert(Z_ARG4 == dst_pos, "assumption");
1945 __ lgr_if_needed(dst_pos, callee_saved_dst_pos);
1951 __ z_ar(dst_pos, tmp);
2002 __ compare32_and_branch(dst_pos, (intptr_t)0, Assembler::bcondLow, *stub->entry());
2030 __ z_la(tmp, Address(dst_pos, lengt
[all...]
/openjdk10/hotspot/src/cpu/aarch64/vm/
H A Dc1_LIRAssembler_aarch64.cpp2194 Register dst_pos = op->dst_pos()->as_register(); local
2211 __ stp(dst, dst_pos, Address(sp, 0*BytesPerWord));
2245 __ ldp(dst, dst_pos, Address(sp, 0*BytesPerWord));
2255 __ addw(dst_pos, dst_pos, rscratch1);
2307 __ cmpw(dst_pos, 0);
2323 __ addw(tmp, dst_pos, length);
2396 __ stp(dst, dst_pos, Address(sp, 0*BytesPerWord));
2402 assert_different_registers(c_rarg0, dst, dst_pos, lengt
[all...]
H A DstubGenerator_aarch64.cpp1934 // Also, clean the sign bits of src_pos and dst_pos.
1938 Register dst_pos, // destination position (c_rarg3)
1952 // if (dst_pos + length > arrayOop(dst)->length()) FAIL;
1954 __ addw(temp, length, dst_pos);
1958 // Have to clean up high 32 bits of 'src_pos' and 'dst_pos'.
1960 __ movw(dst_pos, dst_pos);
2032 // c_rarg3 - dst_pos (32-bits)
2051 const Register dst_pos = c_rarg3; // destination position
2070 // (3) dst_pos mus
[all...]
H A Dc1_CodeStubs_aarch64.cpp316 r[3] = dst_pos()->as_register();
H A Dc1_LIRGenerator_aarch64.cpp923 LIRItem dst_pos(x->argument_at(3), this);
941 dst_pos.load_item_force (FrameMap::as_opr(j_rarg3));
952 __ arraycopy(src.result(), src_pos.result(), dst.result(), dst_pos.result(), length.result(), tmp, expected_type, flags, info); // does add_safepoint
/openjdk10/hotspot/src/cpu/ppc/vm/
H A DstubGenerator_ppc.cpp2407 // Also, clean the sign bits of src_pos and dst_pos.
2411 Register dst_pos, // destination position
2426 // if (dst_pos + length > arrayOop(dst)->length() ) FAIL;
2428 __ add(end_pos, dst_pos, length); // src_pos + length
2443 // R6 - dst_pos
2464 const Register dst_pos = R6_ARG4; // destination position local
2488 // (3) dst_pos must not be negative.
2493 // (8) dst_pos + length must not exceed length of dst.
2500 __ extsw_(dst_pos, dst_pos); // i
2408 arraycopy_range_checks(Register src, Register src_pos, Register dst, Register dst_pos, Register length, Register temp1, Register temp2, Label& L_failed) argument
[all...]
H A Dc1_LIRAssembler_ppc.cpp1848 Register dst_pos = op->dst_pos()->as_register(); local
1867 assert(src->is_nonvolatile() && src_pos->is_nonvolatile() && dst->is_nonvolatile() && dst_pos->is_nonvolatile() &&
1873 __ extsw(R6_ARG4, dst_pos);
1895 __ add(dst_pos, tmp, dst_pos);
1944 // Test dst_pos register.
1945 __ cmpwi(tmp_check, dst_pos, 0);
1988 __ extsw(dst_pos, dst_pos);
[all...]
H A Dc1_LIRGenerator_ppc.cpp848 LIRItem dst_pos (x->argument_at(3), this);
856 dst_pos.load_item_force (FrameMap::R18_opr);
864 __ arraycopy(src.result(), src_pos.result(), dst.result(), dst_pos.result(),
/openjdk10/hotspot/src/share/vm/c1/
H A Dc1_Runtime1.hpp189 static int arraycopy(oopDesc* src, int src_pos, oopDesc* dst, int dst_pos, int length);
H A Dc1_Runtime1.cpp1404 JRT_LEAF(int, Runtime1::arraycopy(oopDesc* src, int src_pos, oopDesc* dst, int dst_pos, int length))
1409 if (src == NULL || dst == NULL || src_pos < 0 || dst_pos < 0 || length < 0) return ac_failed;
1412 if ((unsigned int) arrayOop(dst)->length() < (unsigned int)dst_pos + (unsigned int)length) return ac_failed;
1422 char* dst_addr = (char*) ((oopDesc**)dst + ihs) + (dst_pos << l2es);
1430 narrowOop *dst_addr = objArrayOop(dst)->obj_at_addr<narrowOop>(dst_pos);
1434 oop *dst_addr = objArrayOop(dst)->obj_at_addr<oop>(dst_pos);
H A Dc1_CodeStubs.hpp521 LIR_Opr dst_pos() const { return _op->dst_pos(); } function in class:ArrayCopyStub
H A Dc1_LIRGenerator.cpp750 Instruction* dst_pos = x->argument_at(3); local
842 is_constant_zero(dst_pos)) {
850 if (positive_constant(dst_pos))
870 if (is_constant_zero(dst_pos))
880 IntConstant* dst_int = dst_pos->type()->as_IntConstant();
895 } else if (src_pos == dst_pos || is_constant_zero(dst_pos)) {
/openjdk10/hotspot/src/cpu/x86/vm/
H A Dc1_LIRAssembler_x86.cpp3001 Register dst_pos = op->dst_pos()->as_register(); local
3022 store_parameter(dst_pos, 1);
3076 __ push(dst_pos);
3105 __ movptr (dst_pos, Address(rsp, 1*BytesPerWord));
3113 __ addl(dst_pos, tmp);
3184 __ testl(dst_pos, dst_pos);
3194 __ lea(tmp, Address(dst_pos, length, Address::times_1, 0));
3206 __ movl2ptr(dst_pos, dst_po
[all...]
H A DstubGenerator_x86_32.cpp1600 // Smashes src_pos and dst_pos. (Uses them up for temps.)
1604 Register dst_pos,
1609 const Register dst_end = dst_pos; // destination array end position
1611 __ addl(dst_end, length); // dst_pos + length
1617 // if (dst_pos + length > arrayOop(dst)->length() ) FAIL;
1632 // 16(rsp) - dst_pos
1684 // (3) dst_pos must not be negative.
1689 // (8) dst_pos + length must not exceed length of dst.
1695 const Register dst_pos = rdi; local
1713 // if (dst_pos <
1601 arraycopy_range_checks(Register src, Register src_pos, Register dst, Register dst_pos, Address& length, Label& L_failed) argument
[all...]
H A DstubGenerator_x86_64.cpp2510 // Also, clean the sign bits of src_pos and dst_pos.
2514 Register dst_pos, // destination position (c_rarg3)
2526 // if (dst_pos + length > arrayOop(dst)->length()) FAIL;
2528 __ addl(temp, dst_pos); // dst_pos + length
2532 // Have to clean up high 32-bits of 'src_pos' and 'dst_pos'.
2535 __ movslq(dst_pos, dst_pos);
2547 // c_rarg3 - dst_pos (32-bits)
2569 const Register dst_pos local
2511 arraycopy_range_checks(Register src, Register src_pos, Register dst, Register dst_pos, Register length, Register temp, Label& L_failed) argument
[all...]
/openjdk10/hotspot/src/cpu/sparc/vm/
H A Dc1_LIRAssembler_sparc.cpp1836 Register dst_pos = op->dst_pos()->as_register(); local
1847 __ sra(dst_pos, 0, dst_pos);
1862 __ mov(dst_pos, O3);
1883 __ delayed()->add(dst_pos, tmp, dst_pos);
1935 // test dst_pos register
1936 __ cmp_zero_and_br(Assembler::less, dst_pos, *stub->entry());
1956 __ add(length, dst_pos, tm
[all...]
H A DstubGenerator_sparc.cpp2658 // Also, clean the sign bits of src_pos and dst_pos.
2662 Register dst_pos, // destination position (O3)
2679 // if (dst_pos + length > arrayOop(dst)->length() ) FAIL;
2680 __ delayed()->add(length, dst_pos, end_pos); // dst_pos + length
2685 // Have to clean up high 32-bits of 'src_pos' and 'dst_pos'.
2688 __ signx(dst_pos, dst_pos);
2701 // O3 - dst_pos
2721 const Register dst_pos local
2659 arraycopy_range_checks(Register src, Register src_pos, Register dst, Register dst_pos, Register length, Register temp1, Register temp2, Label& L_failed) argument
[all...]
H A Dc1_LIRGenerator_sparc.cpp768 LIRItem dst_pos (x->argument_at(3), this);
775 dst_pos.load_item_force (rlock_callee_saved(T_INT));
782 __ arraycopy(src.result(), src_pos.result(), dst.result(), dst_pos.result(),
/openjdk10/hotspot/src/cpu/arm/vm/
H A DstubGenerator_arm.cpp3455 Register dst_pos, // destination position (32-bit int)
3472 // if (dst_pos + length > arrayOop(dst)->length() ) FAIL;
3473 __ add_32(end_pos, length, dst_pos); // dst_pos + length
3488 // R3 - dst_pos (32-bit int)
3502 const Register dst_pos = R3; // destination position
3541 // (3) dst_pos must not be negative.
3546 // (8) dst_pos + length must not exceed length of dst.
3559 // if (dst_pos < 0) return -1;
3560 __ cmp_32(dst_pos,
[all...]
H A Dc1_LIRAssembler_arm.cpp2749 Register dst_pos = op->dst_pos()->as_register(); local
2754 assert(src == R0 && src_pos == R1 && dst == R2 && dst_pos == R3, "code assumption");
2805 __ add_32(dst_pos, dst_pos, tmp);
2864 __ branch_if_negative_32(dst_pos, *stub->entry());
2870 __ branch_if_any_negative_32(src_pos, dst_pos, tmp, *stub->entry());
2876 __ branch_if_any_negative_32(dst_pos, length, tmp, *stub->entry());
2879 __ branch_if_any_negative_32(src_pos, dst_pos, length, tmp, *stub->entry());
2894 __ add_32(tmp, dst_pos, lengt
[all...]

Completed in 363 milliseconds

12