Home
last modified time | relevance | path

Searched refs:rmode (Results 1 – 13 of 13) 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.h503 #define Is_rounding_mode(rmode) \
504 (Roundingmode(Fpustatus_register) == rmode)
/arch/x86/kvm/
Dvmx.c91 } rmode; member
485 if (vcpu->arch.rmode.active) in update_exception_bitmap()
721 if (vcpu->arch.rmode.active) in vmx_set_rflags()
754 if (vcpu->arch.rmode.active) { in vmx_queue_exception()
755 vmx->rmode.irq.pending = true; in vmx_queue_exception()
756 vmx->rmode.irq.vector = nr; in vmx_queue_exception()
757 vmx->rmode.irq.rip = kvm_rip_read(vcpu); in vmx_queue_exception()
759 vmx->rmode.irq.rip++; in vmx_queue_exception()
765 kvm_rip_write(vcpu, vmx->rmode.irq.rip - 1); in vmx_queue_exception()
1330 vcpu->arch.rmode.active = 0; in enter_pmode()
[all …]
/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.c389 asmlinkage void decompress_kernel(void *rmode, memptr heap, in decompress_kernel() argument
394 real_mode = rmode; in decompress_kernel()
/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/m68k/include/asm/
Dmac_iop.h129 __u8 rmode; /* read the mode register */ member
/arch/x86/include/asm/
Dkvm_host.h320 } rmode; member