Lines Matching defs:tf
207 fpu_emulate(struct trapframe *tf, struct fpreg *fpf, ksiginfo_t *ksi)
215 ksi->ksi_addr = (void *)tf->tf_srr0;
223 if (copyin((void *) (tf->tf_srr0), &insn.i_int, sizeof (insn.i_int))) {
234 insn.i_int, (void *)tf->tf_srr0));
246 switch (fpu_execute(tf, &fe, &insn)) {
250 tf->tf_srr0 += 4;
277 insn.i_int, (void *) (tf->tf_srr0));
278 opc_disasm((vaddr_t)(tf->tf_srr0), insn.i_int);
344 fpu_execute(struct trapframe *tf, struct fpemu *fe, union instr *insn)
370 vaddr_t loc = tf->tf_srr0;
404 ra, tf->tf_fixreg[ra], rb, tf->tf_fixreg[rb]));
406 addr = tf->tf_fixreg[rb];
408 addr += tf->tf_fixreg[ra];
436 ra, tf->tf_fixreg[ra], rb, tf->tf_fixreg[rb]));
437 addr = tf->tf_fixreg[rb];
439 addr += tf->tf_fixreg[ra];
453 ra, tf->tf_fixreg[ra], addr));
455 addr += tf->tf_fixreg[ra];
506 tf->tf_fixreg[ra] = addr;
603 tf->tf_cr &= ~(0xf << (28 - rt));
604 tf->tf_cr |= bits << (28 - rt);
856 tf->tf_cr &= ~(0x0f000000);
857 tf->tf_cr |= (bits << 24);
866 tf->tf_cr &= ~(0xf0000000>>bf);
867 tf->tf_cr |= (bits >> bf);
868 DPRINTF(FPE_INSN, ("fpu_execute: cr[%d] (cr=%x) <= %x\n", bf/4, tf->tf_cr, bits));