Lines Matching refs:r2
125 .cfi_rel_offset r2, 4
169 .cfi_restore r2
213 .cfi_rel_offset r2, 8
236 .cfi_restore r2
655 mov r2, r10
658 bl memcpy @ memcpy (dest r0, src r1, bytes r2)
695 ldrex r2, [r0, #MIRROR_OBJECT_LOCK_WORD_OFFSET]
696 eor r3, r2, r1 @ Prepare the value to store if unlocked
700 ands ip, r2, #LOCK_WORD_GC_STATE_MASK_SHIFTED_TOGGLED @ Test the non-gc bits.
703 strex r2, r3, [r0, #MIRROR_OBJECT_LOCK_WORD_OFFSET]
704 cbnz r2, .Llock_strex_fail @ If store failed, retry.
707 .Lnot_unlocked: @ r2: original lock word, r1: thread_id, r3: r2 ^ r1
779 sub r3, r2, #LOCK_WORD_THIN_LOCK_COUNT_ONE @ Decrement recursive lock count.
783 strex r2, r3, [r0, #MIRROR_OBJECT_LOCK_WORD_OFFSET] @ strex necessary for read barrier bits.
784 cbnz r2, .Lunlock_strex_fail @ If the store failed, retry.
817 push {r0-r2, lr} @ save arguments, padding (r2) and link register
821 .cfi_rel_offset r2, 8
825 pop {r0-r2, pc}
828 pop {r0-r2, lr}
832 .cfi_restore r2
836 SETUP_SAVE_ALL_CALLEE_SAVES_FRAME r2 @ save all registers as basis for long jump context
837 mov r2, rSELF @ pass Thread::Current
867 .cfi_rel_offset r2, 8
877 mov r2, #\offset @ pass offset
887 POP_REG_NE r2, 8, \rDest
908 tst r2, r2
911 cbz r2, .Ldo_aput_null
914 READ_BARRIER ip, r2, MIRROR_OBJECT_CLASS_OFFSET
920 POISON_HEAP_REF r2
921 str r2, [r3, r1, lsl #2]
928 str r2, [r3, r1, lsl #2]
931 push {r0-r2, lr} @ save arguments
935 .cfi_rel_offset r2, 8
941 pop {r0-r2, lr}
944 .cfi_restore r2
948 POISON_HEAP_REF r2
949 str r2, [r3, r1, lsl #2]
955 pop {r0-r2, lr}
958 mov r1, r2
959 mov r2, rSELF @ pass Thread::Current
981 SETUP_SAVE_REFS_ONLY_FRAME r2 @ save callee saves in case of GC
982 mov r2, rSELF @ pass Thread::Current
1069 SETUP_SAVE_REFS_ONLY_FRAME r2 @ save callee saves in case of GC
1072 ldr r2, [rSELF, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
1075 cbnz r2, 1f @ success if no exception pending
1095 SETUP_SAVE_REFS_ONLY_FRAME r2 @ save callee saves in case of GC
1096 mov r2, rSELF @ pass Thread::Current
1098 ldr r2, [rSELF, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
1101 cbnz r2, 1f @ success if no exception pending
1129 @ r2:r3 contain the wide argument
1144 @ r2:r3 contain the wide argument
1293 SETUP_SAVE_REFS_ONLY_FRAME r2 @ save callee saves in case of GC
1333 ldr r2, [rSELF, #THREAD_LOCAL_POS_OFFSET]
1334 add r1, r2, r3
1357 str r0, [r2, #MIRROR_OBJECT_CLASS_OFFSET] // Store the class pointer.
1362 mov r0, r2
1386 SETUP_SAVE_REFS_ONLY_FRAME r2 // Save callee saves in case of GC.
1407 and r2, r2, #OBJECT_ALIGNMENT_MASK_TOGGLED // Apply alignment mask
1418 cmp r2, r12 // Check if the total_size fits.
1423 add r2, r2, r3
1424 str r2, [rSELF, #THREAD_LOCAL_POS_OFFSET] // Store new thread_local_pos.
1425 ldr r2, [rSELF, #THREAD_LOCAL_OBJECTS_OFFSET] // Increment thread_local_objects.
1426 add r2, r2, #1
1427 str r2, [rSELF, #THREAD_LOCAL_OBJECTS_OFFSET]
1458 SETUP_SAVE_REFS_ONLY_FRAME r2 // save callee saves in case of GC
1459 mov r2, rSELF // pass Thread::Current
1472 movw r2, #((MIN_LARGE_OBJECT_THRESHOLD - MIRROR_WIDE_ARRAY_DATA_OFFSET) / 8)
1473 cmp r1, r2
1482 lsl r2, r1, r3 // Calculate data size
1484 add r2, r2, #(MIRROR_INT_ARRAY_DATA_OFFSET + OBJECT_ALIGNMENT_MASK)
1493 add r2, r2, r3
1499 movw r2, #(MIN_LARGE_OBJECT_THRESHOLD - MIRROR_INT_ARRAY_DATA_OFFSET)
1500 cmp r1, r2
1503 add r2, r1, #(MIRROR_INT_ARRAY_DATA_OFFSET + OBJECT_ALIGNMENT_MASK)
1509 movw r2, #((MIN_LARGE_OBJECT_THRESHOLD - MIRROR_INT_ARRAY_DATA_OFFSET) / 2)
1510 cmp r1, r2
1512 lsl r2, r1, #1
1514 add r2, r2, #(MIRROR_INT_ARRAY_DATA_OFFSET + OBJECT_ALIGNMENT_MASK)
1520 movw r2, #((MIN_LARGE_OBJECT_THRESHOLD - MIRROR_INT_ARRAY_DATA_OFFSET) / 4)
1521 cmp r1, r2
1523 lsl r2, r1, #2
1525 add r2, r2, #(MIRROR_INT_ARRAY_DATA_OFFSET + OBJECT_ALIGNMENT_MASK)
1531 movw r2, #((MIN_LARGE_OBJECT_THRESHOLD - MIRROR_LONG_ARRAY_DATA_OFFSET) / 8)
1532 cmp r1, r2
1534 lsl r2, r1, #3
1536 add r2, r2, #(MIRROR_WIDE_ARRAY_DATA_OFFSET + OBJECT_ALIGNMENT_MASK)
1582 mov r2, rSELF @ pass Thread::Current
1585 ldr r2, [rSELF, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
1591 cbnz r2, 1f @ success if no exception is pending
1607 push {r1-r2}
1610 .cfi_rel_offset r2, 4
1612 ldr r2, [r0, #ART_METHOD_JNI_OFFSET_32] // Load ImtConflictTable
1646 ldr r4, [r2] // Load first entry in ImtConflictTable.
1656 ldr r4, [r2, #(2 * __SIZEOF_POINTER__)]!
1661 ldr r0, [r2, #__SIZEOF_POINTER__]
1663 pop {r1-r2}
1666 .cfi_restore r2
1673 pop {r1-r2}
1676 .cfi_restore r2
1684 push {r2-r4, lr}
1700 pop {r2-r4, lr}
1712 SETUP_SAVE_REFS_AND_ARGS_FRAME r2
1713 mov r2, rSELF @ pass Thread::Current
1781 mov r2, r0
1790 ldr r2, [rSELF, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
1791 cbnz r2, .Lexception_in_native
1823 mov r2, sp @ pass SP
1825 ldr r2, [rSELF, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
1831 cbnz r2, 1f @ success if no exception is pending
2032 * r2: Starting offset in string data
2052 cmp r2, #0
2054 movlt r2, #0
2055 cmp r2, r3
2057 movgt r2, r3
2067 add r0, r0, r2, lsl #1
2071 sub r2, r3, r2
2083 subs r2, #4
2099 subs r2, #4
2103 adds r2, #4
2110 subs r2, #1
2138 add r0, r0, r2
2140 sub r2, r3, r2
2142 subs r2, #1
2165 vmov r2, r3, d1
2235 CONDITIONAL_CBZ \reg, r2, \dest
2298 .cfi_rel_offset r2, 8
2321 .ifc \reg, r2
2345 .cfi_restore r2
2362 READ_BARRIER_MARK_REG art_quick_read_barrier_mark_reg02, r2
2377 \macro_for_register r2
2436 .cfi_rel_offset r2, 8
2453 .cfi_restore r2
2717 SETUP_SAVE_REFS_AND_ARGS_FRAME r2
2720 mov r2, sp @ r2 := SP
2726 RETURN_OR_DELIVER_PENDING_EXCEPTION_REG r2
2734 mov r2, sp @ r2 := SP
2740 RETURN_OR_DELIVER_PENDING_EXCEPTION_REG r2
2752 mov r4, r2 // r4 = DEX PC