/src/lib/libm/ld128/ |
s_cospil.c | 49 long double ai, ar, ax, c; local in function:cospil 51 ax = fabsl(x); 53 if (ax <= 1) { 54 if (ax < 0.25) { 55 if (ax < 0x1p-60) { 59 return (__kernel_cospil(ax)); 62 if (ax < 0.5) 63 c = __kernel_sinpil(0.5 - ax); 64 else if (ax < 0.75) { 65 if (ax == 0.5 [all...] |
s_sinpil.c | 49 long double ai, ar, ax, hi, lo, s; local in function:sinpil 51 ax = fabsl(x); 53 if (ax < 1) { 54 if (ax < 0.25) { 55 if (ax < 0x1p-60) { 66 s = __kernel_sinpil(ax); 70 if (ax < 0.5) 71 s = __kernel_cospil(0.5 - ax); 72 else if (ax < 0.75) 73 s = __kernel_cospil(ax - 0.5) [all...] |
s_tanpil.c | 72 long double ai, ar, ax, hi, lo, t; local in function:tanpil 75 ax = fabsl(x); 77 if (ax < 1) { 78 if (ax < 0.5) { 79 if (ax < 0x1p-60) { 89 t = __kernel_tanpil(ax); 90 } else if (ax == 0.5) 93 t = -__kernel_tanpil(1 - ax); 97 if (ax < 0x1p112) { 98 /* Split ax = ai + ar with 0 <= ar < 1. * [all...] |
/src/lib/libm/src/ |
s_cospi.c | 84 double ax, c; local in function:cospi 89 INSERT_WORDS(ax, ix, lx); 94 if ((int)ax == 0) 97 return (__kernel_cospi(ax)); 101 c = __kernel_sinpi(0.5 - ax); 103 if (ax == 0.5) 105 c = -__kernel_sinpi(ax - 0.5); 107 c = -__kernel_cospi(1 - ax); 112 FFLOOR(x, jj0, ix, lx); /* Integer part of ax. */ 113 ax -= x [all...] |
s_cospif.c | 50 float ax, c; local in function:cospif 55 SET_FLOAT_WORD(ax, ix); 61 if ((int)ax == 0) 64 return (__kernel_cospif(ax)); 68 c = __kernel_sinpif(0.5F - ax); 72 c = -__kernel_sinpif(ax - 0.5F); 74 c = -__kernel_cospif(1 - ax); 79 FFLOORF(x, jj0, ix); /* Integer part of ax. */ 80 ax -= x; 81 GET_FLOAT_WORD(ix, ax); [all...] |
s_sinpi.c | 86 double ax, hi, lo, s; local in function:sinpi 91 INSERT_WORDS(ax, ix, lx); 111 s = __kernel_sinpi(ax); 116 s = __kernel_cospi(0.5 - ax); 118 s = __kernel_cospi(ax - 0.5); 120 s = __kernel_sinpi(1 - ax); 125 FFLOOR(x, j0, ix, lx); /* Integer part of ax. */ 126 ax -= x; 127 EXTRACT_WORDS(ix, lx, ax); 134 s = __kernel_sinpi(ax); [all...] |
s_sinpif.c | 56 float ax, hi, lo, s; local in function:sinpif 61 SET_FLOAT_WORD(ax, ix); 76 s = __kernel_sinpif(ax); 81 s = __kernel_cospif(0.5F - ax); 83 s = __kernel_cospif(ax - 0.5F); 85 s = __kernel_sinpif(1 - ax); 90 FFLOORF(x, j0, ix); /* Integer part of ax. */ 91 ax -= x; 92 GET_FLOAT_WORD(ix, ax); 99 s = __kernel_sinpif(ax); [all...] |
s_tanpif.c | 65 float ax, hi, lo, odd, t; local in function:tanpif 70 SET_FLOAT_WORD(ax, ix); 84 t = __kernel_tanpif(ax); 88 t = - __kernel_tanpif(1 - ax); 93 FFLOORF(x, jj0, ix); /* Integer part of ax. */ 95 ax -= x; 96 GET_FLOAT_WORD(ix, ax); 99 t = ix == 0 ? copysignf(0, odd) : __kernel_tanpif(ax); 103 t = - __kernel_tanpif(1 - ax);
|
s_tanpi.c | 117 double ax, hi, lo, odd, t; local in function:tanpi 122 INSERT_WORDS(ax, ix, lx); 141 t = __kernel_tanpi(ax); 142 } else if (ax == 0.5) 145 t = - __kernel_tanpi(1 - ax); 150 FFLOOR(x, j0, ix, lx); /* Integer part of ax. */ 152 ax -= x; 153 EXTRACT_WORDS(ix, lx, ax); 156 t = ix == 0 ? copysign(0, odd) : __kernel_tanpi(ax); 157 else if (ax == 0.5 [all...] |
s_clogl.c | 57 long double ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl; local in function:clogl 69 ax = fabsl(x); 71 if (ax < ay) { 72 t = ax; 73 ax = ay; 77 GET_LDBL_EXPSIGN(hax, ax); 86 /* Avoid spurious underflow, and reduce inaccuracies when ax is 1. */ 87 if (ax == 1) { 93 /* Avoid underflow when ax is not small. Also handle zero args. */ 95 RETURNI(CMPLXL(logl(ax), v)) [all...] |
/src/lib/libm/ld80/ |
s_cospil.c | 48 long double ax, c; local in function:cospil 55 INSERT_LDBL80_WORDS(ax, ix, lx); 65 RETURNI(__kernel_cospil(ax)); 69 c = __kernel_sinpil(0.5 - ax); 71 if (ax == 0.5) 73 c = -__kernel_sinpil(ax - 0.5); 75 c = -__kernel_cospil(1 - ax); 80 FFLOORL80(x, j0, ix, lx); /* Integer part of ax. */ 81 ax -= x; 82 EXTRACT_LDBL80_WORDS(ix, lx, ax); [all...] |
s_sinpil.c | 50 long double ax, hi, lo, s; local in function:sinpil 57 INSERT_LDBL80_WORDS(ax, ix, lx); 74 s = __kernel_sinpil(ax); 79 s = __kernel_cospil(0.5 - ax); 81 s = __kernel_cospil(ax - 0.5); 83 s = __kernel_sinpil(1 - ax); 88 FFLOORL80(x, j0, ix, lx); /* Integer part of ax. */ 89 ax -= x; 90 EXTRACT_LDBL80_WORDS(ix, lx, ax); 97 s = __kernel_sinpil(ax); [all...] |
s_tanpil.c | 71 long double ax, hi, lo, odd, t; local in function:tanpil 78 INSERT_LDBL80_WORDS(ax, ix, lx); 95 t = __kernel_tanpil(ax); 96 } else if (ax == 0.5) 99 t = -__kernel_tanpil(1 - ax); 104 FFLOORL80(x, j0, ix, lx); /* Integer part of ax. */ 106 ax -= x; 107 EXTRACT_LDBL80_WORDS(ix, lx, ax); 110 t = ix == 0 ? copysignl(0, odd) : __kernel_tanpil(ax); 111 else if (ax == 0.5L [all...] |
/src/sys/arch/i386/stand/fatboot/ |
fatboot.S | 73 #define set_err(err) mov $err, %ax 110 mov %ax, %ds 111 mov %ax, %es 112 mov %ax, %ss 127 mov bpb_res_sectors(%bp), %ax 141 movzbw bpb_FATs(%bp), %ax /* Count of FATs */ 142 mulw bpb_FAT_secs(%bp) /* FAT size in %dx:%ax */ 144 xchg %ax,%dx /* FAT size now in %edx */ 155 mov bpb_root_dir_ents(%bp), %ax 160 adc $0, %ax /* and round up the division * [all...] |
/src/lib/libc/arch/i386/string/ |
swab.S | 30 rorw $8,%ax 40 rorw $8,%ax 43 rorw $8,%ax 46 rorw $8,%ax 49 rorw $8,%ax 52 rorw $8,%ax 55 rorw $8,%ax 58 rorw $8,%ax 61 rorw $8,%ax
|
/src/sys/arch/i386/stand/lib/ |
realprot.S | 96 mov %cs, %ax 97 mov %ax, ourseg 107 mov %ax, %dx 112 movw %ax, gdt+gdt_index+2; \ 151 or $CR0_PE, %ax 160 mov %ax, %ds 161 mov %ax, %es 162 mov %ax, %ss 217 movw $bootrealdata, %ax 218 movw %ax, %d [all...] |
multiboot.S | 98 movw %ax,%es /* for arg copy */ 108 movw %ax,%ss 118 mov %ax,%ds 119 mov %ax,%es
|
pvcopy.S | 53 mov $flatdataseg, %ax /* selector with offset == 0 */ 54 mov %ax, %es 78 mov $flatdataseg, %ax /* selector with offset == 0 */ 79 mov %ax, %es 104 mov $flatdataseg, %ax /* selector with offset == 0 */ 105 mov %ax, %ds
|
/src/lib/libm/arch/i387/ |
e_fmod.S | 18 fstsw %ax 19 btw $10,%ax
|
e_remainder.S | 17 fstsw %ax 18 btw $10,%ax
|
e_remainderf.S | 17 fstsw %ax 18 btw $10,%ax
|
/src/sys/arch/amd64/acpi/ |
acpi_wakecode.S | 83 movw %cs,%ax 84 movw %ax,%ds 85 movw %ax,%ss 114 movw %cs,%ax 115 movw %ax,%ds 116 movw %ax,%ss 123 movw $0x4f02,%ax 126 movw %cs,%ax 127 movw %ax,%ds 128 movw %ax,%s [all...] |
/src/lib/libm/noieee_src/ |
n_erf.c | 268 double R,S,P,Q,ax,s,y,z,r; local in function:erf 274 if ((ax = x) < 0) 275 ax = - ax; 276 if (ax < .84375) { 277 if (ax < 3.7e-09) { 278 if (ax < _TINYER) 287 if (ax < 1.25) { /* 0.84375 <= |x| < 1.25 */ 296 if (ax >= 6.0) { /* inf>|x|>=6 */ 303 z = -ax*ax 332 double R,S,P,Q,s,ax,y,z,r; local in function:erfc [all...] |
/src/sys/arch/i386/stand/bootxx/ |
bootxx.S | 86 test %ax, %ax 97 push %ax /* error string from boot1 */ 98 movw %dx, %ax 100 addw $('0' << 8) | '0', %ax /* to ascii */ 101 rorw $8, %ax 105 10: movw %ax, 12f
|
/src/sys/arch/i386/stand/boot/ |
biosboot.S | 64 sub $2b, %cx /* %ax is offset */ 68 3: mov %cs, %ax 70 add %cx, %ax /* segment staring at boot_start */ 71 push %ax 77 mov %cs, %ax 78 mov %ax, %es 95 mov %ax, %ds 98 add $0x1001, %ax /* and + 64k */ 99 mov %ax, %ss /* for stack */ 130 push %ax [all...] |