Home
last modified time | relevance | path

Searched refs:eax (Results 1 – 25 of 212) sorted by relevance

123456789

/onnv-gate/usr/src/uts/i86pc/ml/
H A Dmpcore.s100 movl %cr0, %eax
105 D16 orl $[CR0_PE|CR0_WP|CR0_AM], %eax
106 movl %eax, %cr0
131 D16 movl $0x80000000, %eax /* get largest extended CPUID */
133 D16 cmpl $0x80000000, %eax /* check if > 0x80000000 */
135 D16 movl $0x80000001, %eax
144 movl %cr4, %eax
145 A16 D16 orl CR4OFF, %eax
150 D16 orl $CR4_PAE, %eax
151 movl %eax, %cr4
[all …]
H A Dbios_call_src.s51 #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 Dfb_swtch_src.s55 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 …]
/onnv-gate/usr/src/lib/libc/i386/gen/
H A Dbyteorder.s44 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 Dwsncmp.s52 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 …]
H A Dlmul.s38 popl %eax
39 xchgl %eax,0(%esp)
41 pushl %eax
43 movl lop+4(%esp),%eax
45 movl %eax,%ecx / partial high(product)
47 movl rop+4(%esp),%eax
49 addl %eax,%ecx / partial sum of high(product)
51 movl rop(%esp),%eax
55 movl %eax,%edx
56 popl %eax
[all …]
H A Dwschr.s43 movl 4(%esp),%eax / %eax = string address
46 movl (%eax),%edx / %edx = wchar of string
52 movl 4(%eax),%edx / %edx = wchar of string
58 movl 8(%eax),%edx / %edx = wchar of string
64 movl 12(%eax),%edx / %edx = wchar of string
67 addl $16,%eax
72 xorl %eax,%eax / %eax = NULL
76 addl $12,%eax
79 addl $8,%eax
82 addl $4,%eax
[all …]
H A Dmemchr.s60 movl 8(%esp), %eax / %eax = string address
65 testl $3, %eax / if %eax not word aligned
69 movl (%eax), %edx / move 1 word from (%eax) to %edx
80 addl $4, %eax / next word
86 cmpb (%eax), %cl / if a byte in (%eax) is %cl
89 incl %eax / next byte
93 xorl %eax, %eax / not found
100 cmpb (%eax), %cl / if a byte in (%eax) is %cl
102 incl %eax / next byte
104 testl $3, %eax / if %eax not word aligned
[all …]
/onnv-gate/usr/src/common/atomic/i386/
H A Datomic.s46 movl 4(%esp), %eax
48 incb (%eax)
55 movl 4(%esp), %eax
57 incw (%eax)
65 movl 4(%esp), %eax
67 incl (%eax)
76 xorl %eax, %eax / clear upper bits of %eax
88 xorl %eax, %eax / clear upper bits of %eax
101 xorl %eax, %eax / %eax = 0
102 incl %eax / %eax = 1
[all …]
/onnv-gate/usr/src/cmd/sgs/rtld/i386/
H A Dboot_elf.s86 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 …]
/onnv-gate/usr/src/uts/intel/ia32/ml/
H A Dia32.il44 movl %gs:0x10, %eax
51 movl %gs:0xc, %eax
58 movl 4(%ebp), %eax
65 movl (%esp), %eax
72 movl $-1, %eax
73 bsfl (%esp), %eax
74 incl %eax
81 movl $-1, %eax
82 bsrl (%esp), %eax
83 incl %eax
[all …]
H A Dlock_prim.s109 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 Di86_subr.s102 xorl %eax, %eax
110 xorl %eax, %eax
120 movl 4(%esp), %eax /* jumpbuf address */
122 movl %eax, T_ONFAULT(%edx) /* jumpbuf in t_onfault */
128 xorl %eax, %eax
130 movl %eax, T_ONFAULT(%edx) /* turn off onfault */
131 movl %eax, T_LOFAULT(%edx) /* turn off lofault */
138 xorl %eax, %eax
139 movl %eax, T_ONFAULT(%edx) /* turn off onfault */
140 movl %eax, T_LOFAULT(%edx) /* turn off lofault */
[all …]
H A Dexception.s179 xorl %eax, %eax
190 movl %eax, %esi /* %dr6 -> %esi */
197 xorl %eax, %eax
198 movl %eax, %db6
285 TRACE_PTR(%r12, %rax, %eax, %rdx, $TT_TRAP)
400 cmpl $DTRACE_INVOP_PUSHL_EBP, %eax
402 cmpl $DTRACE_INVOP_LEAVE, %eax
404 cmpl $DTRACE_INVOP_NOP, %eax
406 cmpl $DTRACE_INVOP_RET, %eax
518 pushl %eax /* push %eax -- may be return value */
[all …]
H A Dfloat.s66 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 …]
/onnv-gate/usr/src/lib/common/i386/
H A Dgcrt1.s95 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 Dcrt1.s89 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 …]
/onnv-gate/usr/src/lib/libc/i386/sys/
H A Dgetcontext.s48 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 …]
/onnv-gate/usr/src/uts/intel/kdi/ia32/
H A Dkdi_asm.s55 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 …]
/onnv-gate/usr/src/cmd/dtrace/test/tst/i386/pid/
H A Dtst.branch.s37 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
/onnv-gate/usr/src/lib/libc/amd64/gen/
H A Dwsncmp.s47 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 …]
/onnv-gate/usr/src/common/atomic/amd64/
H A Datomic.s77 xorl %eax, %eax / clear upper bits of %eax return register
88 xorl %eax, %eax / clear upper bits of %eax return register
99 xorl %eax, %eax / %eax = 0
100 incl %eax / %eax = 1
102 xaddl %eax, (%rdi) / %eax = old value, (%rdi) = new value
103 incl %eax / return new value
153 xorl %eax, %eax / clear upper bits of %eax return register
164 xorl %eax, %eax / clear upper bits of %eax return register
175 xorl %eax, %eax / %eax = 0
176 decl %eax / %eax = -1
[all …]
/onnv-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_grub.s128 movl %cr4, %eax
131 orl $CR4_PGE, %eax
135 orl $CR4_PAE, %eax
139 orl $CR4_PSE, %eax
141 movl %eax, %cr4
150 orl $AMD_EFER_NXE, %eax
158 movl top_page_table, %eax
159 movl %eax, %cr3
167 orl $AMD_EFER_LME, %eax
175 movl %cr0, %eax
[all …]
/onnv-gate/usr/src/lib/libcpc/i386/
H A Dgetcpuid.s40 cpc_getcpuid(uint32_t eax, uint32_t *ebxp, uint32_t *ecxp, uint32_t *edxp)
49 movl 8(%ebp), %eax
51 pushl %eax
52 movl 0xc(%ebp), %eax
53 movl %ebx, (%eax)
54 movl 0x10(%ebp), %eax
55 movl %ecx, (%eax)
56 movl 0x14(%ebp), %eax
57 movl %edx, (%eax)
58 popl %eax
/onnv-gate/usr/src/grub/grub-0.97/stage2/
H A Dasm.S256 xorl %eax,%eax /* %ax is returned via %cx */
284 movl $(ABS(pxenv_undi_isr)),%eax
286 shrl $4,%eax /* get segment */
387 movl 4(%esp), %eax
390 testl %eax, %eax
445 movl (%edi), %eax
446 movl %eax, track_int13_addr
451 movl $ABS(int1_handler), %eax
452 movl %eax, (%edi)
778 xorl %eax, %eax
[all …]

123456789