| /onnv-gate/usr/src/grub/grub-0.97/stage2/ |
| H A D | setjmp.S | 59 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 …]
|
| /onnv-gate/usr/src/lib/libc/i386/gen/ |
| H A D | memcpy.s | 41 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 D | strcat.s | 68 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 D | strncat.s | 73 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.s | 205 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 …]
|
| H A D | strchr.s | 31 mov 4(%esp), %ecx / src string here 33 mov %ecx, %eax / save src 34 and $3, %ecx / check if src is aligned 42 cmp $3, %ecx / check alignment 49 cmp $2, %ecx / check alignment 74 lea -0x01010101(%esi), %ecx / (word - 0x01010101) 78 and %ecx, %esi / (wd - 0x01010101) & ~wd & 0x80808080 80 lea -0x01010101(%ebx), %ecx / repeat with tmpword 83 and %ecx, %ebx 87 add $0x01010101, %ecx / restore tmpword [all …]
|
| H A D | memset.s | 39 movl 16(%esp),%ecx / %ecx = number of copies 40 cmpl $20,%ecx / strings with 20 or more chars should 44 shrl $2,%ecx / %ecx = number of words to set 53 movl 16(%esp),%ecx 54 andl $3,%ecx / %ecx = number of bytes left
|
| /onnv-gate/usr/src/cmd/mdb/intel/ia32/kmdb/ |
| H A D | kmdb_asmutil.s | 47 movl 12(%esp), %ecx /* rd */ 49 cmpxchgl %ecx, (%edx) 79 movl 4(%esp), %ecx 81 movl 8(%esp), %ecx 82 movl %eax, (%ecx) 83 movl %edx, 4(%ecx) 98 movl 8(%esp), %ecx 99 movl (%ecx), %eax 100 movl 4(%ecx), %edx 101 movl 4(%esp), %ecx [all …]
|
| H A D | kaif_invoke.s | 50 movl 0xc(%ebp), %ecx /* argc */ 54 1: cmpl $0, %ecx 56 dec %ecx 57 pushl (%edi, %ecx, 4) 65 movl 0xc(%ebp), %ecx 66 sall $2, %ecx 67 addl %ecx, %esp
|
| /onnv-gate/usr/src/lib/brand/shared/brand/i386/ |
| H A D | handler.s | 87 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 …]
|
| /onnv-gate/usr/src/lib/libc/i386_hwcap1/gen/ |
| H A D | memset.s | 37 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 …]
|
| /onnv-gate/usr/src/uts/intel/sys/acpi/platform/ |
| H A D | acwin.h | 177 __asm mov ecx, FacsPtr \ 178 __asm or ecx, ecx \ 180 __asm lea ecx, [ecx].GlobalLock \ 183 __asm mov eax, [ecx] \ 188 __asm lock cmpxchg dword ptr [ecx], edx \ 201 __asm mov ecx, FacsPtr \ 202 __asm or ecx, ecx \ 204 __asm lea ecx, [ecx].GlobalLock \ 207 __asm mov eax, [ecx] \ 210 __asm lock cmpxchg dword ptr [ecx], edx \
|
| /onnv-gate/usr/src/uts/intel/io/acpica/ |
| H A D | osl_ml.s | 91 movl 4(%esp), %ecx / %ecx contains pointer to FACS 92 orl %ecx, %ecx 94 leal GlobalLock(%ecx), %ecx / make %ecx point at the lock 96 movl (%ecx), %eax 102 cmpxchgl %edx, (%ecx) 146 movl 4(%esp), %ecx / %ecx contains pointer to FACS 147 orl %ecx, %ecx 149 leal GlobalLock(%ecx), %ecx / make %ecx point at the lock 151 movl (%ecx), %eax 155 cmpxchgl %edx, (%ecx)
|
| /onnv-gate/usr/src/common/atomic/i386/ |
| H A D | atomic.s | 126 xorl %ecx, %ecx 127 incl %ebx / %ecx:%ebx = 1 129 adcl %edx, %ecx / add in the carry from inc 134 movl %ecx, %edx / return new value 223 xorl %ecx, %ecx 224 not %ecx 225 not %ebx / %ecx:%ebx = -1 227 adcl %edx, %ecx / add in the carry from inc 232 movl %ecx, %edx / return new value 242 movl 8(%esp), %ecx [all …]
|
| /onnv-gate/usr/src/uts/i86pc/ml/ |
| H A D | fast_trap_asm.s | 180 movl %gs:CPU_LWP, %ecx /* current lwp */ 181 subl LWP_MS_STATE_START(%ecx), %eax /* - ms->ms_state_start */ 182 sbbl LWP_MS_STATE_START+4(%ecx), %edx 183 addl LWP_ACCT_USER(%ecx), %eax /* add ms->ms_acct[LMS_USER] */ 184 adcl LWP_ACCT_USER+4(%ecx), %edx 186 leal (%esp), %ecx 187 movl %eax, (%ecx) 188 movl %edx, 4(%ecx) 189 pushl %ecx 191 popl %ecx [all …]
|
| /onnv-gate/usr/src/lib/common/i386/ |
| H A D | fsr.s | 106 pushl %ecx 109 lea __fsr_init_value_ptr, %ecx 110 movl (%ecx),%ecx /* get the value set by CG */ 111 shrl $1,%ecx /* get rid of fns bit */ 112 cmpl $0,%ecx /* if remaining bits are zero */ 117 movl %ecx,%edx 122 testl $0x200,%ecx /* test denormal trap enable */ 128 movl %ecx,%edx 141 andl $0x180,%ecx /* get the rounding precision */ 144 xorl $0x180,%ecx /* reverse bits */ [all …]
|
| /onnv-gate/usr/src/lib/libc/i386/sys/ |
| H A D | _lwp_mutex_unlock.s | 35 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)
|
| /onnv-gate/usr/src/uts/intel/kdi/ia32/ |
| H A D | kdi_asm.s | 56 movl $KRS_SIZE, %ecx; \ 57 mull %ecx; \ 129 movl MSR_NUM(%ebx), %ecx; \ 130 cmpl $0, %ecx; \ 152 movl kdi_msr_wrexit_msr, %ecx; \ 153 cmpl $0, %ecx; \ 221 clr %ecx 222 movl (%ecx), %ecx 303 ADVANCE_CRUMB_POINTER(%eax, %ecx, %edx) 307 movl REG_OFF(KDIREG_EIP)(%esp), %ecx [all …]
|
| /onnv-gate/usr/src/uts/intel/ia32/ml/ |
| H A D | sseblk.s | 171 movl 8(%esp), %ecx 174 cmpl $BLOCKSIZE, %ecx /* size must be at least BLOCKSIZE */ 176 testl $BLOCKMASK, %ecx /* .. and be a multiple of BLOCKSIZE */ 178 shrl $BLOCKSHIFT, %ecx 193 9: ZERO_LOOP_BODY_XMM(%eax, %ecx) 313 movl $_CONST(32 - 1), %ecx 321 4: COPY_LOOP_BODY_XMM(%rdi, %rsi, %ecx) 352 movl $_CONST(32 - 1), %ecx 363 4: COPY_LOOP_BODY_XMM(%eax, %edx, %ecx) 422 movl 12(%ebp), %ecx [all …]
|
| H A D | ovbcopy.s | 112 movl 20(%esp),%ecx 116 cmpl %ecx,%eax /* overlapping && src < dst? */ 119 shrl $2,%ecx /* copy by 32-bit words */ 123 movl 20(%esp),%ecx 124 andl $3,%ecx /* any bytes left? */ 132 addl %ecx,%edi /* copy backwards */ 133 addl %ecx,%esi 136 andl $3,%ecx /* any fractional bytes? */ 140 movl 20(%esp),%ecx /* copy remainder by 32-bit words */ 141 shrl $2,%ecx
|
| H A D | i86_subr.s | 121 leal catch_fault, %ecx 123 movl %ecx, T_LOFAULT(%edx) /* catch_fault in t_lofault */ 129 movl T_ONFAULT(%edx), %ecx /* address of save area */ 132 pushl %ecx 203 xorl %ecx, %ecx 231 movl T_ONTRAP(%edx), %ecx /* %ecx = curthread->t_ontrap */ 232 cmpl %eax, %ecx /* if (otp == %ecx) */ 235 movl %ecx, OT_PREV(%eax) /* ot_prev = t_ontrap */ 309 movl (%esp), %ecx /* %eip (return address) */ 310 movl %ecx, (%edx) /* LABEL_PC is 0 */ [all …]
|
| H A D | ddi_i86_asm.s | 309 movl ACC_ATTR(%eax), %ecx 310 cmpl $_CONST(DDI_ACCATTR_IO_SPACE|DDI_ACCATTR_DIRECT), %ecx 317 cmpl $_CONST(DDI_ACCATTR_CPU_VADDR|DDI_ACCATTR_DIRECT), %ecx 371 movl ACC_ATTR(%eax), %ecx 372 cmpl $_CONST(DDI_ACCATTR_IO_SPACE|DDI_ACCATTR_DIRECT), %ecx 379 cmpl $_CONST(DDI_ACCATTR_CPU_VADDR|DDI_ACCATTR_DIRECT), %ecx 432 movl ACC_ATTR(%eax), %ecx 433 cmpl $_CONST(DDI_ACCATTR_IO_SPACE|DDI_ACCATTR_DIRECT), %ecx 439 cmpl $_CONST(DDI_ACCATTR_CPU_VADDR|DDI_ACCATTR_DIRECT), %ecx 490 movl ACC_ATTR(%rdi), %ecx [all …]
|
| /onnv-gate/usr/src/lib/libc/amd64/gen/ |
| H A D | proc64_id.c | 45 uint_t ecx; member 91 sets = cpuid_info.ecx + 1; in get_intel_cache_info() 130 l1_cache_size = ((cpuid_info.ecx >> 24) & 0xff) * 1024; in get_amd_cache_info() 135 l2_cache_size = ((cpuid_info.ecx >> 16) & 0xffff) * 1024; in get_amd_cache_info() 149 ncores = (cpuid_info.ecx & 0xff) + 1; in get_amd_cache_info() 182 (cpuid_info.ecx == 0x444d4163)) { /* cAMD */ in __proc64id() 192 (cpuid_info.ecx != 0x6c65746e)) { /* ntel */ in __proc64id() 214 if (cpuid_info.ecx & CPUID_INTC_ECX_SSE4_2) { in __proc64id() 217 if (cpuid_info.ecx & CPUID_INTC_ECX_SSE4_1) { in __proc64id() 220 if (cpuid_info.ecx & CPUID_INTC_ECX_SSSE3) { in __proc64id() [all …]
|
| /onnv-gate/usr/src/common/util/i386/ |
| H A D | muldiv.s | 77 xchg %ecx,%eax / ecx = bottom half of ad. 81 addl %edx,%ecx / cx is ad 84 addl %ecx,%eax / Produce ad+bc 251 movl %edi, %ecx / tmp62, tmp63 260 movl %ecx, %edi / <result>, <result> 284 movl 44(%esp), %ecx / x, 286 movl %ecx, 4(%esi) 301 movl %eax, %ecx /, q1 311 cmpl %ecx, %edx / y1, x1 321 sbbl %ecx,%edx / tmp63, x1 [all …]
|
| /onnv-gate/usr/src/uts/intel/dtrace/ |
| H A D | dtrace_asm.s | 109 movl 12(%esp), %ecx 111 cmpxchgl %ecx, (%edx) 179 movl 16(%ebp), %ecx / Load count 240 movl 16(%ebp), %ecx / Load count 247 decl %ecx / Decrement remaining count 250 testl $0xfff, %ecx / Check if count is 4k-aligned 256 cmpl $0, %ecx 288 movl 4(%esp), %ecx 290 movl (%ecx), %eax 316 movl 4(%esp), %ecx [all …]
|