Home
last modified time | relevance | path

Searched refs:esp (Results 1 – 25 of 230) sorted by relevance

12345678910

/illumos-gate/usr/src/lib/libc/i386/fp/
H A D_xtoll.S38 subl $8,%esp
39 fstcw cw_old(%esp)
40 movw cw_old(%esp),%ax
44 movw %ax,cw(%esp)
45 fldcw cw(%esp)
46 fistpl two_words(%esp)
48 fstcw cw(%esp) // fetch CW in case masks changed value
49 movw cw(%esp),%ax
52 movw %ax,cw(%esp)
53 fldcw cw(%esp)
[all …]
H A D_base_il.S53 subl $0x8, %esp /* Give us an extra 8 bytes to play with. */
57 fldl 0xc(%esp) /* Load up x */
58 fmull 0x14(%esp) /* And multiply! */
61 fstsw (%esp) /* Equivalent of... */
63 andl $0x3f, (%esp) /* If the status word (low bits) are zero... */
65 movl 0x1c(%esp), %eax/* Get pe. */
67 addl $0x8, %esp /* Release the 8 play bytes. */
95 subl $0x8, %esp /* Give us an extra 8 bytes to play with. */
99 fldl 0xc(%esp) /* Load up x */
100 fdivl 0x14(%esp) /* And divide! */
[all …]
H A D_xtoull.S39 subl $12,%esp
40 fstcw cw_old(%esp)
41 movw cw_old(%esp),%ax
45 movw %ax,cw(%esp)
46 fldcw cw(%esp)
58 fistpll two_words(%esp)
60 movl four_words(%esp),%edx
64 fstcw cw(%esp) // fetch CW in case masks changed value
65 movw cw(%esp),%ax
68 movw %ax,cw(%esp)
[all …]
H A Dfpcw.S31 movl 4(%esp),%eax
37 fldcw 4(%esp)
42 movl 4(%esp),%eax
48 movl 4(%esp),%ecx
55 subl $28,%esp
56 fnstenv (%esp)
59 movw %cx,4(%esp)
60 fldenv (%esp)
61 addl $28,%esp
66 movl 4(%esp),%eax
[all …]
/illumos-gate/usr/src/lib/libc/i386/gen/
H A D_div64.S199 subl $48, %esp
200 movl 68(%esp), %edi / y,
202 movl %eax, 40(%esp) / x, x
203 movl %edx, 44(%esp) / x, x
208 cmpl 64(%esp), %eax / y, tmp68
211 movl 72(%esp), %ebp / pmod,
213 movl 40(%esp), %eax / x, q0
215 divl 64(%esp) / y
221 addl $48, %esp
230 movl 44(%esp), %eax / x,
[all …]
H A D_divdi3.S68 movl 4(%esp), %eax / x, x
69 movl 8(%esp), %edx / x, x
70 pushl 16(%esp) / y
71 pushl 16(%esp)
73 addl $8, %esp
84 subl $12, %esp
85 movl %esp, %ecx /, tmp65
86 movl 16(%esp), %eax / x, x
87 movl 20(%esp), %edx / x, x
89 pushl 32(%esp) / y
[all …]
/illumos-gate/usr/src/common/util/i386/
H A Dmuldiv.S73 mov %esp,%ebp
88 movl %ebp,%esp
245 subl $48, %esp
246 movl 68(%esp), %edi / y,
248 movl %eax, 40(%esp) / x, x
249 movl %edx, 44(%esp) / x, x
254 cmpl 64(%esp), %eax / y, tmp68
257 movl 72(%esp), %ebp / pmod,
259 movl 40(%esp), %eax / x, q0
261 divl 64(%esp) / y
[all …]
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dfloorl.S36 subl $8,%esp
37 fstcw (%esp)
38 fldt 12(%esp)
39 movw (%esp),%cx
42 movw %cx,4(%esp)
43 fldcw 4(%esp) / set RD = up
45 fstcw 4(%esp) / restore RD
46 movw 4(%esp),%dx
48 movw (%esp),%cx
51 movw %cx,(%esp)
[all …]
H A Dexp10f.S34 movl 4(%esp),%ecx / ecx <-- x
40 flds 4(%esp) / push x (=arg)
42 subl $8,%esp / save RP and set round-to-64-bits
43 fstcw (%esp)
44 movw (%esp),%ax
45 movw %ax,4(%esp)
47 movw %ax,(%esp)
48 fldcw (%esp)
66 fstcw (%esp) / restore old RP
67 movw (%esp),%dx
[all …]
H A Dexp10.S34 movl 8(%esp),%ecx / ecx <-- hi_32(x)
42 fldl 4(%esp) / push x (=arg)
44 subl $8,%esp / save RP and set round-to-64-bits
45 fstcw (%esp)
46 movw (%esp),%ax
47 movw %ax,4(%esp)
49 movw %ax,(%esp)
50 fldcw (%esp)
68 fstcw (%esp) / restore old RP
69 movw (%esp),%dx
[all …]
H A Dceil.S35 subl $8,%esp
36 fstcw (%esp)
37 fldl 12(%esp)
38 movw (%esp),%cx
41 movw %cx,4(%esp)
42 fldcw 4(%esp) / set RD = up
44 fstcw 4(%esp) / restore RD
45 movw 4(%esp),%dx
47 movw (%esp),%cx
50 movw %cx,(%esp)
[all …]
H A Dfloor.S35 subl $8,%esp
36 fstcw (%esp)
37 fldl 12(%esp)
38 movw (%esp),%cx
41 movw %cx,4(%esp)
42 fldcw 4(%esp) / set RD = down
44 fstcw 4(%esp) / restore RD
45 movw 4(%esp),%dx
47 movw (%esp),%cx
50 movw %cx,(%esp)
[all …]
H A Dhypot.S41 movl 8(%esp),%eax / eax <-- hi_32(x)
47 movl 16(%esp),%eax / eax <-- hi_32(y)
53 fldl 12(%esp) / ,y
55 fldl 4(%esp) / x,y*y
59 subl $8,%esp
60 fstpl (%esp) / round to double
61 fldl (%esp) / sqrt(x*x+y*y) rounded to double
65 addl $8,%esp
80 movl %esp,%ebp
88 addl $20,%esp
[all …]
H A Dexp.S36 movl 8(%esp),%ecx / ecx <-- hi_32(x)
44 fldl 4(%esp) / push x
45 subl $8,%esp
47 fstcw (%esp) /// ; 15/3
48 movw (%esp),%ax /// ; 4/1
49 movw %ax,4(%esp) /// save old RP; 2/1
51 movw %ax,(%esp) /// ; 2/1
52 fldcw (%esp) /// ; 19/4
70 fstcw (%esp) / restore RD
71 movw (%esp),%dx
[all …]
H A Dexpm1f.S39 movl 4(%esp),%ecx / ecx <-- x
45 flds 4(%esp) / push x
47 subl $8,%esp / save RP and set round-to-64-bits
48 fstcw (%esp)
49 movw (%esp),%ax
50 movw %ax,4(%esp)
52 movw %ax,(%esp)
53 fldcw (%esp)
85 fstcw (%esp) / restore old RP
86 movw (%esp),%dx
[all …]
H A Dexpm1.S39 movl 8(%esp),%ecx / ecx <-- hi_32(x)
47 fldl 4(%esp) / push x
49 subl $8,%esp / save RP and set round-to-64-bits
50 fstcw (%esp)
51 movw (%esp),%ax
52 movw %ax,4(%esp)
54 movw %ax,(%esp)
55 fldcw (%esp)
84 fstcw (%esp) / restore old RP
85 movw (%esp),%dx
[all …]
H A Dcopysignl.S35 movl 12(%esp),%eax / sign and bexp of x
36 movl 24(%esp),%ecx / sign and bexp of y
40 movl 8(%esp),%ecx / ecx <-- hi_32(sgnfcnd(x))
41 movl 4(%esp),%edx / edx <-- lo_32(sgnfcnd(x))
42 subl $12,%esp / set up loading dock for result
43 movl %edx,(%esp) / copy lo_32(result's sgnfcnd)
47 movl %eax,8(%esp) / copy sign&bexp(result)
49 fldt (%esp) / load copysign(x,y)
50 addl $12,%esp / restore stack-pointer for return
H A Dhypotf.S36 movl 4(%esp),%eax / eax <-- x
41 movl 8(%esp),%eax / eax <-- y
46 flds 8(%esp) / y
49 flds 4(%esp) / x,y*y
53 subl $4,%esp
54 fstps (%esp) / round to single
55 flds (%esp)
57 addl $4,%esp
62 flds 4(%esp)
/illumos-gate/usr/src/uts/intel/ia32/sys/
H A Dprivregs.h103 subl $8, %esp; \
104 movl REGOFF_EIP(%esp), %eax; \
105 movl %eax, REGOFF_SAVPC(%esp); \
106 movl %ebp, REGOFF_SAVFP(%esp);
112 subl $16, %esp; \
113 movw %ds, 12(%esp); \
114 movw %es, 8(%esp); \
115 movw %fs, 4(%esp); \
116 movw %gs, 0(%esp);
143 movw 0(%esp), %gs; \
[all …]
/illumos-gate/usr/src/common/atomic/i386/
H A Datomic.S47 movl 4(%esp), %eax
56 movl 4(%esp), %eax
66 movl 4(%esp), %eax
76 movl 4(%esp), %edx / %edx = target address
88 movl 4(%esp), %edx / %edx = target address
101 movl 4(%esp), %edx / %edx = target address
122 movl 12(%esp), %edi / %edi = target address
144 movl 4(%esp), %eax
153 movl 4(%esp), %eax
163 movl 4(%esp), %eax
[all …]
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A D32.avx512.s43 vmovaps %zmm4, 0x8(%esp)
44 vmovaps 0x8(%esp), %zmm3
55 vmovups 0x8(%esp), %zmm7
58 vmovupd (%esp), %zmm1{%k2}
59 vmovupd %zmm6, (%esp)
62 vmovaps %zmm5, (%esp)
63 vmovaps %zmm5, 0x20(%esp)
64 vmovaps %zmm4, 0x40(%esp)
65 vmovaps %zmm4, 0x60(%esp)
66 vmovaps %zmm4, 0x80(%esp)
[all …]
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Ddoor.S64 movl %esp, %ebp; \
72 addl $28, %esp; \
76 addl $28, %esp; \
122 movl %esp, %edx / Save pointer to args
152 movl DOOR_SERVERS(%esp), %eax
158 movl DOOR_INFO_PTR(%esp), %eax
159 subl $12, %esp
162 addl $16, %esp
165 movl DOOR_PC(%esp), %eax
168 subl $12, %esp
[all …]
H A Dgetcontext.S52 movl 4(%esp), %eax; /* %eax <-- first arg: ucp */ \
55 addl $4, %esp; /* pop arg */ \
60 movl 4(%esp), %eax; /* recompute first arg */ \
66 movl 0(%esp), %eax; /* read return PC from stack */ \
69 leal 4(%esp), %eax; /* get caller's sp at time of call */ \
91 movl 8(%esp), %eax /* %eax <-- second arg: ucp */
94 addl $4, %esp /* pop arg: just in case */
102 movl 8(%esp), %eax
117 movl 8(%esp), %eax
122 movl 12(%esp), %eax /* %eax <-- second arg: ucp */
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/pid/
H A Dtst.ret.S51 pushl (%esp)
56 pushl (%esp)
63 movl %esp, %ebp
66 movl %ebp, %esp
73 movl %esp, %ebp
74 subl $0x4, %esp
81 addl $0x4, %esp
86 movl %esp, %esi
95 cmpl %esp, %esi
103 movl %ebp, %esp
[all …]
/illumos-gate/usr/src/test/os-tests/tests/stackalign/
H A Dstack_i386.S36 movl %esp, %ebp
42 addl $8, %esp
57 movl %esp, %ebp
59 subl $8, %esp
60 movl %eax, (%esp)
62 addl $8, %esp
72 movl %esp, %eax
75 addl $4, %esp

12345678910