Lines Matching refs:speinsn
112 static unsigned long insn_type(unsigned long speinsn) in insn_type() argument
116 switch (speinsn & 0x7ff) { in insn_type()
182 unsigned long type, func, fc, fa, fb, src, speinsn; in do_spe_mathemu() local
185 if (get_user(speinsn, (unsigned int __user *) regs->nip)) in do_spe_mathemu()
187 if ((speinsn >> 26) != EFAPU) in do_spe_mathemu()
190 type = insn_type(speinsn); in do_spe_mathemu()
194 func = speinsn & 0x7ff; in do_spe_mathemu()
195 fc = (speinsn >> 21) & 0x1f; in do_spe_mathemu()
196 fa = (speinsn >> 16) & 0x1f; in do_spe_mathemu()
197 fb = (speinsn >> 11) & 0x1f; in do_spe_mathemu()
198 src = (speinsn >> 5) & 0x7; in do_spe_mathemu()
209 pr_debug("speinsn:%08lx spefscr:%08lx\n", speinsn, __FPU_FPSCR); in do_spe_mathemu()
659 regs->ccr &= ~(15 << ((7 - ((speinsn >> 23) & 0x7)) << 2)); in do_spe_mathemu()
660 regs->ccr |= (IR << ((7 - ((speinsn >> 23) & 0x7)) << 2)); in do_spe_mathemu()
718 pr_debug("re-issue efp inst: %08lx\n", speinsn); in do_spe_mathemu()
722 …! IEEE-754 compliance handler encountered un-supported instruction.\ninst code: %08lx\n", speinsn); in do_spe_mathemu()
732 unsigned long speinsn, type, fb, fc, fptype, func; in speround_handler() local
734 if (get_user(speinsn, (unsigned int __user *) regs->nip)) in speround_handler()
736 if ((speinsn >> 26) != 4) in speround_handler()
739 func = speinsn & 0x7ff; in speround_handler()
744 pr_debug("speinsn:%08lx spefscr:%08lx\n", speinsn, __FPU_FPSCR); in speround_handler()
746 fptype = (speinsn >> 5) & 0x7; in speround_handler()
754 fc = (speinsn >> 21) & 0x1f; in speround_handler()
760 fb = (speinsn >> 11) & 0x1f; in speround_handler()