Searched refs:__FPU_FPSCR (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/arch/powerpc/math-emu/ |
D | fctiwz.c | 18 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()
|
D | mtfsfi.c | 17 __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()
|
D | mtfsf.c | 30 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()
|
D | mtfsb0.c | 13 __FPU_FPSCR &= ~(1 << (31 - crbD)); in mtfsb0() 16 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); in mtfsb0()
|
D | mtfsb1.c | 13 __FPU_FPSCR |= (1 << (31 - crbD)); in mtfsb1() 16 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); in mtfsb1()
|
D | mcrfs.c | 22 value = (__FPU_FPSCR >> ((7 - crfS) << 2)) & 15; in mcrfs() 23 __FPU_FPSCR &= ~(clear); in mcrfs()
|
D | math_efp.c | 207 __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 …]
|
D | fcmpu.c | 34 __FPU_FPSCR &= ~(0x1f000); in fcmpu() 35 __FPU_FPSCR |= (cmp << 12); in fcmpu()
|
D | fcmpo.c | 37 __FPU_FPSCR &= ~(0x1f000); in fcmpo() 38 __FPU_FPSCR |= (cmp << 12); in fcmpo()
|
D | mffs.c | 12 frD[1] = __FPU_FPSCR; in mffs()
|
D | math.c | 172 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/ |
D | sfp-machine.h | 108 #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; \
|