Home
last modified time | relevance | path

Searched refs:freg (Results 1 – 5 of 5) sorted by relevance

/arch/sparc/math-emu/
Dmath_64.c174 int freg; in do_mathemu() local
295 freg = ((XR >> 2) ^ XR) & 2; in do_mathemu()
299 case 2: if ((XR & 4) || freg) IR = 1; break; /* Less or Equal */ in do_mathemu()
300 case 3: if (freg) IR = 1; break; /* Less */ in do_mathemu()
315 freg = (insn >> 14) & 0x1f; in do_mathemu()
316 if (!freg) in do_mathemu()
318 else if (freg < 16) in do_mathemu()
319 XR = regs->u_regs[freg]; in do_mathemu()
324 get_user(XR, &win32->locals[freg - 16]); in do_mathemu()
329 get_user(XR, &win->locals[freg - 16]); in do_mathemu()
[all …]
Dmath_32.c279 int freg; in do_one_mathemu() local
346 freg = (*pfsr >> 14) & 0xf; in do_one_mathemu()
350 freg = ((insn >> 14) & 0x1f); in do_one_mathemu()
353 if (freg & 3) { /* quadwords must have bits 4&5 of the */ in do_one_mathemu()
360 if (freg & 1) { /* doublewords must have bit 5 zeroed */ in do_one_mathemu()
365 rs1 = (argp)&fregs[freg]; in do_one_mathemu()
371 freg = (insn & 0x1f); in do_one_mathemu()
374 if (freg & 3) { /* quadwords must have bits 4&5 of the */ in do_one_mathemu()
381 if (freg & 1) { /* doublewords must have bit 5 zeroed */ in do_one_mathemu()
386 rs2 = (argp)&fregs[freg]; in do_one_mathemu()
[all …]
/arch/powerpc/kernel/
Dptrace32.c258 unsigned long freg = ptrace_get_reg(child, numReg); in compat_arch_ptrace() local
260 freg = (freg & ~0xfffffffful) | (data & 0xfffffffful); in compat_arch_ptrace()
262 freg = (freg & 0xfffffffful) | (data << 32); in compat_arch_ptrace()
263 ret = ptrace_put_reg(child, numReg, freg); in compat_arch_ptrace()
/arch/sparc/kernel/
Dunaligned_64.c443 int freg = ((insn >> 25) & 0x1e) | ((insn >> 20) & 0x20); in handle_ldf_stq() local
446 int flag = (freg < 32) ? FPRS_DL : FPRS_DU; in handle_ldf_stq()
450 if (freg & 3) { in handle_ldf_stq()
460 first = *(u64 *)&f->regs[freg]; in handle_ldf_stq()
461 second = *(u64 *)&f->regs[freg+2]; in handle_ldf_stq()
551 if (freg < 32) in handle_ldf_stq()
556 memcpy(f->regs + freg, data, size * 4); in handle_ldf_stq()
593 u8 freg; in handle_lddfmna() local
619 freg = ((insn >> 25) & 0x1e) | ((insn >> 20) & 0x20); in handle_lddfmna()
623 flag = (freg < 32) ? FPRS_DL : FPRS_DU; in handle_lddfmna()
[all …]
/arch/x86/
DMakefile32 KBUILD_CFLAGS += -msoft-float -mregparm=3 -freg-struct-return