Home
last modified time | relevance | path

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

/linux/arch/powerpc/math-emu/
A Dfctiwz.c18 fpscr = __FPU_FPSCR; in fctiwz()
19 __FPU_FPSCR &= ~(3); in fctiwz()
20 __FPU_FPSCR |= FP_RND_ZERO; in fctiwz()
26 __FPU_FPSCR = fpscr; in fctiwz()
A Dmtfsfi.c17 __FPU_FPSCR &= ~(mask << ((7 - crfD) << 2)); in mtfsfi()
18 __FPU_FPSCR |= (IMM & 0xf) << ((7 - crfD) << 2); in mtfsfi()
21 printk("%s: %d %x: %08lx\n", __func__, crfD, IMM, __FPU_FPSCR); in mtfsfi()
A Dmtfsf.c30 fpscr = ((__FPU_FPSCR & ~mask) | (frB[1] & mask)) & in mtfsf()
45 __FPU_FPSCR = fpscr; in mtfsf()
48 printk("%s: %02x %p: %08lx\n", __func__, FM, frB, __FPU_FPSCR); in mtfsf()
A Dmath_efp.c206 __FPU_FPSCR = mfspr(SPRN_SPEFSCR); in do_spe_mathemu()
208 pr_debug("speinsn:%08lx spefscr:%08lx\n", speinsn, __FPU_FPSCR); in do_spe_mathemu()
675 __FPU_FPSCR in do_spe_mathemu()
677 __FPU_FPSCR |= (FP_CUR_EXCEPTIONS & FP_EX_MASK); in do_spe_mathemu()
678 mtspr(SPRN_SPEFSCR, __FPU_FPSCR); in do_spe_mathemu()
679 current->thread.spefscr_last = __FPU_FPSCR; in do_spe_mathemu()
686 FP_CUR_EXCEPTIONS, __FPU_FPSCR); in do_spe_mathemu()
739 __FPU_FPSCR = mfspr(SPRN_SPEFSCR); in speround_handler()
740 pr_debug("speinsn:%08lx spefscr:%08lx\n", speinsn, __FPU_FPSCR); in speround_handler()
745 lo_inexact = __FPU_FPSCR & (SPEFSCR_FG | SPEFSCR_FX); in speround_handler()
[all …]
A Dmtfsb0.c13 __FPU_FPSCR &= ~(1 << (31 - crbD)); in mtfsb0()
16 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); in mtfsb0()
A Dmtfsb1.c13 __FPU_FPSCR |= (1 << (31 - crbD)); in mtfsb1()
16 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); in mtfsb1()
A Dmcrfs.c22 value = (__FPU_FPSCR >> ((7 - crfS) << 2)) & 15; in mcrfs()
23 __FPU_FPSCR &= ~(clear); in mcrfs()
A Dfcmpu.c34 __FPU_FPSCR &= ~(0x1f000); in fcmpu()
35 __FPU_FPSCR |= (cmp << 12); in fcmpu()
A Dfcmpo.c37 __FPU_FPSCR &= ~(0x1f000); in fcmpo()
38 __FPU_FPSCR |= (cmp << 12); in fcmpo()
A Dmffs.c12 frD[1] = __FPU_FPSCR; in mffs()
A Dmath.c172 fpscr = __FPU_FPSCR; in record_exception()
220 __FPU_FPSCR = fpscr; in record_exception()
439 regs->ccr |= (__FPU_FPSCR >> 4) & 0x0f000000; in do_mathemu()
/linux/arch/powerpc/include/asm/
A Dsfp-machine.h108 #define __FPU_FPSCR (current->thread.spefscr) macro
111 (__FPU_FPSCR >> 2) & 0x1f; \
128 #define __FPU_FPSCR (current->thread.fp_state.fpscr) macro
135 (__FPU_FPSCR >> 3) & 0x1f; \
198 __FPU_FPSCR & 0x3; \

Completed in 12 milliseconds