Searched refs:fpt (Results 1 – 3 of 3) sorted by relevance
/linux/arch/sparc/kernel/ |
H A D | traps_32.c | 207 struct task_struct *fpt = last_task_used_math; local 209 struct task_struct *fpt = current; local 217 if(!fpt) { 219 if (!test_tsk_thread_flag(fpt, TIF_USEDFPU)) { 225 fpsave(&fpt->thread.float_regs[0], &fpt->thread.fsr, 226 &fpt->thread.fpqueue[0], &fpt->thread.fpqdepth); 228 printk("Hmm, FP exception, fsr was %016lx\n", fpt->thread.fsr); 231 switch ((fpt->thread.fsr & 0x1c000)) { 240 ret = do_mathemu(regs, fpt); 262 clear_tsk_thread_flag(fpt, TIF_USEDFPU); [all …]
|
/linux/arch/sparc/math-emu/ |
H A D | math_32.c | 144 int do_mathemu(struct pt_regs *regs, struct task_struct *fpt) in do_mathemu() argument 172 printk("fpqdepth is %ld\n", fpt->thread.fpqdepth); in do_mathemu() 173 for (i = 0; i < fpt->thread.fpqdepth; i++) in do_mathemu() 174 printk("%d: %08lx at %08lx\n", i, fpt->thread.fpqueue[i].insn, in do_mathemu() 175 (unsigned long)fpt->thread.fpqueue[i].insn_addr); in do_mathemu() 178 if (fpt->thread.fpqdepth == 0) { /* no queue, guilty insn is at regs->pc */ in do_mathemu() 183 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu() 194 for (i = 0; i < fpt->thread.fpqdepth; i++) { in do_mathemu() 195 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu() 201 fpt->thread.fsr &= ~(0x3000 | FSR_CEXC_MASK); in do_mathemu() [all …]
|
/linux/arch/sparc/include/asm/ |
H A D | processor_32.h | 92 int do_mathemu(struct pt_regs *regs, struct task_struct *fpt);
|