Home
last modified time | relevance | path

Searched refs:ax (Results 1 – 25 of 179) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libm/common/C/
H A Dhypot.c92 ax = fabs(y); in hypot()
113 return (ax == ay ? ay : ax); in hypot()
115 return (ay == ax ? ax : ay); in hypot()
121 ax += ay; in hypot()
175 ax += ay / (ax + sqrt(ax * ax + ay)); in hypot()
180 w = sqrt(ax * ax + ay * ay); in hypot()
181 ax += ay / ((ax + w) / ay); in hypot()
188 ay = ay * ay + (ax - xh) * (ax + xh); in hypot()
191 ax = ax + ax; in hypot()
196 ay = w * w + ((ax - xh) * yh + (ay - yh) * ax); in hypot()
[all …]
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dcabs.c67 ax = fabs(y); in cabs()
88 return ((ax == ay)? ay : ax); in cabs()
90 return ((ay == ax)? ax : ay); in cabs()
97 ax += ay; in cabs()
151 ax += ay / (ax + sqrt(ax * ax + ay)); in cabs()
155 w = sqrt(ax * ax + ay * ay); in cabs()
156 ax += ay / ((ax + w) / ay); in cabs()
163 ay = ay * ay + (ax - xh) * (ax + xh); in cabs()
166 ax = ax + ax; in cabs()
171 ay = w * w + ((ax - xh) * yh + (ay - yh) * ax); in cabs()
[all …]
H A Dcatanl.c133 ax = fabsl(x); in catanl()
158 LD_RE(ans) = (fabsl(x) - ax) / (fabsl(x) - ax); in catanl()
214 t = (ay / ax) / ax; in catanl()
216 t = ay / (ax * ax + t1 * t1); in catanl()
255 if (ax < E) in catanl()
275 t = ((ay / ax) / (one + ((ay - one) / ax) * ((ay - one) / in catanl()
276 ax))) / ax; in catanl()
313 LD_RE(ans) = half * (atan2l((ax + ax), (t * (one + in catanl()
314 ay) - ax * ax))); in catanl()
317 LD_RE(ans) = half * atan2l((ax + ax), ((one - ax) * in catanl()
[all …]
H A Dcsqrt.c134 ax = fabs(x); in csqrt()
160 t = sqrt(ax); in csqrt()
162 ax *= twom601; in csqrt()
164 t = two300 * sqrt(ax + sqrt(ax * ax + y * y)); in csqrt()
166 ax *= two599; in csqrt()
168 t = twom300 * sqrt(ax + sqrt(ax * ax + y * y)); in csqrt()
170 t = sqrt(half * (ax + sqrt(ax * ax + ay * ay))); in csqrt()
192 t = two300 * sqrt(ax + sqrt(ax * ax + y * y)); in csqrt()
194 ax *= two599; in csqrt()
196 t = twom300 * sqrt(ax + sqrt(ax * ax + y * y)); in csqrt()
[all …]
H A Dcsqrtl.c60 ax = fabsl(x);
90 t = sqrtl(ax);
92 ax *= twom9001;
94 t = two4500 * sqrtl(ax + sqrtl(ax * ax + y * y));
96 ax *= two8999;
98 t = twom4500 * sqrtl(ax + sqrtl(ax * ax + y * y));
100 t = sqrtl(half * (ax + sqrtl(ax * ax + y * y)));
127 t = two4500 * sqrtl(ax + sqrtl(ax * ax + y * y));
129 ax *= two8999;
131 t = twom4500 * sqrtl(ax + sqrtl(ax * ax + y * y));
[all …]
H A Dcatan.c100 ax = fabs(x); in catan()
127 D_RE(ans) = (fabs(x) - ax) / (fabs(x) - ax); in catan()
176 one / ax)); in catan()
183 t = (ay / ax) / ax; in catan()
185 t = ay / (ax * ax + (ay - one) * (ay - one)); in catan()
238 t = ((ay / ax) / (one + ((ay - one) / ax) * ((ay - one) / in catan()
239 ax))) / ax; in catan()
276 D_RE(ans) = half * (atan2((ax + ax), (t * (one + ay) - in catan()
277 ax * ax))); in catan()
280 D_RE(ans) = half * atan2((ax + ax), ((one - ax) * in catan()
[all …]
H A Dclogl.c61 ax = fabsl(x); in clogl()
65 t = ax; in clogl()
66 ax = ay; in clogl()
73 if (isinfl(ax)) in clogl()
74 LD_RE(ans) = ax; in clogl()
78 LD_RE(ans) = ax + ay; in clogl()
80 LD_RE(ans) = logl(ax); in clogl()
84 if (ax == one) in clogl()
96 LD_RE(ans) = logl(ax); in clogl()
99 LD_RE(ans) = half * logl(ax * ax + ay * ay); in clogl()
[all …]
H A Dclog.c86 ax = fabs(x); in __clog()
90 t = ax; in __clog()
91 ax = ay; in __clog()
101 D_RE(ans) = ax; in __clog()
105 D_RE(ans) = ax * ay; in __clog()
107 D_RE(ans) = ((ix | lx) == 0)? -one / ax : log(ax); in __clog()
114 D_RE(ans) = log(ax); in __clog()
119 D_RE(ans) = log(ax); in __clog()
124 D_RE(ans) = log(ax); in __clog()
127 D_RE(ans) = half * log(ax * ax + ay * ay); in __clog()
[all …]
/illumos-gate/usr/src/boot/i386/libi386/
H A Drelocater_tramp.S76 movw %ax, %ss
77 movw %ax, %ds
78 movw %ax, %es
79 movw %ax, %fs
80 movw %ax, %gs
124 movw %ax, %ds
140 xorw %ax, %ax
181 test %ax, %ax
205 xorw %ax, %ax
207 decw %ax
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dasm.S126 xorw %ax, %ax
572 xorw %ax, %ax
582 testw %ax, %ax
629 xorw %ax, %ax
649 xorw %ax, %ax
701 xorw %ax, %ax
710 testw %ax, %ax
824 testw %ax, %ax
1099 xorw %ax, %ax
1116 xorw %ax, %ax
[all …]
H A Dstart.S110 movw 4(%di), %ax
114 subw %ax, 4(%di)
125 movw %ax, 2(%si)
134 pushw %ax
140 movw %ax, 4(%si)
186 cmpw 8(%si), %ax
203 movw 4(%di), %ax
207 subw %ax, 4(%di)
267 popw %ax
280 shlw $4, %ax
[all …]
H A Dpxeloader.S29 movw %ss:4(%bp), %ax
30 pushw %ax
31 movw %ss:6(%bp), %ax
32 pushw %ax
37 popw %ax
38 movw %ax, %cs:(pxeseg-1b)(%bx)
39 popw %ax
40 movw %ax, %cs:(pxeoff-1b)(%bx)
41 movw %ax, %bx
H A Dnbloader.S57 movw $NBI_DEST_SEG, %ax
58 movw %ax, %ds
59 movw $RELOCATED_SEG, %ax
60 movw %ax, %es
94 movw %es, %ax
95 addw $0x0800, %ax
96 movw %ax, %es
97 movw %ds, %ax
98 addw $0x800, %ax
99 movw %ax, %ds
/illumos-gate/usr/src/lib/libc/amd64/fp/
H A D_xtoll.S40 movw %ax,%cx
42 orw $0x0c00,%ax
43 movw %ax,cw(%rsp)
48 movw cw(%rsp),%ax
49 andw $0xf3ff,%ax
51 movw %ax,cw(%rsp)
64 movw %ax,%cx
66 orw $0x0c00,%ax
73 andw $0xf3ff,%ax
91 movw %ax,%cx
[all …]
/illumos-gate/usr/src/lib/libc/i386/fp/
H A D_xtoll.S41 movw %ax,%cx
43 orw $0x0c00,%ax
44 movw %ax,cw(%esp)
49 movw cw(%esp),%ax
50 andw $0xf3ff,%ax
52 movw %ax,cw(%esp)
65 movw %ax,%cx
67 orw $0x0c00,%ax
74 andw $0xf3ff,%ax
93 movw %ax,%cx
[all …]
H A D_xtoull.S41 movw cw_old(%esp),%ax
42 movw %ax,%cx
44 orw $0x0c00,%ax
45 movw %ax,cw(%esp)
50 fstsw %ax // store status in %ax
65 movw cw(%esp),%ax
66 andw $0xf3ff,%ax
67 orw %cx,%ax // restore RC
68 movw %ax,cw(%esp)
/illumos-gate/usr/src/uts/i86pc/ml/
H A Dmpcore.S75 movw %cs, %ax
220 movw $KDS_SEL, %ax
221 movw %ax, %ds
222 movw %ax, %es
223 movw %ax, %ss
226 ltr %ax
228 xorw %ax, %ax /* clear LDTR */
229 lldt %ax
315 movw %cs, %ax
323 jmp *%ax
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Derf.c278 if ((ax = x) < 0)
279 ax = - ax;
280 if (ax < .84375) {
307 z = -ax*ax;
309 if (ax < 2.0) {
320 z = exp(z)/ax;
339 if ((ax = x) < 0)
340 ax = -ax;
356 s = ax-one;
370 z = ax;
[all …]
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vsqrtf_ultra3.S74 ! ax = *(int*)px;
77 ! if( ax >= 0x7f800000 )
83 ! if( ax < 0x00800000 )
91 ! iexp0 = ax >> 24;
99 ! ax >>= 11;
100 ! si0 = ax & 0x1ff0;
182 sra %o2,11,%i2 ! (2_0) ax >>= 11;
214 sra %o1,11,%l0 ! (3_1) ax >>= 11;
246 sra %o2,11,%i5 ! (4_1) ax >>= 11;
280 sra %l1,11,%i4 ! (0_0) ax >>= 11;
[all …]
H A D__vatanf.S192 ! ax = ux & 0x7fffffff;
194 ! if ( ax < 0x39b89c55 )
200 ! if ( ax > 0x4c700518 )
202 ! if ( ax > 0x7f800000 )
236 ! ax = ux & 0x7fffffff;
237 ! ax += 0x00100000;
238 ! ax >>= 18;
239 ! ax &= -8;
621 and %o1,-8,%o1 ! (1_1) ax &= -8;
691 and %o7,-8,%o7 ! (2_1) ax &= -8;
[all …]
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dpow.S90 fnstsw %ax / store status in %ax
95 fnstsw %ax / store status in %ax
138 fnstsw %ax / store status in %ax
166 fnstsw %ax / store status in %ax
209 fnstsw %ax / store status in %ax
219 fnstsw %ax / store status in %ax
237 fnstsw %ax / store status in %ax
265 fnstsw %ax / store status in %ax
289 fnstsw %ax / store status in %ax
315 fnstsw %ax / store status in %ax
[all …]
H A Dpowf.S91 fnstsw %ax / store status in %ax
96 fnstsw %ax / store status in %ax
124 fnstsw %ax / store status in %ax
152 fnstsw %ax / store status in %ax
195 fnstsw %ax / store status in %ax
205 fnstsw %ax / store status in %ax
216 fnstsw %ax / store status in %ax
233 fnstsw %ax / store status in %ax
264 fnstsw %ax / store status in %ax
294 fnstsw %ax / store status in %ax
[all …]
H A Dpowl.S87 fnstsw %ax / store status in %ax
92 fnstsw %ax / store status in %ax
120 fnstsw %ax / store status in %ax
148 fnstsw %ax / store status in %ax
191 fnstsw %ax / store status in %ax
201 fnstsw %ax / store status in %ax
212 fnstsw %ax / store status in %ax
229 fnstsw %ax / store status in %ax
260 fnstsw %ax / store status in %ax
286 fnstsw %ax / store status in %ax
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage1/
H A Dstage1.S133 xorw %ax, %ax
134 movw %ax, %ds
135 movw %ax, %ss
209 movw %ax, 4(%si)
258 incw %ax
268 incw %ax
269 movw %ax, 8(%si)
271 xorw %ax, %ax
301 cmpw 8(%si), %ax
461 xorw %ax, %ax
[all …]
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_xen.S41 xorw %ax, %ax
42 movw %ax, %fs
43 movw %ax, %gs
88 xorw %ax, %ax
89 movw %ax, %fs
90 movw %ax, %gs

12345678