Home
last modified time | relevance | path

Searched refs:reg3_format (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/loongarch/kernel/
H A Dunaligned.c352 switch (insn.reg3_format.opcode) { in emulate_load_store_insn()
431 regs->regs[insn.reg3_format.rd] = value; in emulate_load_store_insn()
434 write_fpr(insn.reg3_format.rd, value); in emulate_load_store_insn()
436 set_fpr64(&current->thread.fpu.fpr[insn.reg3_format.rd], 0, value); in emulate_load_store_insn()
441 value = regs->regs[insn.reg3_format.rd]; in emulate_load_store_insn()
444 value = read_fpr(insn.reg3_format.rd); in emulate_load_store_insn()
446 value = get_fpr64(&current->thread.fpu.fpr[insn.reg3_format.rd], 0); in emulate_load_store_insn()
H A Dtraps.c611 switch (insn.reg3_format.opcode) { in do_bce()
613 if (insn.reg3_format.rd != 0) in do_bce()
615 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
616 upper = regs->regs[insn.reg3_format.rk]; in do_bce()
620 if (insn.reg3_format.rd != 0) in do_bce()
622 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
623 lower = regs->regs[insn.reg3_format.rk]; in do_bce()
638 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
639 upper = regs->regs[insn.reg3_format.rk]; in do_bce()
654 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
[all …]
H A Dinst.c138 switch (insn.reg3_format.opcode) { in insns_not_supported()
/openbmc/linux/arch/loongarch/include/asm/
H A Dinst.h321 struct reg3_format { struct
349 struct reg3_format reg3_format; member
692 insn->reg3_format.opcode = OP; \
693 insn->reg3_format.rd = rd; \
694 insn->reg3_format.rj = rj; \
695 insn->reg3_format.rk = rk; \