/titanic_44/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 …]
|
/titanic_44/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 …]
|
/titanic_44/usr/src/lib/libm/common/m9x/ |
H A D | __fenv_i386.il | 138 movl 8(%esp),%ecx 141 movss %xmm0,(%ecx) 147 movl 8(%esp),%ecx 150 movss %xmm0,(%ecx) 156 movl 8(%esp),%ecx 159 movss %xmm0,(%ecx) 165 movl 8(%esp),%ecx 168 movss %xmm0,(%ecx) 174 movl 8(%esp),%ecx 177 movss %xmm0,(%ecx) [all …]
|
/titanic_44/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 …]
|
/titanic_44/usr/src/lib/libm/i386/src/ |
H A D | lround.s | 39 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 D | nextafter.s | 59 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 D | lroundl.s | 39 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 D | rndintl.s | 57 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 D | roundl.s | 39 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 D | round.s | 39 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 D | nextafterl.s | 57 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 D | nexttowardl.s | 57 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 …]
|
/titanic_44/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 …]
|
/titanic_44/usr/src/uts/intel/sys/acpi/platform/ |
H A D | acwin.h | 103 __asm mov ecx, FacsPtr \ 104 __asm or ecx, ecx \ 106 __asm lea ecx, [ecx].GlobalLock \ 109 __asm mov eax, [ecx] \ 114 __asm lock cmpxchg dword ptr [ecx], edx \ 127 __asm mov ecx, FacsPtr \ 128 __asm or ecx, ecx \ 130 __asm lea ecx, [ecx].GlobalLock \ 133 __asm mov eax, [ecx] \ 136 __asm lock cmpxchg dword ptr [ecx], edx \
|
/titanic_44/usr/src/common/atomic/i386/ |
H A D | atomic.s | 127 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 …]
|
/titanic_44/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)
|
/titanic_44/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 …]
|
/titanic_44/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 …]
|
/titanic_44/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)
|
/titanic_44/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 …]
|
/titanic_44/usr/src/lib/commpage/i386/ |
H A D | cp_subr.s | 62 leal (%esi, %ecx, 8), %ecx 63 addl (%ecx), %eax 64 adcl 0x4(%ecx), %edx 115 movl $GETCPU_GDT_OFFSET, %ecx 116 lsl %cx, %ecx 118 cmpl %ecx, %esi 131 leal (%esi, %ecx, 8), %ecx 132 addl (%ecx), %eax 133 adcl 0x4(%ecx), %edx 151 movl %ecx, %eax
|
/titanic_44/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 …]
|