Release 4.14 arch/powerpc/math-emu/mtfsfi.c
// SPDX-License-Identifier: GPL-2.0
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/uaccess.h>
#include <asm/sfp-machine.h>
#include <math-emu/soft-fp.h>
int
mtfsfi(unsigned int crfD, unsigned int IMM)
{
u32 mask = 0xf;
if (!crfD)
mask = 9;
__FPU_FPSCR &= ~(mask << ((7 - crfD) << 2));
__FPU_FPSCR |= (IMM & 0xf) << ((7 - crfD) << 2);
#ifdef DEBUG
printk("%s: %d %x: %08lx\n", __func__, crfD, IMM, __FPU_FPSCR);
#endif
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 82 | 98.80% | 1 | 50.00% |
Harvey Harrison | 1 | 1.20% | 1 | 50.00% |
Total | 83 | 100.00% | 2 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 92 | 92.93% | 1 | 20.00% |
Kumar Gala | 4 | 4.04% | 1 | 20.00% |
Greg Kroah-Hartman | 1 | 1.01% | 1 | 20.00% |
Linus Torvalds | 1 | 1.01% | 1 | 20.00% |
Harvey Harrison | 1 | 1.01% | 1 | 20.00% |
Total | 99 | 100.00% | 5 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.