Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/math-emu/
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()
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()
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()
Dmtfsb0.c13 __FPU_FPSCR &= ~(1 << (31 - crbD)); in mtfsb0()
16 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); in mtfsb0()
Dmtfsb1.c13 __FPU_FPSCR |= (1 << (31 - crbD)); in mtfsb1()
16 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); in mtfsb1()
Dmcrfs.c22 value = (__FPU_FPSCR >> ((7 - crfS) << 2)) & 15; in mcrfs()
23 __FPU_FPSCR &= ~(clear); in mcrfs()
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 …]
Dfcmpu.c34 __FPU_FPSCR &= ~(0x1f000); in fcmpu()
35 __FPU_FPSCR |= (cmp << 12); in fcmpu()
Dfcmpo.c37 __FPU_FPSCR &= ~(0x1f000); in fcmpo()
38 __FPU_FPSCR |= (cmp << 12); in fcmpo()
Dmffs.c12 frD[1] = __FPU_FPSCR; in mffs()
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-6.1.9/arch/powerpc/include/asm/
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; \