/titanic_41/usr/src/uts/i86pc/ml/ |
H A D | mpcore.s | 101 movl %cr0, %eax 106 orl $(CR0_PE|CR0_WP|CR0_AM), %eax 107 movl %eax, %cr0 132 movl $0x80000000, %eax /* get largest extended CPUID */ 134 cmpl $0x80000000, %eax /* check if > 0x80000000 */ 136 movl $0x80000001, %eax 145 movl %cr4, %eax 146 addr32 orl CR4OFF, %eax 151 orl $CR4_PAE, %eax 152 movl %eax, %cr4 [all …]
|
H A D | bios_call_src.s | 51 #define MOVCR(x, y) movl x,%eax; movl %eax, y 52 #define LOAD_XAX(sym) leal sym, %eax 136 movl %eax, save_fsbase 138 xorl %eax, %eax 144 movl %eax, save_gsbase 146 xorl %eax, %eax 152 movl %eax, save_kgsbase 154 xorl %eax, %eax 194 xorl %eax, %eax 228 movl %cr0, %eax [all …]
|
H A D | fb_swtch_src.s | 55 movl %cr0, %eax ;\ 56 btrl $31, %eax /* clear PG bit */ ;\ 57 movl %eax, %cr0 73 xorl %eax, %eax; \ 128 xorl %eax, %eax 154 xorl %eax, %eax 214 movl $B32DATA_SEL, %eax 239 movl %cr4, %eax 240 andl $_BITNOT(CR4_PGE | CR4_PAE | CR4_PSE), %eax 241 movl %eax, %cr4 [all …]
|
/titanic_41/usr/src/lib/libm/common/m9x/ |
H A D | __fenv_i386.il | 27 movl (%esp),%eax 28 fstsw (%eax) 29 fstcw 2(%eax) 33 movl (%esp),%eax 34 movw (%eax),%dx 35 movw 2(%eax),%cx 46 movl (%esp),%eax 47 stmxcsr (%eax) 51 movl (%esp),%eax 52 ldmxcsr (%eax) [all …]
|
/titanic_41/usr/src/lib/libc/i386/gen/ |
H A D | byteorder.s | 44 movl 4(%esp), %eax / %eax = hl 45 bswap %eax / reverses the byte order of %eax 46 ret / return (%eax) 50 movl 4(%esp), %eax / %eax = hl 51 bswap %eax / reverses the byte order of %eax 52 ret / return (%eax) 61 movl 4(%esp), %eax / %eax = hs 62 bswap %eax / reverses the byte order of %eax 63 shrl $16, %eax / moves high 16-bit to low 16-bit 64 ret / return (%eax) [all …]
|
H A D | wsncmp.s | 52 movl (%esi),%eax / slodb ; scab 53 cmpl (%edi),%eax 55 testl %eax,%eax 60 movl 4(%esi),%eax / slodb ; scab 61 cmpl 4(%edi),%eax 63 testl %eax,%eax 68 movl 8(%esi),%eax / slodb ; scab 69 cmpl 8(%edi),%eax 71 testl %eax,%eax 76 movl 12(%esi),%eax / slodb ; scab [all …]
|
/titanic_41/usr/src/common/atomic/i386/ |
H A D | atomic.s | 47 movl 4(%esp), %eax 49 incb (%eax) 56 movl 4(%esp), %eax 58 incw (%eax) 66 movl 4(%esp), %eax 68 incl (%eax) 77 xorl %eax, %eax / clear upper bits of %eax 89 xorl %eax, %eax / clear upper bits of %eax 102 xorl %eax, %eax / %eax = 0 103 incl %eax / %eax = 1 [all …]
|
/titanic_41/usr/src/lib/libm/i386/src/ |
H A D | sincos.s | 40 cmpl $1,%eax 43 cmpl $2,%eax 47 movl 12(%esp),%eax 48 fstpl 0(%eax) 49 movl 16(%esp),%eax 50 fstpl 0(%eax) 56 movl 16(%esp),%eax 57 fstpl 0(%eax) 59 movl 12(%esp),%eax 60 fstpl 0(%eax) [all …]
|
H A D | locallibm.il | 37 movl 4(%esp),%eax 38 andl $0x7fffffff,%eax 39 cmpl $0x43300000,%eax 79 andl $0x3,%eax 102 andl $0x3,%eax 126 movl 4(%esp),%eax 152 movl 4(%esp),%eax /// eax <-- hi_32(x) 154 andl $0x7fffffff,%eax / eax <-- hi_32(abs(x)) 156 orl %ecx,%eax / eax <-- hi_32(__copysign(x,y)) 161 movl %eax,4(%esp) / copy hi_32(result) to loading dock [all …]
|
H A D | ieee_funcl.s | 34 movl 12(%esp),%eax / ax <-- sign and bexp of x 35 notl %eax 36 andl $0x00007fff,%eax 38 movl $0,%eax 42 .L6: / here, (eax) = 0.0 47 movl $1,%eax 57 movl 8(%esp),%eax / eax <-- hi_32(sgnfcnd(x)) 58 andl $0x80000000,%eax / eax[31] <-- msb(sgnfcnd(x)), 59 / rest_of(eax) <-- 0 61 movl 12(%esp),%eax / ax <-- sign and bexp of x [all …]
|
/titanic_41/usr/src/cmd/sgs/rtld/i386/ |
H A D | boot_elf.s | 86 pushl %eax 106 movl -4(%ebp), %eax / %eax = dyndata 107 testb $LA_SYMB_NOPLTENTER, 0xc(%eax) / <link.h> 109 movl SYMDEF_VALUE_OFF(%eax), %edi 125 lea SBFLAGS_OFF(%edi), %eax 126 pushl %eax / arg5 (&sb_flags) 127 lea -84(%ebp), %eax 128 pushl %eax / arg4 (regset) 130 lea SYMDEF_OFF(%edi), %eax 131 pushl %eax / arg2 (&sym) [all …]
|
/titanic_41/usr/src/lib/commpage/i386/ |
H A D | cp_subr.s | 40 movl CP_TSC_TYPE(%edi), %eax 42 cmpl $TSC_TSCP, %eax 63 addl (%ecx), %eax 70 mov $GETCPU_GDT_OFFSET, %eax 71 lsl %ax, %eax 72 movl %eax, (%esp) 73 movl CP_TSC_TYPE(%edi), %eax 76 cmpl $TSC_RDTSC_MFENCE, %eax 83 cmpl $TSC_RDTSC_LFENCE, %eax 90 cmpl $TSC_RDTSC_CPUID, %eax [all …]
|
/titanic_41/usr/src/uts/intel/kdi/ia32/ |
H A D | kdi_asm.s | 55 movl %ebx, %eax; \ 60 addl (%edx), %eax 72 movl %edx, KRS_IDT(%eax); \ 74 movl %edx, KRS_GDT(%eax); \ 138 movl 0(%edx), %eax; \ 157 movl 0(%edx), %eax; \ 239 movl REG_OFF(KDIREG_EIP)(%esp), %eax 240 movl %eax, REG_OFF(KDIREG_SAVPC)(%esp) 290 CLI(%eax) 303 ADVANCE_CRUMB_POINTER(%eax, %ecx, %edx) [all …]
|
/titanic_41/usr/src/lib/common/i386/ |
H A D | gcrt1.s | 95 movl $_mcleanup,%eax 96 testl %eax,%eax 98 pushl %eax 103 movl $_DYNAMIC,%eax 104 testl %eax,%eax 158 lea __get_exit_frame_monitor_ptr, %eax 159 movl (%eax), %eax 160 testl %eax,%eax 162 lea __do_exit_code_ptr, %eax 163 movl (%eax), %eax [all …]
|
H A D | crt1.s | 89 movl $_DYNAMIC,%eax 90 testl %eax,%eax 135 lea __get_exit_frame_monitor_ptr, %eax 136 movl (%eax), %eax 137 testl %eax,%eax 139 lea __do_exit_code_ptr, %eax 140 movl (%eax), %eax 141 testl %eax, %eax 143 pushl %eax 157 movl 8(%ebp),%eax /* argc */ [all …]
|
/titanic_41/usr/src/uts/intel/ia32/ml/ |
H A D | lock_prim.s | 109 xorl %eax, %eax /* clear for varargs */ 115 movl $1, %eax 126 xorl %eax,%eax 133 testl %eax, %eax 135 movl $LS_LOCK_TRY_ACQUIRE, %eax 144 xorl %eax,%eax 153 movl kernelbase, %eax 154 cmpl %eax, 4(%esp) /* test uaddr < kernelbase */ 163 movl $1,%eax 221 xorl %eax, %eax /* clear for varargs */ [all …]
|
H A D | ia32.il | 44 movl %gs:0x10, %eax 51 movl %gs:0xc, %eax 58 movl 4(%ebp), %eax 65 movl (%esp), %eax 73 movl 4(%esp), %eax 75 bswap %eax 80 movl 4(%esp), %eax 82 bswap %eax 86 movl (%esp), %eax 87 bswap %eax [all …]
|
H A D | i86_subr.s | 105 xorl %eax, %eax 113 xorl %eax, %eax 123 movl 4(%esp), %eax /* jumpbuf address */ 125 movl %eax, T_ONFAULT(%edx) /* jumpbuf in t_onfault */ 131 xorl %eax, %eax 133 movl %eax, T_ONFAULT(%edx) /* turn off onfault */ 134 movl %eax, T_LOFAULT(%edx) /* turn off lofault */ 141 xorl %eax, %eax 142 movl %eax, T_ONFAULT(%edx) /* turn off onfault */ 143 movl %eax, T_LOFAULT(%edx) /* turn off lofault */ [all …]
|
H A D | exception.s | 180 xorl %eax, %eax 191 movl %eax, %esi /* %dr6 -> %esi */ 198 xorl %eax, %eax 199 movl %eax, %db6 286 TRACE_PTR(%r12, %rax, %eax, %rdx, $TT_TRAP) 402 cmpl $DTRACE_INVOP_PUSHL_EBP, %eax 404 cmpl $DTRACE_INVOP_LEAVE, %eax 406 cmpl $DTRACE_INVOP_NOP, %eax 408 cmpl $DTRACE_INVOP_RET, %eax 520 pushl %eax /* push %eax -- may be return value */ [all …]
|
H A D | float.s | 66 movzbl %al, %eax 91 movl 4(%esp), %eax 92 fxsave (%eax) 124 movl $1, %eax 127 0: xorl %eax, %eax 327 movl FPU_CTX_FPU_XSAVE_MASK(%rdi), %eax 350 movl 4(%esp), %eax /* a struct fpu_ctx */ 351 cmpl $FPU_EN, FPU_CTX_FPU_FLAGS(%eax) 354 movl $_CONST(FPU_VALID|FPU_EN), FPU_CTX_FPU_FLAGS(%eax) 355 fnsave FPU_CTX_FPU_REGS(%eax) [all …]
|
/titanic_41/usr/src/lib/libc/i386/sys/ |
H A D | getcontext.s | 48 movl 4(%esp), %eax; /* %eax <-- first arg: ucp */ \ 49 pushl %eax; /* push ucp for system call */ \ 52 andl %eax, %eax; /* if (err_ret_from_syscall) */ \ 56 movl 4(%esp), %eax; /* recompute first arg */ \ 60 leal UC_MCONTEXT_GREGS (%eax), %edx; \ 62 movl 0(%esp), %eax; /* read return PC from stack */ \ 63 movl %eax, EIP_OFF (%edx); \ 65 leal 4(%esp), %eax; /* get caller's sp at time of call */ \ 66 movl %eax, UESP_OFF (%edx); \ 68 xorl %eax, %eax; /* return 0 */ \ [all …]
|
/titanic_41/usr/src/cmd/dtrace/test/tst/i386/pid/ |
H A D | tst.branch.s | 37 movl 8(%ebp), %eax 38 movl (%eax), %eax 50 leal -4(%ebp), %eax 51 pushl %eax 55 testl %eax, %eax 60 xorl %eax, %eax 61 testl %eax, %eax 65 movl 0x0, %eax 70 xorl %eax, %eax
|
/titanic_41/usr/src/lib/libc/amd64/gen/ |
H A D | wsncmp.s | 47 movl (%rdi),%eax / slodb ; scab 48 cmpl (%rsi),%eax 50 testl %eax,%eax 55 movl 4(%rdi),%eax / slodb ; scab 56 cmpl 4(%rsi),%eax 58 testl %eax,%eax 63 movl 8(%rdi),%eax / slodb ; scab 64 cmpl 8(%rsi),%eax 66 testl %eax,%eax 71 movl 12(%rdi),%eax / slodb ; scab [all …]
|
/titanic_41/usr/src/common/atomic/amd64/ |
H A D | atomic.s | 78 xorl %eax, %eax / clear upper bits of %eax return register 89 xorl %eax, %eax / clear upper bits of %eax return register 100 xorl %eax, %eax / %eax = 0 101 incl %eax / %eax = 1 103 xaddl %eax, (%rdi) / %eax = old value, (%rdi) = new value 104 incl %eax / return new value 154 xorl %eax, %eax / clear upper bits of %eax return register 165 xorl %eax, %eax / clear upper bits of %eax return register 176 xorl %eax, %eax / %eax = 0 177 decl %eax / %eax = -1 [all …]
|
/titanic_41/usr/src/uts/i86pc/dboot/ |
H A D | dboot_asm.s | 36 get_cpuid_edx(uint32_t *eax) 60 movl (%rdi), %eax 62 movl %eax, (%rdi) 63 movl %edx, %eax 82 xorl %eax, %eax 89 movl %edi, %eax 90 bswap %eax 105 movl (%ecx), %eax 110 movl %eax, (%ecx) 111 movl %edx, %eax [all …]
|