Home | History | Annotate | Download | only in i387

Lines Matching defs:control

58 /* Load x87 Control Word */
62 /* No-Wait Store Control Word */
110 .control = __NetBSD_NPXCW__, /* Control word register */
142 uint16_t control;
148 __fnstcw(&control);
149 __fe_dfl_env.x87.control = control;
301 uint16_t control;
305 * rounding mode. Reading the control word on the x87 turns
309 __fnstcw(&control);
311 return (control & __X87_ROUND_MASK);
323 uint16_t control;
330 __fnstcw(&control);
331 control &= ~__X87_ROUND_MASK;
332 control |= round;
333 __fldcw(control);
358 * fnstenv masks all exceptions, so we need to restore the old control
362 __fldcw(envp->x87.control);
478 uint16_t control;
481 __fnstcw(&control);
487 omask = (control | mxcsr >> __SSE_EMASK_SHIFT) & FE_ALL_EXCEPT;
488 control &= ~mask;
489 __fldcw(control);
502 uint16_t control;
505 __fnstcw(&control);
511 omask = (control | mxcsr >> __SSE_EMASK_SHIFT) & FE_ALL_EXCEPT;
512 control |= mask;
513 __fldcw(control);
525 uint16_t control;
531 __fnstcw(&control);
533 return (~control & FE_ALL_EXCEPT);