Lines Matching refs:speinsn

111 static unsigned long insn_type(unsigned long speinsn)  in insn_type()  argument
115 switch (speinsn & 0x7ff) { in insn_type()
181 unsigned long type, func, fc, fa, fb, src, speinsn; in do_spe_mathemu() local
184 if (get_user(speinsn, (unsigned int __user *) regs->nip)) in do_spe_mathemu()
186 if ((speinsn >> 26) != EFAPU) in do_spe_mathemu()
189 type = insn_type(speinsn); in do_spe_mathemu()
193 func = speinsn & 0x7ff; in do_spe_mathemu()
194 fc = (speinsn >> 21) & 0x1f; in do_spe_mathemu()
195 fa = (speinsn >> 16) & 0x1f; in do_spe_mathemu()
196 fb = (speinsn >> 11) & 0x1f; in do_spe_mathemu()
197 src = (speinsn >> 5) & 0x7; in do_spe_mathemu()
208 pr_debug("speinsn:%08lx spefscr:%08lx\n", speinsn, __FPU_FPSCR); in do_spe_mathemu()
655 regs->ccr &= ~(15 << ((7 - ((speinsn >> 23) & 0x7)) << 2)); in do_spe_mathemu()
656 regs->ccr |= (IR << ((7 - ((speinsn >> 23) & 0x7)) << 2)); in do_spe_mathemu()
714 pr_debug("re-issue efp inst: %08lx\n", speinsn); in do_spe_mathemu()
718 …! IEEE-754 compliance handler encountered un-supported instruction.\ninst code: %08lx\n", speinsn); in do_spe_mathemu()
728 unsigned long speinsn, type, fb, fc, fptype, func; in speround_handler() local
730 if (get_user(speinsn, (unsigned int __user *) regs->nip)) in speround_handler()
732 if ((speinsn >> 26) != 4) in speround_handler()
735 func = speinsn & 0x7ff; in speround_handler()
740 pr_debug("speinsn:%08lx spefscr:%08lx\n", speinsn, __FPU_FPSCR); in speround_handler()
742 fptype = (speinsn >> 5) & 0x7; in speround_handler()
750 fc = (speinsn >> 21) & 0x1f; in speround_handler()
756 fb = (speinsn >> 11) & 0x1f; in speround_handler()