Searched refs:fpt (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/arch/sparc/math-emu/ |
D | math.c | 142 int do_mathemu(struct pt_regs *regs, struct task_struct *fpt) in do_mathemu() argument 168 printk("fpqdepth is %ld\n", fpt->thread.fpqdepth); in do_mathemu() 169 for (i = 0; i < fpt->thread.fpqdepth; i++) in do_mathemu() 170 printk("%d: %08lx at %08lx\n", i, fpt->thread.fpqueue[i].insn, in do_mathemu() 171 (unsigned long)fpt->thread.fpqueue[i].insn_addr); in do_mathemu() 174 if (fpt->thread.fpqdepth == 0) { /* no queue, guilty insn is at regs->pc */ in do_mathemu() 179 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu() 190 for (i = 0; i < fpt->thread.fpqdepth; i++) { in do_mathemu() 191 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu() 197 fpt->thread.fsr &= ~(0x3000 | FSR_CEXC_MASK); in do_mathemu() [all …]
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | traps.c | 279 struct task_struct *fpt = last_task_used_math; local 281 struct task_struct *fpt = current; local 289 if(!fpt) { 291 if(!(fpt->flags & PF_USEDFPU)) { 297 fpsave(&fpt->thread.float_regs[0], &fpt->thread.fsr, 298 &fpt->thread.fpqueue[0], &fpt->thread.fpqdepth); 300 printk("Hmm, FP exception, fsr was %016lx\n", fpt->thread.fsr); 303 switch ((fpt->thread.fsr & 0x1c000)) { 312 ret = do_mathemu(regs, fpt); 334 fpt->flags &= ~PF_USEDFPU; [all …]
|