Lines Matching defs:speinsn
112 static unsigned long insn_type(unsigned long speinsn)
116 switch (speinsn & 0x7ff) {
182 unsigned long type, func, fc, fa, fb, src, speinsn;
185 if (get_user(speinsn, (unsigned int __user *) regs->nip))
187 if ((speinsn >> 26) != EFAPU)
190 type = insn_type(speinsn);
194 func = speinsn & 0x7ff;
195 fc = (speinsn >> 21) & 0x1f;
196 fa = (speinsn >> 16) & 0x1f;
197 fb = (speinsn >> 11) & 0x1f;
198 src = (speinsn >> 5) & 0x7;
209 pr_debug("speinsn:%08lx spefscr:%08lx\n", speinsn, __FPU_FPSCR);
656 regs->ccr &= ~(15 << ((7 - ((speinsn >> 23) & 0x7)) << 2));
657 regs->ccr |= (IR << ((7 - ((speinsn >> 23) & 0x7)) << 2));
715 pr_debug("re-issue efp inst: %08lx\n", speinsn);
719 printk(KERN_ERR "\nOoops! IEEE-754 compliance handler encountered un-supported instruction.\ninst code: %08lx\n", speinsn);
729 unsigned long speinsn, type, fb, fc, fptype, func;
731 if (get_user(speinsn, (unsigned int __user *) regs->nip))
733 if ((speinsn >> 26) != 4)
736 func = speinsn & 0x7ff;
741 pr_debug("speinsn:%08lx spefscr:%08lx\n", speinsn, __FPU_FPSCR);
743 fptype = (speinsn >> 5) & 0x7;
751 fc = (speinsn >> 21) & 0x1f;
757 fb = (speinsn >> 11) & 0x1f;