Home
last modified time | relevance | path

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

12345678910

/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dmemcpy.S41 movl 16(%esp),%ecx / %ecx = length of string
44 shrl $2,%ecx / %ecx = number of words to move
47 movl 16(%esp),%ecx / %ecx = number of bytes to move
48 andl $0x3,%ecx / %ecx = number of bytes left to move
59 movl 4+12(%esp),%ecx / get number of bytes to move
61 testl %ecx,%ecx / if (n == 0)
68 leal -1(%esi,%ecx),%edx
73 cmpl $8,%ecx / if (size < 8 bytes)
76 movl %ecx,%edx / save count
77 movl %esi,%ecx / get source buffer 4 byte aligned
[all …]
H A Dstrcat.S68 movl $0x7f7f7f7f, %ecx
69 andl %edx, %ecx / %ecx = %edx & 0x7f7f7f7f
71 addl $0x7f7f7f7f, %ecx / %ecx += 0x7f7f7f7f
72 orl %edx, %ecx / %ecx |= %edx
73 andl $0x80808080, %ecx / %ecx &= 0x80808080
74 cmpl $0x80808080, %ecx / if no null byte in this word
93 movl $0x7f7f7f7f, %ecx
94 andl %edx, %ecx / %ecx = %edx & 0x7f7f7f7f
96 addl $0x7f7f7f7f, %ecx / %ecx += 0x7f7f7f7f
97 orl %edx, %ecx / %ecx |= %edx
[all …]
H A Dstrncat.S73 movl $0x7f7f7f7f, %ecx
74 andl %edx, %ecx / %ecx = %edx & 0x7f7f7f7f
76 addl $0x7f7f7f7f, %ecx / %ecx += 0x7f7f7f7f
77 orl %edx, %ecx / %ecx |= %edx
78 andl $0x80808080, %ecx / %ecx &= 0x80808080
79 cmpl $0x80808080, %ecx / if no null byte in this word
102 movl $0x7f7f7f7f, %ecx
103 andl %edx, %ecx / %ecx = %edx & 0x7f7f7f7f
105 addl $0x7f7f7f7f, %ecx / %ecx += 0x7f7f7f7f
106 orl %edx, %ecx / %ecx |= %edx
[all …]
H A D_div64.S205 movl %edi, %ecx / tmp62, tmp63
214 movl %ecx, %edi / <result>, <result>
238 movl 44(%esp), %ecx / x,
240 movl %ecx, 4(%esi)
255 movl %eax, %ecx /, q1
265 cmpl %ecx, %edx / y1, x1
275 sbbl %ecx,%edx / tmp63, x1
277 movl %edx, %ecx / x1, x1
281 adcl %edi, %ecx / x0, x1
284 movl %ecx, 4(%esi) / x1,
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dsetjmp.S59 movl 4(%esp), %ecx /* fetch buffer */
60 movl %ebx, 0(%ecx)
61 movl %esi, 4(%ecx)
62 movl %edi, 8(%ecx)
63 movl %ebp, 12(%ecx) /* save frame pointer of caller */
65 movl %esp, 16(%ecx) /* save stack pointer of caller */
66 movl %edx, 20(%ecx) /* save pc of caller */
72 movl 4(%esp), %ecx /* fetch buffer */
73 movl 0(%ecx), %ebx
74 movl 4(%ecx), %esi
[all …]
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A D32.bmi2.s25 bzhi %eax, %ebx, %ecx
26 bzhi %eax, (%ebx), %ecx
27 mulx %eax, %ebx, %ecx
28 mulx (%eax), %ebx, %ecx
29 pdep %eax, %ebx, %ecx
30 pdep (%eax), %ebx, %ecx
31 pext %eax, %ebx, %ecx
32 pext (%eax), %ebx, %ecx
35 sarx %eax, %ebx, %ecx
36 sarx %eax, (%ebx), %ecx
[all …]
H A D32.avx.s27 vaddpd 0x42(%ecx), %xmm5, %xmm6
34 vaddps 0x42(%ecx), %xmm5, %xmm6
41 vaddsd 0x42(%ecx), %xmm5, %xmm6
45 vaddss 0x42(%ecx), %xmm5, %xmm6
49 vaddsubpd 0x42(%ecx), %xmm5, %xmm6
56 vaddsubps 0x42(%ecx), %xmm5, %xmm6
63 vaesdec 0x42(%ecx), %xmm5, %xmm6
67 vaesdeclast 0x42(%ecx), %xmm5, %xmm6
71 vaesenc 0x42(%ecx), %xmm5, %xmm6
75 vaesenclast 0x42(%ecx), %xmm5, %xmm6
[all …]
H A D64.bmi2.s25 bzhi %eax, %ebx, %ecx
26 bzhi %eax, (%rbx), %ecx
27 mulx %eax, %ebx, %ecx
28 mulx (%rax), %ebx, %ecx
29 pdep %eax, %ebx, %ecx
30 pdep (%rax), %ebx, %ecx
31 pext %eax, %ebx, %ecx
32 pext (%rax), %ebx, %ecx
35 sarx %eax, %ebx, %ecx
36 sarx %eax, (%rbx), %ecx
[all …]
H A D32.gfni.s29 gf2p8affineinvqb $0x77, 0x12(%ecx, %edx, 4), %xmm4
34 gf2p8affineqb $0x77, 0x12(%ecx, %edx, 4), %xmm3
39 gf2p8mulb 0x17(%ecx, %edx, 4), %xmm2
45 vgf2p8affineinvqb $0x77, 0x12(%ecx, %edx, 4), %xmm4, %xmm0
50 vgf2p8affineqb $0x77, 0x12(%ecx, %edx, 4), %xmm3, %xmm6
55 vgf2p8mulb 0x17(%ecx, %edx, 4), %xmm2, %xmm3
61 vgf2p8affineinvqb $0x77, 0x12(%ecx, %edx, 4), %ymm4, %ymm0
66 vgf2p8affineqb $0x77, 0x12(%ecx, %edx, 4), %ymm3, %ymm6
71 vgf2p8mulb 0x17(%ecx, %edx, 4), %ymm2, %ymm3
77 vgf2p8affineinvqb $0x77, 0x12(%ecx, %edx, 4), %zmm4, %zmm0
[all …]
H A D32.bmi2.out1 libdis_test: c4 e2 78 f5 cb bzhi %eax,%ebx,%ecx
2 libdis_test+0x5: c4 e2 78 f5 0b bzhi %eax,(%ebx),%ecx
3 libdis_test+0xa: c4 e2 63 f6 c8 mulx %eax,%ebx,%ecx
4 libdis_test+0xf: c4 e2 63 f6 08 mulx (%eax),%ebx,%ecx
5 libdis_test+0x14: c4 e2 63 f5 c8 pdep %eax,%ebx,%ecx
6 libdis_test+0x19: c4 e2 63 f5 08 pdep (%eax),%ebx,%ecx
7 libdis_test+0x1e: c4 e2 62 f5 c8 pext %eax,%ebx,%ecx
8 libdis_test+0x23: c4 e2 62 f5 08 pext (%eax),%ebx,%ecx
11 libdis_test+0x34: c4 e2 7a f7 cb sarx %eax,%ebx,%ecx
12 libdis_test+0x39: c4 e2 7a f7 0b sarx %eax,(%ebx),%ecx
[all …]
H A D32.avx512cd.s31 vpconflictd (%ecx){1to4}, %xmm5
33 vpconflictd 0x88(%ecx){1to4}, %xmm3{%k5}{z}
41 vpconflictd (%ecx){1to8}, %ymm5
43 vpconflictd 0x88(%ecx){1to8}, %ymm3{%k5}{z}
51 vpconflictd (%ecx){1to16}, %zmm5
53 vpconflictd 0x88(%ecx){1to16}, %zmm3{%k5}{z}
61 vpconflictq (%ecx){1to2}, %xmm5
63 vpconflictq 0x88(%ecx){1to2}, %xmm3{%k5}{z}
71 vpconflictq (%ecx){1to4}, %ymm5
73 vpconflictq 0x88(%ecx){1to4}, %ymm3{%k5}{z}
[all …]
/illumos-gate/usr/src/lib/libc/i386_hwcap1/gen/
H A Dmemset.S37 movl 16(%esp),%ecx / %ecx = number of copies
55 cmpl $511, %ecx / areas smaller than this should be wordset
69 movl %ecx, %ebx / save byte count
77 movl %esi, %ecx / alignment bytes
78 shrl $2,%ecx / %ecx = number of words to set
80 movl %esi,%ecx
81 andl $3,%ecx / %ecx = number of bytes left
83 movl %ebx, %ecx / remainder to be set
87 shr $6, %ecx / number of 64 byte blocks to set
113 dec %ecx / dec count of blocks
[all …]
/illumos-gate/usr/src/common/atomic/i386/
H A Datomic.S127 xorl %ecx, %ecx
128 incl %ebx / %ecx:%ebx = 1
130 adcl %edx, %ecx / add in the carry from inc
135 movl %ecx, %edx / return new value
224 xorl %ecx, %ecx
225 not %ecx
226 not %ebx / %ecx:%ebx = -1
228 adcl %edx, %ecx / add in the carry from inc
233 movl %ecx, %edx / return new value
243 movl 8(%esp), %ecx
[all …]
/illumos-gate/usr/src/lib/brand/shared/brand/i386/
H A Dhandler.S87 movl %ecx, EH_LOCALS_GREG(ECX)(%ebp)
97 popl %ecx
98 movl %ecx, EH_LOCALS_GREG(EFL)(%ebp)
99 movl EH_ARGS_OFFSET(0)(%ebp), %ecx /* save syscall ebp */
100 movl %ecx, EH_LOCALS_GREG(EBP)(%ebp)
101 movl %ebp, %ecx /* save syscall esp */
102 addl $CPTRSIZE, %ecx
103 movl %ecx, EH_LOCALS_GREG(ESP)(%ebp)
128 PIC_SETUP(%ecx)
129 movl brand_sysent_table@GOT(%ecx), %edx /* %edx = sysent_table */
[all …]
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dlround.S39 movl %esp,%ecx
41 fstcw -8(%ecx)
42 fldl 4(%ecx)
43 movw -8(%ecx),%dx
45 movw %dx,-4(%ecx)
46 fldcw -4(%ecx) / set RD = to_nearest
49 fstcw -4(%ecx)
50 movw -4(%ecx),%dx
52 movw -8(%ecx),%ax
55 movw %ax,-8(%ecx)
[all …]
H A Dnextafter.S59 movl $1,%ecx /// Fmin
60 movl %ecx,-8(%ebp)
61 movl $0,%ecx /// Fmin+4
62 movl %ecx,-4(%ebp)
71 movl $1,%ecx /// Fmin
72 movl %ecx,-8(%ebp)
73 movl $0,%ecx /// Fmin+4
74 xorl $0x80000000,%ecx
75 movl %ecx,-4(%ebp)
82 movl 12(%ebp),%ecx / high x
[all …]
H A Dlroundl.S39 movl %esp,%ecx
41 fstcw -8(%ecx)
42 fldt 4(%ecx)
43 movw -8(%ecx),%dx
45 movw %dx,-4(%ecx)
46 fldcw -4(%ecx) / set RD = to_nearest
49 fstcw -4(%ecx)
50 movw -4(%ecx),%dx
52 movw -8(%ecx),%ax
55 movw %ax,-8(%ecx)
[all …]
H A Drndintl.S57 movl %esp,%ecx
59 fldt 4(%ecx) / load x
60 fistpl -8(%ecx) / [x]
62 movl -8(%ecx),%eax
74 movl %esp,%ecx
76 fstcw -8(%ecx)
77 fldt 4(%ecx)
78 movw -8(%ecx),%dx
80 movw %dx,-4(%ecx)
81 fldcw -4(%ecx) / set RD = to_nearest
[all …]
H A Dround.S39 movl %esp,%ecx
41 fstcw -8(%ecx)
42 fldl 4(%ecx)
43 movw -8(%ecx),%dx
45 movw %dx,-4(%ecx)
46 fldcw -4(%ecx) / set RD = to_nearest
49 fstcw -4(%ecx)
50 movw -4(%ecx),%dx
52 movw -8(%ecx),%ax
55 movw %ax,-8(%ecx)
[all …]
H A Droundl.S39 movl %esp,%ecx
41 fstcw -8(%ecx)
42 fldt 4(%ecx)
43 movw -8(%ecx),%dx
45 movw %dx,-4(%ecx)
46 fldcw -4(%ecx) / set RD = to_nearest
49 fstcw -4(%ecx)
50 movw -4(%ecx),%dx
52 movw -8(%ecx),%ax
55 movw %ax,-8(%ecx)
[all …]
H A Dnextafterl.S57 movl $0,%ecx /// final needs this
58 movl %ecx,-4(%ebp)
69 movl $0x00008000,%ecx /// final needs this
70 movl %ecx,-4(%ebp)
77 movl 16(%ebp),%ecx / x's exponent
126 andl $0x0000ffff,%ecx
130 orl %ecx,%eax
133 addl $1,%ecx
140 movl %ecx,-4(%ebp)
149 movl %ecx,-4(%ebp)
[all …]
H A Dnexttowardl.S57 movl $0,%ecx /// final needs this
58 movl %ecx,-4(%ebp)
69 movl $0x00008000,%ecx /// final needs this
70 movl %ecx,-4(%ebp)
77 movl 16(%ebp),%ecx / x's exponent
126 andl $0x0000ffff,%ecx
130 orl %ecx,%eax
133 addl $1,%ecx
140 movl %ecx,-4(%ebp)
149 movl %ecx,-4(%ebp)
[all …]
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Dacwin.h230 __asm mov ecx, FacsPtr \
231 __asm or ecx, ecx \
233 __asm lea ecx, [ecx].GlobalLock \
236 __asm mov eax, [ecx] \
241 __asm lock cmpxchg dword ptr [ecx], edx \
254 __asm mov ecx, FacsPtr \
255 __asm or ecx, ecx \
257 __asm lea ecx, [ecx].GlobalLock \
260 __asm mov eax, [ecx] \
263 __asm lock cmpxchg dword ptr [ecx], edx \
/illumos-gate/usr/src/lib/commpage/i386/
H A Dcp_subr.S76 leal (%esi, %ecx, 8), %ecx
77 addl (%ecx), %eax
78 adcl 0x4(%ecx), %edx
133 movl $GETCPU_GDT_OFFSET, %ecx
134 lsl %ecx, %ecx
136 cmpl %ecx, %esi
141 leal (%esi, %ecx, 8), %ecx
142 addl (%ecx), %eax
143 adcl 0x4(%ecx), %edx
158 movl %ecx, 0x4(%esp)
[all …]
/illumos-gate/usr/src/lib/libc/i386/sys/
H A D_lwp_mutex_unlock.S35 xorl %ecx, %ecx
36 xchgl (%eax), %ecx / clear lock and get old lock into %ecx
37 andl $WAITER_MASK, %ecx / was anyone waiting on it?
39 movl 0(%esp), %ecx / prepare to call lwp_mutex_wakeup()
43 pushl %ecx
45 popl %ecx / reconstruct the stack frame
48 movl %ecx, 0(%esp)

12345678910