Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/math-emu/
H 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()
H 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()
H 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()
H A Dmtfsb0.c13 __FPU_FPSCR &= ~(1 << (31 - crbD)); in mtfsb0()
16 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); in mtfsb0()
H A Dmtfsb1.c13 __FPU_FPSCR |= (1 << (31 - crbD)); in mtfsb1()
16 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); in mtfsb1()
H A Dmcrfs.c22 value = (__FPU_FPSCR >> ((7 - crfS) << 2)) & 15; in mcrfs()
23 __FPU_FPSCR &= ~(clear); in mcrfs()
H A Dfcmpu.c34 __FPU_FPSCR &= ~(0x1f000); in fcmpu()
35 __FPU_FPSCR |= (cmp << 12); in fcmpu()
H A Dfcmpo.c37 __FPU_FPSCR &= ~(0x1f000); in fcmpo()
38 __FPU_FPSCR |= (cmp << 12); in fcmpo()
H A Dmath_efp.c207 __FPU_FPSCR = mfspr(SPRN_SPEFSCR); in do_spe_mathemu()
209 pr_debug("speinsn:%08lx spefscr:%08lx\n", speinsn, __FPU_FPSCR); in do_spe_mathemu()
679 __FPU_FPSCR in do_spe_mathemu()
681 __FPU_FPSCR |= (FP_CUR_EXCEPTIONS & FP_EX_MASK); in do_spe_mathemu()
682 mtspr(SPRN_SPEFSCR, __FPU_FPSCR); in do_spe_mathemu()
683 current->thread.spefscr_last = __FPU_FPSCR; in do_spe_mathemu()
690 FP_CUR_EXCEPTIONS, __FPU_FPSCR); in do_spe_mathemu()
743 __FPU_FPSCR = mfspr(SPRN_SPEFSCR); in speround_handler()
744 pr_debug("speinsn:%08lx spefscr:%08lx\n", speinsn, __FPU_FPSCR); in speround_handler()
749 lo_inexact = __FPU_FPSCR & (SPEFSCR_FG | SPEFSCR_FX); in speround_handler()
[all …]
H A Dmffs.c12 frD[1] = __FPU_FPSCR; in mffs()
H 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()
/openbmc/linux/arch/powerpc/include/asm/
H 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; \