Home
last modified time | relevance | path

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

12

/bionic/libc/arch-x86/string/
Dsse2-strlen-slm.S88 mov %edx, %ecx
89 and $0x3f, %ecx
91 cmp $0x30, %ecx
95 pmovmskb %xmm0, %ecx
96 test %ecx, %ecx
107 sub %eax, %ecx
109 pmovmskb %xmm0, %ecx
110 and %edi, %ecx
119 pmovmskb %xmm0, %ecx
120 test %ecx, %ecx
[all …]
Dssse3-wcscpy-atom.S93 mov STR2(%esp), %ecx
95 cmpl $0, (%ecx)
97 cmpl $0, 4(%ecx)
99 cmpl $0, 8(%ecx)
101 cmpl $0, 12(%ecx)
108 lea 16(%ecx), %esi
114 movdqu (%ecx), %xmm1
118 sub %ecx, %esi
128 sub %eax, %ecx
129 mov %ecx, %eax
[all …]
Dssse3-strcpy-atom.S124 mov STR2(%esp), %ecx
130 cmpb $0, (%ecx)
132 cmpb $0, 1(%ecx)
134 cmpb $0, 2(%ecx)
136 cmpb $0, 3(%ecx)
138 cmpb $0, 4(%ecx)
140 cmpb $0, 5(%ecx)
142 cmpb $0, 6(%ecx)
144 cmpb $0, 7(%ecx)
150 cmpb $0, 8(%ecx)
[all …]
Dssse3-strlcpy-atom.S40 add %esi, %ecx
58 movl (%ecx), %eax
61 lea 3(%ecx), %eax
74 movlpd (%ecx), %xmm0
77 lea 7(%ecx), %eax
94 movlpd (%ecx), %xmm0
96 movl 8(%ecx), %eax
99 lea 11(%ecx), %eax
112 movlpd (%ecx), %xmm0
113 movlpd 8(%ecx), %xmm1
[all …]
Dsse2-wcscmp-atom.S95 mov (%eax), %ecx
96 cmp %ecx, (%edx)
98 test %ecx, %ecx
101 mov 4(%eax), %ecx
102 cmp %ecx, 4(%edx)
104 test %ecx, %ecx
107 mov 8(%eax), %ecx
108 cmp %ecx, 8(%edx)
110 test %ecx, %ecx
113 mov 12(%eax), %ecx
[all …]
Dsse2-memmove-slm.S100 movl LEN(%esp), %ecx
111 cmp $16, %ecx
114 cmpl $32, %ecx
119 movdqu -16(%eax, %ecx), %xmm1
121 movdqu %xmm1, -16(%edx, %ecx)
125 cmpl $64, %ecx
131 movdqu -16(%eax, %ecx), %xmm2
132 movdqu -32(%eax, %ecx), %xmm3
135 movdqu %xmm2, -16(%edx, %ecx)
136 movdqu %xmm3, -32(%edx, %ecx)
[all …]
Dssse3-memcmp-atom.S107 movl LEN(%esp), %ecx
110 shl $2, %ecx
113 shl $1, %ecx
118 cmp $48, %ecx
123 cmp $1, %ecx
128 add %ecx, %edx
129 add %ecx, %eax
174 add %edx, %ecx
244 cmp $80, %ecx
246 lea -48(%ecx), %ecx
[all …]
Dssse3-strlcat-atom.S111 movl SRC(%esp), %ecx
125 mov %ecx, %edi
131 cmpb $0, (%ecx)
133 cmpb $0, 1(%ecx)
135 cmpb $0, 2(%ecx)
137 cmpb $0, 3(%ecx)
139 cmpb $0, 4(%ecx)
141 cmpb $0, 5(%ecx)
143 cmpb $0, 6(%ecx)
145 cmpb $0, 7(%ecx)
[all …]
Dssse3-memcpy-atom.S134 movl LEN(%esp), %ecx
142 cmp $32, %ecx
148 add %ecx, %eax
155 cmp $48, %ecx
163 add %ecx, %edx
164 add %ecx, %eax
165 BRANCH_TO_JMPTBL_ENTRY (L(table_48bytes_fwd), %ecx, 4)
169 BRANCH_TO_JMPTBL_ENTRY (L(table_48_bytes_bwd), %ecx, 4)
187 add %edi, %ecx
191 cmp $SHARED_CACHE_SIZE_HALF, %ecx
[all …]
Dsse2-memrchr-atom.S88 mov STR1(%esp), %ecx
98 add %edx, %ecx
101 movdqu (%ecx), %xmm0
109 sub $64, %ecx
110 mov %ecx, %eax
114 add $16, %ecx
116 and $-16, %ecx
125 movdqa 48(%ecx), %xmm0
131 movdqa 32(%ecx), %xmm2
137 movdqa 16(%ecx), %xmm3
[all …]
Dssse3-strcat-atom.S113 mov STR2(%esp), %ecx
123 cmpb $0, (%ecx)
125 cmpb $0, 1(%ecx)
127 cmpb $0, 2(%ecx)
129 cmpb $0, 3(%ecx)
131 cmpb $0, 4(%ecx)
133 cmpb $0, 5(%ecx)
135 cmpb $0, 6(%ecx)
137 cmpb $0, 7(%ecx)
139 cmpb $0, 8(%ecx)
[all …]
Dsse4-memcmp-slm.S137 movl LEN(%esp), %ecx
140 shl $2, %ecx
141 test %ecx, %ecx
144 cmp $1, %ecx
149 cmp $64, %ecx
151 cmp $8, %ecx
161 add %ecx, %edx
162 add %ecx, %eax
163 BRANCH_TO_JMPTBL_ENTRY(L(table_64bytes), %ecx, 4)
176 cmp $2, %ecx
[all …]
Dssse3-strcmp-atom.S104 sub %ecx, %esi; \
129 movzbl (%eax), %ecx
132 cmpl $0, %ecx
135 movzbl 1(%eax), %ecx
138 cmpl $0, %ecx
141 movzbl 2(%eax), %ecx
144 cmpl $0, %ecx
147 movzbl 3(%eax), %ecx
150 cmpl $0, %ecx
153 movzbl 4(%eax), %ecx
[all …]
Dsse2-wcschr-atom.S90 mov STR1(%esp), %ecx
93 mov %ecx, %eax
102 movdqu (%ecx), %xmm0
109 and $-16, %ecx
115 mov %ecx, %edi
116 mov %eax, %ecx
118 and $15, %ecx
130 add %edi, %ecx
141 lea 4(%ecx), %eax
148 mov %edi, %ecx
[all …]
Dsse2-memchr-atom.S92 mov STR1(%esp), %ecx
99 mov %ecx, %edi
102 and $63, %ecx
104 cmp $48, %ecx
116 and $15, %ecx
118 add %ecx, %edx
125 and $15, %ecx
135 add %ecx, %edx
145 xor %ecx, %ecx
152 lea 16(%ecx), %ecx
[all …]
Dsse2-strcpy-slm.S116 addl $(TABLE - .), %ecx; \
119 addl (%ecx,INDEX,SCALE), %ecx; \
121 jmp *%ecx
144 mov %esi, %ecx
148 and $15, %ecx
157 add %ecx, %ebx
187 movdqu (%esi, %ecx), %xmm1 /* copy 16 bytes */
190 sub %ecx, %edi
192 mov $16, %ecx
199 movdqa (%esi, %ecx), %xmm1
[all …]
Dsse2-wcsrchr-atom.S92 mov STR1(%esp), %ecx
95 mov %ecx, %edi
101 and $63, %ecx
102 cmp $48, %ecx
110 pmovmskb %xmm2, %ecx
118 test %ecx, %ecx
132 test %ecx, %ecx
148 and $15, %ecx
184 lea (%edi, %ecx), %esi
193 pmovmskb %xmm2, %ecx
[all …]
Dssse3-wcscat-atom.S98 mov STR2(%esp), %ecx
101 cmpl $0, (%ecx)
103 cmpl $0, 4(%ecx)
105 cmpl $0, 8(%ecx)
107 cmpl $0, 12(%ecx)
Dsse2-strrchr-atom.S92 mov STR1(%esp), %ecx
96 mov %ecx, %edi
100 and $63, %ecx
102 cmp $48, %ecx
110 pmovmskb %xmm2, %ecx
118 test %ecx, %ecx
134 test %ecx, %ecx
151 and $15, %ecx
190 lea (%edi, %ecx), %esi
199 pmovmskb %xmm2, %ecx
[all …]
Dsse2-memset-slm.S76 add (%ebx,%ecx,4), %ebx; \
77 add %ecx, %edx; \
84 movl LEN(%esp), %ecx
85 cmpl CHK_DST_LEN(%esp), %ecx
97 movl LEN(%esp), %ecx
99 cmp $0, %ecx
112 cmp $1, %ecx
114 cmp $16, %ecx
117 cmp $4, %ecx
120 movl %eax, -4(%edx, %ecx)
[all …]
/bionic/libc/arch-x86/generic/string/
Dstrncmp.S18 movl 12(%esp),%ecx
25 incl %ecx
31 cmpb %bl,(%ecx)
35 incl %ecx
41 cmpb %bl,(%ecx)
45 incl %ecx
51 cmpb %bl,(%ecx)
55 incl %ecx
61 cmpb %bl,(%ecx)
65 incl %ecx
[all …]
Dstrcat.S30 movl $-1,%ecx /* set search for lots of characters */
34 leal -1(%edi),%ecx /* correct dst address */
38 movb %al,(%ecx)
42 movb %al,1(%ecx)
46 movb %al,2(%ecx)
50 movb %al,3(%ecx)
54 movb %al,4(%ecx)
58 movb %al,5(%ecx)
62 movb %al,6(%ecx)
66 movb %al,7(%ecx)
[all …]
Dmemcmp.S16 movl 20(%esp),%ecx /* compare by words */
17 shrl $2,%ecx
22 movl 20(%esp),%ecx /* compare remainder by bytes */
23 andl $3,%ecx
33 L5: movl $4,%ecx /* We know that one of the next */
34 subl %ecx,%edi /* four pairs of bytes do not */
35 subl %ecx,%esi /* match. */
/bionic/libc/arch-x86/bionic/
Dsetjmp.S88 movl 4(%esp),%ecx
89 movl %eax,(_JB_SIGFLAG * 4)(%ecx)
96 pushl %ecx
98 leal (_JB_SIGMASK * 4)(%ecx),%eax
105 popl %ecx
109 movl (_JB_SIGFLAG * 4)(%ecx),%eax
116 movl \reg,(\offset * 4)(%ecx)
117 xorl %eax,(\offset * 4)(%ecx)
126 m_calculate_checksum %eax, %ecx
127 movl %eax, (_JB_CHECKSUM * 4)(%ecx)
[all …]
Dvfork.S35 popl %ecx // Grab the return address.
37 .cfi_rel_offset ecx, 0
52 pushl %ecx
53 movl %gs:0, %ecx
54 movl (TLS_SLOT_THREAD_ID * 4)(%ecx), %ecx
55 movl %edx, 12(%ecx)
56 popl %ecx
64 jmp *%ecx // Jump to the stored return address.

12