Lines Matching refs:ecx

152     POP ecx  // Restore args except eax
172 PUSH ecx
236 POP ecx
321 PUSH ecx // pass arg2
405 PUSH ecx // pass arg2
422 POP ecx // Restore args except eax
549 movl 28(%ebp), %ecx // ECX = size of args
557 mov 0(%edi), %ecx // ECX := this pointer
588 mov 20(%esp), %ecx // get result pointer
589 mov %eax, (%ecx) // store the result assuming its a long, int or Object*
590 mov %edx, 4(%ecx) // store the other half of the result
598 movsd %xmm0, (%ecx) // store the floating point result
601 movss %xmm0, (%ecx) // store the floating point result
646 movl 28(%ebp), %ecx // ECX = size of args
661 movl (%edi), %ecx
685 movl (%edi), %ecx
705 mov 20(%esp), %ecx // get result pointer
706 mov %eax, (%ecx) // store the result assuming its a long, int or Object*
707 mov %edx, 4(%ecx) // store the other half of the result
715 movsd %xmm0, (%ecx) // store the floating point result
718 movss %xmm0, (%ecx) // store the floating point result
746 PUSH ecx // pass arg2
763 PUSH ecx // pass arg2
784 PUSH ecx // pass arg2
818 PUSH ecx // pass arg2
835 PUSH ecx // pass arg2
940 movl THREAD_LOCAL_ALLOC_STACK_TOP_OFFSET(%ebx), %ecx
941 cmpl THREAD_LOCAL_ALLOC_STACK_END_OFFSET(%ebx), %ecx
944 movl MIRROR_CLASS_OBJECT_SIZE_ALLOC_FAST_PATH_OFFSET(%eax), %ecx // Load the object size (ecx)
948 cmpl LITERAL(ROSALLOC_MAX_THREAD_LOCAL_BRACKET_SIZE), %ecx
950 shrl LITERAL(ROSALLOC_BRACKET_QUANTUM_SIZE_SHIFT), %ecx // Calculate the rosalloc bracket index
956 movl (THREAD_ROSALLOC_RUNS_OFFSET - __SIZEOF_POINTER__)(%ebx, %ecx, __SIZEOF_POINTER__), %ebx
959 movl (ROSALLOC_RUN_FREE_LIST_OFFSET + ROSALLOC_RUN_FREE_LIST_HEAD_OFFSET)(%ebx), %ecx
966 movl ROSALLOC_SLOT_NEXT_OFFSET(%ecx), %edx
978 movl %eax, MIRROR_OBJECT_CLASS_OFFSET(%ecx)
985 movl %ecx, (%eax)
989 movl %ecx, %eax // Move object to return register
1017 movl MIRROR_CLASS_OBJECT_SIZE_ALLOC_FAST_PATH_OFFSET(%eax), %ecx // Load the object size.
1018 cmpl %edi, %ecx // Check if it fits.
1022 addl %edx, %ecx // Add the object size.
1023 movl %ecx, THREAD_LOCAL_POS_OFFSET(%ebx) // Update thread_local_pos.
1090 movl %ecx, MIRROR_ARRAY_LENGTH_OFFSET(%edi)
1101 cmpl LITERAL((MIN_LARGE_OBJECT_THRESHOLD - MIRROR_WIDE_ARRAY_DATA_OFFSET) / 8), %ecx
1103 PUSH ecx
1104 movl %ecx, %edx
1105 movl MIRROR_CLASS_COMPONENT_TYPE_OFFSET(%eax), %ecx // Load component type.
1106 UNPOISON_HEAP_REF ecx
1107 movl MIRROR_CLASS_OBJECT_PRIMITIVE_TYPE_OFFSET(%ecx), %ecx // Load primitive type.
1108 shr MACRO_LITERAL(PRIMITIVE_TYPE_SIZE_SHIFT_SHIFT), %ecx // Get component size shift.
1113 add MACRO_LITERAL(1), %ecx
1114 and MACRO_LITERAL(4), %ecx
1118 addl %ecx, %edx
1119 POP ecx
1126 cmpl LITERAL(MIN_LARGE_OBJECT_THRESHOLD - MIRROR_INT_ARRAY_DATA_OFFSET), %ecx
1129 leal (MIRROR_INT_ARRAY_DATA_OFFSET + OBJECT_ALIGNMENT_MASK)(%ecx), %edx
1136 cmpl LITERAL((MIN_LARGE_OBJECT_THRESHOLD - MIRROR_INT_ARRAY_DATA_OFFSET) / 2), %ecx
1139 leal ((MIRROR_INT_ARRAY_DATA_OFFSET + OBJECT_ALIGNMENT_MASK) / 2)(%ecx), %edx
1147 cmpl LITERAL((MIN_LARGE_OBJECT_THRESHOLD - MIRROR_INT_ARRAY_DATA_OFFSET) / 4), %ecx
1150 leal ((MIRROR_INT_ARRAY_DATA_OFFSET + OBJECT_ALIGNMENT_MASK) / 4)(%ecx), %edx
1158 cmpl LITERAL((MIN_LARGE_OBJECT_THRESHOLD - MIRROR_WIDE_ARRAY_DATA_OFFSET) / 8), %ecx
1161 leal ((MIRROR_WIDE_ARRAY_DATA_OFFSET + OBJECT_ALIGNMENT_MASK) / 8)(%ecx), %edx
1178 PUSH ecx
1214 movl MIRROR_OBJECT_LOCK_WORD_OFFSET(%eax), %ecx // ecx := lock word
1215 test LITERAL(LOCK_WORD_STATE_MASK_SHIFTED), %ecx // test the 2 high bits.
1217 movl %ecx, %edx // save lock word (edx) to keep read barrier bits.
1218 andl LITERAL(LOCK_WORD_GC_STATE_MASK_SHIFTED_TOGGLED), %ecx // zero the gc bits.
1219 test %ecx, %ecx
1222 movl %eax, %ecx // remember object in case of retry
1226 lock cmpxchg %edx, MIRROR_OBJECT_LOCK_WORD_OFFSET(%ecx) // eax: old val, edx: new val.
1230 movl %fs:THREAD_ID_OFFSET, %ecx // ecx := thread id
1233 movl %edx, %ecx // copy the lock word to check count overflow.
1234 andl LITERAL(LOCK_WORD_GC_STATE_MASK_SHIFTED_TOGGLED), %ecx // zero the read barrier bits.
1235 …addl LITERAL(LOCK_WORD_THIN_LOCK_COUNT_ONE), %ecx // increment recursion count for overflow check.
1236 …test LITERAL(LOCK_WORD_GC_STATE_MASK_SHIFTED), %ecx // overflowed if the first gc state bit is se…
1238 movl %eax, %ecx // save obj to use eax for cmpxchg.
1242 lock cmpxchg %edx, MIRROR_OBJECT_LOCK_WORD_OFFSET(%ecx) // eax: old val, edx: new val.
1246 movl %ecx, %eax // restore eax
1283 movl MIRROR_OBJECT_LOCK_WORD_OFFSET(%eax), %ecx // ecx := lock word
1285 test LITERAL(LOCK_WORD_STATE_MASK_SHIFTED), %ecx
1289 movl %ecx, %edx // copy the lock word to detect new count of 0.
1295 movl %ecx, %eax // eax: old lock word.
1296 …andl LITERAL(LOCK_WORD_GC_STATE_MASK_SHIFTED), %ecx // ecx: new lock word zero except original rb…
1298 movl %ecx, MIRROR_OBJECT_LOCK_WORD_OFFSET(%edx)
1300 lock cmpxchg %ecx, MIRROR_OBJECT_LOCK_WORD_OFFSET(%edx) // eax: old val, ecx: new val.
1307 movl %ecx, %eax // eax: old lock word.
1308 subl LITERAL(LOCK_WORD_THIN_LOCK_COUNT_ONE), %ecx // ecx: new lock word with decremented count.
1310 mov %ecx, MIRROR_OBJECT_LOCK_WORD_OFFSET(%edx)
1312 lock cmpxchg %ecx, MIRROR_OBJECT_LOCK_WORD_OFFSET(%edx) // eax: old val, ecx: new val.
1351 PUSH ecx // pass arg2 - obj->klass
1361 testl %ecx, %ecx
1365 PUSH ecx // pass arg2 - checked class
1377 POP ecx
1387 PUSH ecx // pass arg2
1415 PUSH ecx
1428 POP_REG_NE ecx, RAW_VAR(dest_reg) // Restore args except dest_reg
1463 movl %edx, MIRROR_OBJECT_ARRAY_DATA_OFFSET(%eax, %ecx, 4)
1469 movl %edx, MIRROR_OBJECT_ARRAY_DATA_OFFSET(%eax, %ecx, 4)
1473 PUSH ecx
1501 POP ecx
1504 movl %edx, MIRROR_OBJECT_ARRAY_DATA_OFFSET(%eax, %ecx, 4) // do the aput
1512 POP ecx
1528 PUSH ecx // pass arg2
1575 PUSH ecx // pass arg2 a.hi
1588 PUSH ecx // pass arg2 a.hi
1598 imul %edx, %ecx // ecx = b.lo(edx) * a.hi(ecx)
1600 add %ebx, %ecx
1601 add %ecx, %edx // edx += (a.lo * b.hi) + (b.lo * a.hi)
1607 xchg %edx, %ecx
1620 xchg %edx, %ecx
1633 xchg %edx, %ecx
1686 PUSH ecx // pass object
1700 PUSH ecx // pass receiver
1739 mov %ecx, %edx // Make EDX:EAX == ECX:EBX so that LOCK CMPXCHG8B makes no changes.
1780 PUSH ecx
1807 POP ecx
1821 PUSH ecx // pass receiver
1902 POP ecx
1967 PUSH ecx // Pass receiver.
1992 movl 40(%esp), %ecx // Restore ecx.
2013 movl %esp, %ecx // Remember SP
2023 PUSH ecx // Pass SP
2029 movl 16(%esp), %ecx
2030 movl %ecx, (80+32)(%esp)
2090 mov MIRROR_STRING_COUNT_OFFSET(%ecx), %ebx
2092 lea MIRROR_STRING_VALUE_OFFSET(%ecx), %edi
2106 mov %edx, %ecx
2107 cmovg %ebx, %ecx
2122 mov %edx, %ecx
2123 cmovg %ebx, %ecx
2137 mov %edx, %ecx
2140 cmovg %ebx, %ecx
2145 movzbl -1(%edi), %ecx // get last compared char from comp string (8-bit)
2150 mov %edx, %ecx
2153 cmovg %ebx, %ecx
2165 movzwl -2(%edi), %ecx // get last compared char from comp string (16-bit)
2167 subl %ecx, %eax
2227 PUSH ecx
2270 POP_REG_NE ecx, RAW_VAR(reg)
2284 READ_BARRIER_MARK_REG art_quick_read_barrier_mark_reg01, ecx
2295 PUSH ecx // pass arg2 - obj
2332 mov 8+16(%esp), %ecx // ECX = size of args
2358 mov 16(%esp), %ecx // Get JValue result
2359 mov %eax, (%ecx) // Store the result.
2360 mov %edx, 4(%ecx) // Store the other half of the result.
2364 subl LITERAL(4), %ecx // Given stack size contains pushed frame pointer, substract it.
2365 subl %ecx, %esp
2381 push %ecx // Push receiver (method handle)
2396 mov %esp, %ecx // Remember SP.
2399 push %ecx // pass SP
2423 mov 8(%esp), %ecx // ECX = Context argument for the function
2428 push %ecx // Push argument
2446 PUSH ecx
2447 movl %eax, %ecx // eax will be used for cmpxchg
2450 cmpl %ecx, %eax
2454 lock cmpxchg %ecx, INLINE_CACHE_CLASSES_OFFSET(%ebp)
2459 cmpl %ecx, %eax
2463 lock cmpxchg %ecx, (INLINE_CACHE_CLASSES_OFFSET+4)(%ebp)
2468 cmpl %ecx, %eax
2472 lock cmpxchg %ecx, (INLINE_CACHE_CLASSES_OFFSET+8)(%ebp)
2477 cmpl %ecx, %eax
2481 lock cmpxchg %ecx, (INLINE_CACHE_CLASSES_OFFSET+12)(%ebp)
2486 movl %ecx, (INLINE_CACHE_CLASSES_OFFSET+16)(%ebp)
2489 movl %ecx, %eax
2490 POP ecx