Home
last modified time | relevance | path

Searched refs:rmode (Results 1 – 12 of 12) sorted by relevance

/arch/parisc/math-emu/
Ddenormal.c57 sgl_denormalize(unsigned int *sgl_opnd, boolean *inexactflag, int rmode) in sgl_denormalize() argument
69 switch (rmode) { in sgl_denormalize()
98 int rmode) in dbl_denormalize() argument
111 switch (rmode) { in dbl_denormalize()
Dfloat.h502 #define Is_rounding_mode(rmode) \
503 (Roundingmode(Fpustatus_register) == rmode)
/arch/arm/vfp/
Dvfpsingle.c75 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 …]
Dvfpdouble.c74 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 …]
/arch/x86/boot/compressed/
Dmisc.c391 asmlinkage __visible void *decompress_kernel(void *rmode, memptr heap, in decompress_kernel() argument
400 real_mode = rmode; in decompress_kernel()
/arch/m68k/include/asm/
Dmac_iop.h129 __u8 rmode; /* read the mode register */ member
/arch/m68k/fpsp040/
Dres_func.S497 | 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 …]
Dkernel_ex.S319 fmovel %d1,%fpcr |restore user's rmode/prec
338 fmovel %d1,%fpcr |restore user's rmode/prec
Dsint.S150 | rounding modes. L_SCR1 contains the rmode in the lower byte.
Dbindec.S401 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
Ddo_func.S406 fmovel USER_FPCR(%a6),%fpcr |use user's rmode and precision
/arch/x86/kvm/
Dvmx.c581 } rmode; member
1678 if (to_vmx(vcpu)->rmode.vm86_active) in update_exception_bitmap()
2269 if (to_vmx(vcpu)->rmode.vm86_active) { in vmx_get_rflags()
2271 save_rflags = to_vmx(vcpu)->rmode.save_rflags; in vmx_get_rflags()
2283 if (to_vmx(vcpu)->rmode.vm86_active) { in vmx_set_rflags()
2284 to_vmx(vcpu)->rmode.save_rflags = rflags; in vmx_set_rflags()
2364 if (vmx->rmode.vm86_active) { in vmx_queue_exception()
3590 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_ES], VCPU_SREG_ES); in enter_pmode()
3591 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_DS], VCPU_SREG_DS); in enter_pmode()
3592 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_FS], VCPU_SREG_FS); in enter_pmode()
[all …]