Home
last modified time | relevance | path

Searched refs:ebp (Results 1 – 25 of 107) sorted by relevance

12345

/illumos-gate/usr/src/boot/efi/loader/arch/i386/
H A Dmultiboot_tramp.S52 pushl %ebp /* keep familiar stack frame */
53 movl %esp, %ebp /* current SP */
54 movl 0xc(%ebp),%eax /* relocator */
59 movl 0x10(%ebp),%eax /* entry */
61 movl 0xc(%ebp),%eax /* relocator */
63 movl 0x8(%ebp),%eax /* magic */
67 pushl %ebp
68 movl %esp, %ebp
71 movl 0xc(%ebp), %eax /* relocator */
76 movl %eax, -0x4(%ebp) /* save MBI */
[all …]
/illumos-gate/usr/src/lib/brand/shared/brand/i386/
H A Dhandler.S80 pushl %ebp /* allocate a stack frame */
81 movl %esp, %ebp
84 movl $0, EH_LOCALS_GREG(TRAPNO)(%ebp)
85 movl $0, EH_LOCALS_GREG(ERR)(%ebp)
86 movl %ebx, EH_LOCALS_GREG(EBX)(%ebp)
87 movl %ecx, EH_LOCALS_GREG(ECX)(%ebp)
88 movl %edx, EH_LOCALS_GREG(EDX)(%ebp)
89 movl %edi, EH_LOCALS_GREG(EDI)(%ebp)
90 movl %esi, EH_LOCALS_GREG(ESI)(%ebp)
91 mov %cs, EH_LOCALS_GREG(CS)(%ebp)
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A Dboot_elf.S105 movl -4(%ebp), %eax / %eax = dyndata
109 movl %edi, -8(%ebp) / save destination address
116 lea 4(%ebp), %edi
117 movl %edi, -84(%ebp) / %esp
118 movl 0(%ebp), %edi
119 movl %edi, -80(%ebp) / %ebp
123 movl -4(%ebp), %edi
126 lea -84(%ebp), %eax
135 movl %eax, -8(%ebp) / save calling address
160 movl 0(%ebp), %eax
[all …]
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dnextafter.S45 pushl %ebp
46 movl %esp,%ebp
47 fldl 16(%ebp) / y
49 fldl 8(%ebp) / load x
60 movl %ecx,-8(%ebp)
62 movl %ecx,-4(%ebp)
72 movl %ecx,-8(%ebp)
75 movl %ecx,-4(%ebp)
81 movl 8(%ebp),%eax / low x
82 movl 12(%ebp),%ecx / high x
[all …]
H A Dnextafterl.S41 pushl %ebp
42 movl %esp,%ebp
43 fldt 20(%ebp) / y
45 fldt 8(%ebp) / load x
55 movl $1,-12(%ebp) /// -12(%ebp) contains Fminl
56 movl $0,-8(%ebp)
58 movl %ecx,-4(%ebp)
67 movl $1,-12(%ebp) /// -12(%ebp) contains -Fminl
68 movl $0,-8(%ebp)
70 movl %ecx,-4(%ebp)
[all …]
H A Dnexttowardl.S41 pushl %ebp
42 movl %esp,%ebp
43 fldt 20(%ebp) / y
45 fldt 8(%ebp) / load x
55 movl $1,-12(%ebp) /// -12(%ebp) contains Fminl
56 movl $0,-8(%ebp)
58 movl %ecx,-4(%ebp)
67 movl $1,-12(%ebp) /// -12(%ebp) contains -Fminl
68 movl $0,-8(%ebp)
70 movl %ecx,-4(%ebp)
[all …]
H A Dnextafterf.S42 pushl %ebp
43 movl %esp,%ebp
45 flds 12(%ebp) / y
47 flds 8(%ebp) / x, y
57 movl $0x1,-4(%ebp) / -4(%ebp) contains Fminf
66 movl $0x80000001,-4(%ebp) / -4(%ebp) contains -Fminf
72 movl 8(%ebp),%eax / x
74 movl %eax,-4(%ebp)
77 movl 8(%ebp),%eax / x
79 movl %eax,-4(%ebp)
[all …]
H A D__reduction.S65 pushl %ebp
66 movl %esp,%ebp
69 leal -16(%ebp),%eax / address of y[0]
72 pushl 16(%ebp)
73 pushl 12(%ebp)
75 pushl 20(%ebp)
76 pushl 16(%ebp)
79 fldl -8(%ebp) / y[1]
80 fldl -16(%ebp) / y[0], y[1]
H A Dlog.S64 pushl %ebp
65 movl %esp,%ebp
79 pushl %ebp
80 movl %esp,%ebp
85 pushl 12(%ebp)
86 pushl 8(%ebp)
87 pushl 12(%ebp)
88 pushl 8(%ebp)
H A Dlog10.S64 pushl %ebp
65 movl %esp,%ebp
79 pushl %ebp
80 movl %esp,%ebp
85 pushl 12(%ebp)
86 pushl 8(%ebp)
87 pushl 12(%ebp)
88 pushl 8(%ebp)
H A Datan2.S55 pushl %ebp
56 movl %esp,%ebp
59 pushl 12(%ebp) / high y
60 pushl 8(%ebp) / low y
61 pushl 20(%ebp) / high x
62 pushl 16(%ebp) / low x
H A Dfmod.S51 pushl %ebp
52 movl %esp,%ebp
55 pushl 20(%ebp) / pass x
56 pushl 16(%ebp)
57 pushl 12(%ebp) / pass y
58 pushl 8(%ebp)
/illumos-gate/usr/src/common/bignum/i386/
H A Dbignum_i386_asm.S391 pushl %ebp
392 movl %esp, %ebp
401 movl 8(%ebp), %edx
402 movl 12(%ebp), %ebx
403 movl 16(%ebp), %ecx
404 movd 20(%ebp), %mm3
412 movl 8(%ebp), %edx
413 movl 12(%ebp), %ebx
414 movl 16(%ebp), %ecx
415 movd 20(%ebp), %mm3
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/pid/
H A Dtst.ret.S62 pushl %ebp
63 movl %esp, %ebp
64 movl 8(%ebp), %eax
66 movl %ebp, %esp
67 popl %ebp
72 pushl %ebp
73 movl %esp, %ebp
75 movl $0x0, -4(%ebp)
78 leal -4(%ebp), %eax
103 movl %ebp, %esp
[all …]
H A Dtst.embedded.S33 pushl %ebp
34 movl %esp, %ebp
35 movl 8(%ebp), %eax
37 popl %ebp
42 pushl %ebp
43 movl %esp, %ebp
45 movl $0x0, -4(%ebp)
47 leal -4(%ebp), %eax
64 popl %ebp
H A Dtst.branch.S33 pushl %ebp
34 movl %esp, %ebp
35 movl 8(%ebp), %eax
37 popl %ebp
42 pushl %ebp
43 movl %esp, %ebp
45 movl $0x0, -4(%ebp)
48 leal -4(%ebp), %eax
69 popl %ebp
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dasm.S136 ADDR32 movl %ebp, EXT_C(install_second_sector)
140 movl $STACKOFF, %ebp
141 movl %ebp, %esp
221 pushl %ebp
222 movl %esp,%ebp
227 movw 8(%ebp),%cx /* Seg:off addr of undi_call_info_t struct */
228 movw 12(%ebp),%dx /* Pass to 16-bit code in %cx:%dx */
262 popl %ebp
437 pushl %ebp
438 movl %esp, %ebp
[all …]
/illumos-gate/usr/src/test/os-tests/tests/stackalign/
H A Dstack_i386.S35 pushl %ebp
36 movl %esp, %ebp
37 leal 8(%ebp), %eax
38 movl 8(%ebp), %ecx
43 popl %ebp
56 pushl %ebp
57 movl %esp, %ebp
58 leal 8(%ebp), %eax
63 popl %ebp
/illumos-gate/usr/src/lib/libcpc/i386/
H A Dgetcpuid.S44 pushl %ebp
45 movl %esp, %ebp
47 movl 8(%ebp), %eax
50 movl 0xc(%ebp), %eax
52 movl 0x10(%ebp), %eax
54 movl 0x14(%ebp), %eax
58 popl %ebp
/illumos-gate/usr/src/lib/libc/i386/gen/
H A D_mul64.S47 push %ebp
48 mov %esp,%ebp
50 mov 12(%ebp),%eax / A.hi (a)
51 mull 16(%ebp) / Multiply A.hi by B.lo (produces ad)
53 movl 8(%ebp),%eax / A.Lo (b)
55 mull 16(%ebp) / Multiply A.Lo by B.LO (dx:ax = bd.)
58 mull 20(%ebp) / Multiply A.lo * B.hi (producing bc)
63 movl %ebp,%esp
64 popl %ebp
H A D_div64.S196 pushl %ebp
211 movl 72(%esp), %ebp / pmod,
216 movl %edx, (%ebp) / div_rem,
219 movl $0, 4(%ebp)
226 popl %ebp
237 movl 40(%esp), %ebp / x,
239 movl %ebp, (%esi)
249 popl %ebp
269 xorl %ebp, %ebp / q0
273 movl $1, %ebp /, q0
[all …]
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c76 __rtld(Elf32_Boot *ebp, const char *strings[], int (*funcs[])()) in __rtld() argument
102 while (ebp->eb_tag != 0) { in __rtld()
103 switch (ebp->eb_tag) { in __rtld()
105 program_name = *((char **)ebp->eb_un.eb_ptr); in __rtld()
108 for (ap = (auxv_t *)ebp->eb_un.eb_ptr; in __rtld()
116 ebp++; in __rtld()
125 ebp->eb_tag = EB_PAGESIZE, (ebp++)->eb_un.eb_val = in __rtld()
249 ebp->eb_tag = EB_LDSO_BASE; in __rtld()
250 (ebp++)->eb_un.eb_ptr = (Elf32_Addr)addr; in __rtld()
321 ebp->eb_tag = EB_DEVZERO, (ebp++)->eb_un.eb_val = dzfd; in __rtld()
[all …]
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A D_rtld.c74 __rtld(Elf32_Boot *ebp, const char *strings[], int (*funcs[])()) in __rtld() argument
101 while (ebp->eb_tag != 0) { in __rtld()
102 switch (ebp->eb_tag) { in __rtld()
104 program_name = *((char **)ebp->eb_un.eb_ptr); in __rtld()
107 for (ap = (auxv_t *)ebp->eb_un.eb_ptr; in __rtld()
115 ebp++; in __rtld()
124 ebp->eb_tag = EB_PAGESIZE, (ebp++)->eb_un.eb_val = in __rtld()
249 ebp->eb_tag = EB_LDSO_BASE; in __rtld()
250 (ebp++)->eb_un.eb_ptr = (Elf32_Addr)addr; in __rtld()
322 ebp->eb_tag = EB_DEVZERO, (ebp++)->eb_un.eb_val = dzfd; in __rtld()
[all …]
/illumos-gate/usr/src/common/util/i386/
H A Dmuldiv.S72 push %ebp
73 mov %esp,%ebp
75 mov 12(%ebp),%eax / A.hi (a)
76 mull 16(%ebp) / Multiply A.hi by B.lo (produces ad)
78 movl 8(%ebp),%eax / A.Lo (b)
80 mull 16(%ebp) / Multiply A.Lo by B.LO (dx:ax = bd.)
83 mull 20(%ebp) / Multiply A.lo * B.hi (producing bc)
88 movl %ebp,%esp
89 popl %ebp
242 pushl %ebp
[all …]
/illumos-gate/usr/src/boot/i386/btx/lib/
H A Dbtxv86.s62 __v86_swap: xchgl %ebp,0x4(%esp,1) # Swap pointer, EBP
63 xchgl %eax,V86_EAX(%ebp) # Swap EAX
64 xchgl %ecx,V86_ECX(%ebp) # Swap ECX
65 xchgl %edx,V86_EDX(%ebp) # Swap EDX
66 xchgl %ebx,V86_EBX(%ebp) # Swap EBX
70 xchgl %eax,V86_EFL(%ebp) # Swap
74 xchgl %eax,V86_EBP(%ebp) # Swap
77 xchgl %esi,V86_ESI(%ebp) # Swap ESI
78 xchgl %edi,V86_EDI(%ebp) # Swap EDI
79 xchgl %ebp,0x4(%esp,1) # Swap pointer, EBP

12345