Home
last modified time | relevance | path

Searched refs:ecx (Results 1 – 25 of 26) sorted by relevance

12

/art/runtime/interpreter/mterp/x86ng/
Darithmetic.S8 movzbl 3(rPC), %ecx # ecx <- CC
10 GET_VREG %ecx, %ecx # ecx <- vCC
12 testl %ecx, %ecx
15 orl %ecx, %edx
22 cmpl $$-1, %ecx
33 idivl %ecx
59 movzx rINSTbl, %ecx # eax <- BA
61 sarl $$4, %ecx # ecx <- B
62 GET_VREG %ecx, %ecx # eax <- vBB
65 testl %ecx, %ecx
[all …]
Dinvoke.S20 movzwl 4(rPC), %ecx // arguments
22 andl $$0xf, %ecx
24 movl (rFP, %ecx, 4), %ecx
26 testl %ecx, %ecx
57 movzwl 4(rPC), %ecx // arguments
58 andl $$0xf, %ecx
59 movl (rFP, %ecx, 4), %ecx
61 testl %ecx, %ecx
69 movzwl 4(rPC), %ecx // arguments
70 movl (rFP, %ecx, 4), %ecx
[all …]
Darray.S10 movzbl 3(rPC), %ecx # ecx <- CC
12 GET_VREG %ecx, %ecx # ecx <- vCC (requested index)
15 cmpl MIRROR_ARRAY_LENGTH_OFFSET(%eax), %ecx
18 movq $data_offset(%eax,%ecx,8), %xmm0
23 $load $data_offset(%eax,%ecx,$multiplier), %eax
35 $load $data_offset(%eax,%ecx,$multiplier), %eax
67 movzbl 3(rPC), %ecx # ecx <- CC
69 GET_VREG %ecx, %ecx # ecx <- vCC (requested index)
72 cmpl MIRROR_ARRAY_LENGTH_OFFSET(%eax), %ecx
76 movq %xmm0, $data_offset(%eax,%ecx,8) # vBB[vCC] <- xmm0
[all …]
Dfloating_point.S19 movzbl 3(rPC), %ecx # ecx<- CC
23 ucomis${suff} VREG_ADDRESS(%ecx), %xmm0
42 movzbl rINSTbl, %ecx # ecx <- A+
45 andb $$0xf, %cl # ecx <- A
47 $store VREG_ADDRESS(%ecx) # vA <- %st0
49 CLEAR_WIDE_REF %ecx
51 CLEAR_REF %ecx
56 movzbl 2(rPC), %ecx # ecx <- BB
58 GET_VREG_XMM${suff} %xmm0, %ecx # %xmm0 <- 1st src
73 movzx rINSTbl, %ecx # ecx <- A+
[all …]
Dother.S12 movswl 2(rPC), %ecx # ecx <- ssssBBBB
13 SET_VREG %ecx, rINST # vAA <- ssssBBBB
75 movzbl rINSTbl, %ecx # ecx <- AA
77 SET_VREG %eax, %ecx
78 SET_VREG_HIGH rINST, %ecx
84 movl rIBASE, %ecx # preserve rIBASE (cdq trashes it)
88 movl %ecx, rIBASE # restore rIBASE
94 movl rIBASE, %ecx # preserve rIBASE (cdq trashes it)
98 movl %ecx, rIBASE # restore rIBASE
142 GET_VREG %ecx, rINST
[all …]
Dmain.S42 #define ARG1 %ecx
62 #define rNEW_FP %ecx
173 movzx rINSTbl,%ecx
175 shll MACRO_LITERAL(${handler_size_bits}), %ecx
176 addl rIBASE, %ecx
177 jmp *%ecx
218 PUSH_ARG ecx
226 POP_ARG ecx
273 PUSH_ARG ecx
309 movzwl ART_METHOD_HOTNESS_COUNT_OFFSET(%eax), %ecx
[all …]
Dobject.S10 POISON_HEAP_REF ecx // Poison class reference for in-memory comparison.
11 cmpl MIRROR_OBJECT_CLASS_OFFSET(%eax), %ecx
21 movl %eax, %ecx
25 UNPOISON_HEAP_REF ecx // Unpoison class reference poisoned in main path.
50 POISON_HEAP_REF ecx // Poison class reference for in-memory comparison.
51 cmpl MIRROR_OBJECT_CLASS_OFFSET(%eax), %ecx
65 movl %eax, %ecx
69 UNPOISON_HEAP_REF ecx // Unpoison class reference poisoned in main path.
72 testl $$MIRROR_CLASS_IS_INTERFACE_FLAG, MIRROR_CLASS_ACCESS_FLAGS_OFFSET(%ecx)
74 cmpl $$0, MIRROR_CLASS_COMPONENT_TYPE_OFFSET(%ecx)
[all …]
Dcontrol_flow.S10 movl rINST, %ecx # rcx <- A+
13 GET_VREG %eax, %ecx # eax <- vA
119 GET_VREG ARG1, rINST # ecx <- vAA
/art/runtime/arch/x86/
Dmemcmp16_x86.S50 movl LEN(%esp), %ecx
52 shl $1, %ecx
56 cmp $48, %ecx
61 add %ecx, %edx
62 add %ecx, %eax
93 add %edx, %ecx
117 cmp $80, %ecx
119 lea -48(%ecx), %ecx
132 lea (%ecx, %edi,1), %eax
133 lea (%ecx, %esi,1), %edx
[all …]
Dquick_entrypoints_x86.S96 POP ecx // Restore args except eax
116 PUSH ecx
179 POP ecx
250 PUSH ecx // pass arg2
333 PUSH ecx // pass arg2
348 POP ecx // Restore args except eax
474 movl 28(%ebp), %ecx // ECX = size of args
482 mov 0(%edi), %ecx // ECX := this pointer
513 mov 20(%esp), %ecx // get result pointer
514 mov %eax, (%ecx) // store the result assuming its a long, int or Object*
[all …]
Djni_entrypoints_x86.S29 PUSH_ARG ecx
46 POP_ARG ecx
132 movl (%esp), %ecx
138 PUSH_ARG ecx // Pass caller PC.
155 movl %eax, %ecx
156 shrl LITERAL(2), %ecx
176 leal 1(%eax), %ecx // Prepare managed SP tagged for a GenericJNI frame.
188 movl %eax, %ecx // Prepare untagged managed SP for the runtime method.
208 movl %ecx, %fs:THREAD_TOP_QUICK_FRAME_OFFSET
240 movl %ebx, %ecx
[all …]
Dasm_support_x86.S343 PUSH_ARG ecx
369 POP_ARG ecx // Restore args
/art/runtime/interpreter/mterp/x86_64ng/
Darithmetic.S10 GET_WIDE_VREG $second, %rcx # ecx <- vCC
13 GET_VREG $second, %rcx # ecx <- vCC
66 movl rINST, %ecx # rcx <- BA
67 sarl $$4, %ecx # rcx <- B
71 GET_WIDE_VREG $second, %rcx # ecx <- vB
74 GET_VREG $second, %rcx # ecx <- vB
131 movswl 2(rPC), %ecx # ecx <- ssssCCCC
133 testl %ecx, %ecx
135 cmpl $$-1, %ecx
138 idivl %ecx
[all …]
Dfloating_point.S19 movzbq 3(rPC), %rcx # ecx<- CC
42 movl rINST, %ecx # rcx <- A+
44 andb $$0xf, %cl # ecx <- A
56 movzbq 2(rPC), %rcx # ecx <- BB
73 movl rINST, %ecx # ecx <- A+
74 andl $$0xf, %ecx # ecx <- A
176 movzbq 3(rPC), %rcx # ecx <- BB
192 movzbq rINSTbl, %rcx # ecx <- A+
195 andb $$0xf, %cl # ecx <- A
209 movzbq 3(rPC), %rcx # ecx <- BB
[all …]
Dobject.S56 movl MIRROR_CLASS_COMPONENT_TYPE_OFFSET(%esi), %ecx
57 UNPOISON_HEAP_REF ecx
58 cmpl $$0, MIRROR_CLASS_SUPER_CLASS_OFFSET(%ecx)
60 cmpw $$0, MIRROR_CLASS_OBJECT_PRIMITIVE_TYPE_OFFSET(%ecx)
137 movl MIRROR_CLASS_COMPONENT_TYPE_OFFSET(%esi), %ecx
138 UNPOISON_HEAP_REF ecx
139 cmpl $$0, MIRROR_CLASS_SUPER_CLASS_OFFSET(%ecx)
141 cmpw $$0, MIRROR_CLASS_OBJECT_PRIMITIVE_TYPE_OFFSET(%ecx)
145 xorl %ecx, %ecx
148 SET_VREG %ecx, rINSTq
Dother.S12 movswl 2(rPC), %ecx # ecx <- ssssBBBB
13 SET_VREG %ecx, rINSTq # vAA <- ssssBBBB
138 movzwq 4(rPC), %rcx # ecx <- BBBB
197 movl rINST, %ecx # ecx <- BA
199 andb $$0xf, %cl # ecx <- A
207 movzwq 4(rPC), %rcx # ecx<- BBBB
216 movzwl 2(rPC), %ecx # ecx <- BBBB
Darray.S10 movzbq 3(rPC), %rcx # ecx <- CC
12 GET_VREG %esi, %rcx # ecx <- vCC (requested index)
117 GET_VREG %ecx, rINSTq # ecx <- vB (object ref)
118 testl %ecx, %ecx # is null?
Dmain.S54 #define OUT_32_ARG3 %ecx
121 movzx rINSTbl,%ecx
123 shll MACRO_LITERAL(${handler_size_bits}), %ecx
890 movzwl 4(rPC), %ecx
936 movl %ecx, %eax
944 movl %ecx, %eax
953 movl %ecx, %eax
965 movl %ecx, %eax
993 addl $$1, %ecx
996 addl $$1, %ecx
[all …]
Dinvoke.S93 movzw ART_METHOD_IMT_INDEX_OFFSET(%rax), %ecx
107 movzw ART_METHOD_METHOD_INDEX_OFFSET(%rax), %ecx
108 andl $$ART_METHOD_IMT_MASK, %ecx
Dcontrol_flow.S10 movl rINST, %ecx # rcx <- A+
/art/runtime/arch/x86_64/
Dquick_entrypoints_x86_64.S458 movl %r10d, %ecx // Place size of args in rcx.
470 LOOP_OVER_SHORTY_LOADING_GPRS rcx, ecx, .Lgpr_setup_finished
552 movl %r10d, %ecx // Place size of args in rcx.
563 LOOP_OVER_SHORTY_LOADING_GPRS rcx, ecx, .Lgpr_setup_finished2
896 movl MIRROR_CLASS_OBJECT_SIZE_ALLOC_FAST_PATH_OFFSET(%rdi), %ecx // Load the object size.
969 movl MIRROR_CLASS_COMPONENT_TYPE_OFFSET(%rdi), %ecx // Load component type.
970 UNPOISON_HEAP_REF ecx
971 movl MIRROR_CLASS_OBJECT_PRIMITIVE_TYPE_OFFSET(%rcx), %ecx // Load primitive type.
1092 LOCK_OBJECT_FAST_PATH rdi, ecx, art_quick_lock_object_no_inline
1116 UNLOCK_OBJECT_FAST_PATH rdi, ecx, /*saved_rax*/ none, art_quick_unlock_object_no_inline
[all …]
Dmemcmp16_x86_64.S798 mov -4(%rsi), %ecx
800 cmp %eax, %ecx
839 movzwl -2(%rsi), %ecx
843 and $0xffff, %ecx
844 sub %ecx, %eax
863 mov -6(%rsi), %ecx
864 cmp %eax, %ecx
867 movzwl -2(%rsi), %ecx
872 and $0xffff, %ecx
873 sub %ecx, %eax
[all …]
/art/runtime/
Dtrace.cc172 uint32_t eax, ebx, ecx; in GetScalingFactorForX86() local
173 asm volatile("cpuid" : "=a"(eax), "=b"(ebx), "=c"(ecx) : "a"(0x0), "c"(0)); in GetScalingFactorForX86()
195 asm volatile("cpuid" : "=a"(eax), "=b"(ebx), "=c"(ecx) : "a"(0x15), "c"(0)); in GetScalingFactorForX86()
196 if (ebx == 0 || ecx == 0) { in GetScalingFactorForX86()
199 double coreCrystalFreq = ecx; in GetScalingFactorForX86()
/art/compiler/jni/
Djni_cfi_test_expected.inc226 // 0x00000007: mov [esp + 36], ecx
304 // 0x0000003c: mov [rsp + 116], ecx
/art/compiler/optimizing/
Dintrinsics_x86.cc1038 Register ecx = locations->GetTemp(0).AsRegister<Register>(); in VisitStringEquals() local
1071 __ movl(ecx, Address(str, class_offset)); in VisitStringEquals()
1073 __ cmpl(ecx, Address(arg, class_offset)); in VisitStringEquals()
1082 __ movl(ecx, Address(str, count_offset)); in VisitStringEquals()
1086 __ cmpl(ecx, Address(arg, count_offset)); in VisitStringEquals()
1097 __ shrl(ecx, Immediate(1)); in VisitStringEquals()
1100 __ addl(ecx, Immediate(1)); in VisitStringEquals()
1101 __ shrl(ecx, Immediate(1)); in VisitStringEquals()
1110 __ addl(ecx, Immediate(1)); in VisitStringEquals()
1111 __ shrl(ecx, Immediate(1)); in VisitStringEquals()

12