/illumos-gate/usr/src/lib/libc/amd64/fp/ |
H A D | fpgetmask.c | 42 struct _cw87 cw; local 44 _getcw(&cw); 45 return (fp_except)(~cw.mask & EXCPMASK);
|
H A D | fpgetround.c | 42 struct _cw87 cw; local 44 _getcw(&cw); 45 return ((fp_rnd)cw.rnd);
|
H A D | fpsetmask.c | 44 struct _cw87 cw; local 48 _getcw(&cw); 49 oldmask = (fp_except)(~cw.mask & EXCPMASK); 50 cw.mask = ~((unsigned)newmask) & EXCPMASK; 51 _putcw(cw);
|
H A D | fpsetround.c | 44 struct _cw87 cw; local 49 _getcw(&cw); 50 oldrnd = (fp_rnd)cw.rnd; 51 cw.rnd = newrnd; 52 _putcw(cw);
|
/illumos-gate/usr/src/lib/libc/i386/fp/ |
H A D | fpgetmask.c | 42 struct _cw87 cw; local 44 _getcw(&cw); 45 return (fp_except)(~cw.mask & EXCPMASK);
|
H A D | fpgetround.c | 42 struct _cw87 cw; local 44 _getcw(&cw); 45 return ((fp_rnd)cw.rnd);
|
H A D | ieee.c | 37 int cw; local 39 _getcw(&cw); 40 b->mode = cw; 48 cw = (cw & ~0xf3f) | 0x23f; 49 _putcw(cw);
|
H A D | fpsetmask.c | 45 struct _cw87 cw; local 49 _getcw(&cw); 50 oldmask = (fp_except)(~cw.mask & EXCPMASK); 51 cw.mask = ~((unsigned)newmask) & EXCPMASK; 52 _putcw(cw);
|
H A D | fpsetround.c | 45 struct _cw87 cw; local 61 _getcw(&cw); 62 oldrnd = (fp_rnd)cw.rnd; 63 cw.rnd = newrnd; 64 _putcw(cw);
|
/illumos-gate/usr/src/lib/libm/amd64/src/ |
H A D | libm_inlines.h | 82 uint16_t cw; local 84 __asm__ __volatile__("fstcw %0\n\t" : "=m" (cw)); 86 ret = (cw >> 8) & 0x3; 87 cw = (cw & 0xfcff) | ((i & 0x3) << 8); 89 __asm__ __volatile__("fldcw %0\n\t" : : "m" (cw)); 104 uint16_t cw; local 106 __asm__ __volatile__("fstcw %0\n\t" : "=m" (cw)); 108 ret = (cw >> 10) & 0x3; 109 cw [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | combined.c | 127 combined_walk_append(combined_walk_data_t *cwd, combined_walk_t *cw) argument 130 cwd->cwd_current_walk = cwd->cwd_final_walk = cw; 132 cwd->cwd_final_walk->cw_next = cw; 133 cwd->cwd_final_walk = cw; 140 combined_walk_t *cw = cwd->cwd_current_walk; local 141 if (cw == NULL) { 144 if (cw == cwd->cwd_final_walk) { 145 cwd->cwd_final_walk = cw->cw_next; 147 cwd->cwd_current_walk = cw->cw_next; 148 cw 159 combined_walk_t *cw; local 177 combined_walk_t *cw = cwd->cwd_current_walk; local 221 combined_walk_t *cw; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/ |
H A D | gmem_mem.c | 70 uint64_t phys_addr, uint16_t cw, uint16_t pos) 73 size_t sz = snprintf(NULL, 0, fmt, serdbase, phys_addr, cw, pos) + 1; 75 (void) snprintf(nm, sz, fmt, serdbase, phys_addr, cw, pos); 69 gmem_mq_serdnm_create(fmd_hdl_t *hdl, const char *serdbase, uint64_t phys_addr, uint16_t cw, uint16_t pos) argument
|
/illumos-gate/usr/src/lib/libm/i386/src/ |
H A D | libm_inlines.h | 99 uint16_t cw; local 101 __asm__ __volatile__("fstcw %0\n\t" : "=m" (cw)); 103 ret = (cw >> 8) & 0x3; 104 cw = (cw & 0xfcff) | ((i & 0x3) << 8); 106 __asm__ __volatile__("fldcw %0\n\t" : : "m" (cw)); 121 uint16_t cw; local 123 __asm__ __volatile__("fstcw %0\n\t" : "=m" (cw)); 125 ret = (cw >> 10) & 0x3; 126 cw [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_i386.c | 151 unsigned sw, cw; local 155 cw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.cw; 157 cw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.state[CW]; 159 if ((sw & FE_INVALID) && !(cw & (1 << fp_trap_invalid))) 162 else if ((sw & FE_DIVBYZERO) && !(cw & (1 << fp_trap_division))) 164 else if ((sw & FE_OVERFLOW) && !(cw & (1 << fp_trap_overflow))) 166 else if ((sw & FE_UNDERFLOW) && !(cw & (1 << fp_trap_underflow))) 168 else if ((sw & FE_INEXACT) && !(cw & (1 << fp_trap_inexact)))
|
H A D | fenv_inlines.h | 37 uint16_t cw; member in struct:fp_cwsw::__anon132 50 : "=m" (u->words.cw), "=m" (u->words.sw)); 68 : "r" (cwsw.words.cw), "r" (cwsw.words.sw)
|
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | proc_ia32dep.c | 221 fpcw2str(uint32_t cw, char *buf, size_t nbytes) argument 231 if (cw & FPIM) 233 if (cw & FPDM) 235 if (cw & FPZM) 237 if (cw & FPOM) 239 if (cw & FPUM) 241 if (cw & FPPM) 243 if (cw & FPPC) 245 if (cw & FPRC) 247 if (cw 285 fpsw2str(uint32_t cw, char *buf, size_t nbytes) argument [all...] |
H A D | proc_amd64dep.c | 280 fpcw2str(uint32_t cw, char *buf, size_t nbytes) argument 290 if (cw & FPIM) 292 if (cw & FPDM) 294 if (cw & FPZM) 296 if (cw & FPOM) 298 if (cw & FPUM) 300 if (cw & FPPM) 302 if (cw & FPPC) 304 if (cw & FPRC) 306 if (cw 344 fpsw2str(uint32_t cw, char *buf, size_t nbytes) argument [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_mem.c | 93 uint64_t phys_addr, uint16_t cw, uint16_t pos) 96 size_t sz = snprintf(NULL, 0, fmt, serdbase, phys_addr, cw, pos) + 1; 98 (void) snprintf(nm, sz, fmt, serdbase, phys_addr, cw, pos); 92 cmd_mq_serdnm_create(fmd_hdl_t *hdl, const char *serdbase, uint64_t phys_addr, uint16_t cw, uint16_t pos) argument
|
H A D | cmd_memerr.c | 268 int cw; local 270 for (cw = 0; cw < CMD_MAX_CKWDS; cw++) { 271 for (ip = cmd_list_next(&dimm->mq_root[cw]); 412 int cw, unit_position; local 414 cw = (afar & 0x30) >> 4; /* 0:3 */ 418 for (ip = cmd_list_next(&dimm->mq_root[cw]); ip != NULL; ) { 425 * Found a duplicate cw, unit_position, and afar. 437 cmd_list_append(&dimm->mq_root[cw], j 451 int cw; local 488 int upos_pairs, curr_upos, cw, i, j; local [all...] |
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | mcontext.h | 96 uint16_t cw; member in struct:_fpu::__anon505::_fpchip_state
|
/illumos-gate/usr/src/head/ |
H A D | ieeefp.h | 239 unsigned int cw, /* control word */ member in struct:_fpstate
|
/illumos-gate/usr/src/cmd/fgrep/ |
H A D | fgrep.c | 65 cw = ISASCII(lc = (unsigned char)*p++) ? 1 : \ 68 if (--cw > --ccount) { \ 69 cw -= ccount; \ 99 ccount -= cw; \ 100 while (cw--) \ 308 int cw; local 486 int cw; local 494 cw = ISASCII(c = (wchar_t)b) ? 1 : 496 while (--cw) { 508 cw [all...] |
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | env.c | 394 fmt_args(fcode_env_t *env, int cw, int fw, char format, long *arg, argument 432 if (cw) { 445 if (ndigits > cw) { 446 cbuf[cw] = 0; 450 str[cw] = 0; 463 if (cw) { 498 if (ndigits > cw) { 499 cbuf[cw] = 0; 534 int l, cw, fw, bytes; local 547 cw [all...] |
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_proc.c | 114 cred_warning_list_t *cw; local 117 for (cw = cred_warning_list; cw != NULL; cw = cw->next) { 118 if (strcmp(warn_name, cw->warn_name) != 0) 120 return (cw); 871 cred_warning_list_t *cw; /* cred warning */ local 882 printf("check list: start: uid=%d, cw list=%p\n", 888 for (cw [all...] |
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_mac.c | 570 uint32_t cw; local 599 cw = min(qinfo->tqi_cwmin, 1024U); 601 while (qi->tqi_cwmin < cw) 606 cw = min(qinfo->tqi_cwmax, 1024U); 608 while (qi->tqi_cwmax < cw)
|