Searched refs:rmode (Results 1 – 14 of 14) sorted by relevance
| /linux/arch/parisc/math-emu/ |
| H A D | denormal.c | 44 sgl_denormalize(unsigned int *sgl_opnd, boolean *inexactflag, int rmode) in sgl_denormalize() argument 56 switch (rmode) { in sgl_denormalize() 85 int rmode) in dbl_denormalize() argument 98 switch (rmode) { in dbl_denormalize()
|
| H A D | float.h | 489 #define Is_rounding_mode(rmode) \ 490 (Roundingmode(Fpustatus_register) == rmode)
|
| /linux/arch/arm/vfp/ |
| H A D | vfpsingle.c | 75 u32 significand, incr, rmode; in __vfp_single_normaliseround() local 134 rmode = fpscr & FPSCR_RMODE_MASK; in __vfp_single_normaliseround() 136 if (rmode == FPSCR_ROUND_NEAREST) { in __vfp_single_normaliseround() 140 } else if (rmode == FPSCR_ROUND_TOZERO) { in __vfp_single_normaliseround() 142 } else if ((rmode == FPSCR_ROUND_PLUSINF) ^ (vs->sign != 0)) in __vfp_single_normaliseround() 551 int rmode = fpscr & FPSCR_RMODE_MASK; in vfp_single_ftoui() local 580 if (rmode == FPSCR_ROUND_NEAREST) { in vfp_single_ftoui() 584 } else if (rmode == FPSCR_ROUND_TOZERO) { in vfp_single_ftoui() 586 } else if ((rmode == FPSCR_ROUND_PLUSINF) ^ (vsm.sign != 0)) { in vfp_single_ftoui() 606 if (rmode == FPSCR_ROUND_PLUSINF && vsm.sign == 0) in vfp_single_ftoui() [all …]
|
| H A D | vfpdouble.c | 74 u32 rmode; in vfp_double_normaliseround() local 129 rmode = fpscr & FPSCR_RMODE_MASK; in vfp_double_normaliseround() 131 if (rmode == FPSCR_ROUND_NEAREST) { in vfp_double_normaliseround() 135 } else if (rmode == FPSCR_ROUND_TOZERO) { in vfp_double_normaliseround() 137 } else if ((rmode == FPSCR_ROUND_PLUSINF) ^ (vd->sign != 0)) in vfp_double_normaliseround() 510 int rmode = fpscr & FPSCR_RMODE_MASK; in vfp_double_ftoui() local 538 if (rmode == FPSCR_ROUND_NEAREST) { in vfp_double_ftoui() 542 } else if (rmode == FPSCR_ROUND_TOZERO) { in vfp_double_ftoui() 544 } else if ((rmode == FPSCR_ROUND_PLUSINF) ^ (vdm.sign != 0)) { in vfp_double_ftoui() 564 if (rmode == FPSCR_ROUND_PLUSINF && vdm.sign == 0) in vfp_double_ftoui() [all …]
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 926 if (to_vmx(vcpu)->rmode.vm86_active) in vmx_update_exception_bitmap() 1638 if (vmx->rmode.vm86_active) { in vmx_get_rflags() 1640 save_rflags = vmx->rmode.save_rflags; in vmx_get_rflags() 1667 if (vmx->rmode.vm86_active) { in vmx_set_rflags() 1668 vmx->rmode.save_rflags = rflags; in vmx_set_rflags() 1966 if (vmx->rmode.vm86_active) { in vmx_inject_exception() 3145 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_ES], VCPU_SREG_ES); in enter_pmode() 3146 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_DS], VCPU_SREG_DS); in enter_pmode() 3147 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_FS], VCPU_SREG_FS); in enter_pmode() 3148 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_GS], VCPU_SREG_GS); in enter_pmode() [all …]
|
| H A D | vmx.h | 249 } rmode; member
|
| /linux/arch/m68k/fpsp040/ |
| H A D | res_func.S | 497 | Check rmode for rp or rm and set lsb accordingly. 500 bfextu FPCR_MODE(%a6){#2:#2},%d1 |get rmode 515 bfextu FPCR_MODE(%a6){#2:#2},%d1 |get rmode 850 fmovel %d0,%fpcr |set up users rmode and X 885 lsrl #4,%d0 |put rmode in lower 2 bits 894 bsrl round |round result to users rmode & prec 909 lsrl #4,%d0 |put rmode in lower 2 bits 918 bsrl round |round result to users rmode & prec 935 lsrl #4,%d0 |put rmode in lower 2 bits 944 bsrl round |round result to users rmode & prec [all …]
|
| H A D | kernel_ex.S | 319 fmovel %d1,%fpcr |restore user's rmode/prec 338 fmovel %d1,%fpcr |restore user's rmode/prec
|
| H A D | bindec.S | 401 bfextu USER_FPCR(%a6){#26:#2},%d1 |get initial rmode bits 673 fmovel #rm_mode,%FPCR |set rmode to RM 687 fmovel #rm_mode,%FPCR |set rmode to RM
|
| H A D | sint.S | 150 | rounding modes. L_SCR1 contains the rmode in the lower byte.
|
| H A D | do_func.S | 406 fmovel USER_FPCR(%a6),%fpcr |use user's rmode and precision
|
| /linux/arch/x86/boot/compressed/ |
| H A D | ident_map_64.c | 110 void initialize_identity_maps(void *rmode) in initialize_identity_maps() argument 162 boot_params_ptr = rmode; in initialize_identity_maps()
|
| H A D | misc.c | 407 asmlinkage __visible void *extract_kernel(void *rmode, unsigned char *output) in extract_kernel() argument 415 boot_params_ptr = rmode; in extract_kernel()
|
| /linux/arch/m68k/include/asm/ |
| H A D | mac_iop.h | 130 __u8 rmode; /* read the mode register */ member
|