Home
last modified time | relevance | path

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

/linux/arch/loongarch/kernel/
H A Dunaligned.c370 switch (insn.reg3_format.opcode) { in emulate_load_store_insn()
449 regs->regs[insn.reg3_format.rd] = value; in emulate_load_store_insn()
452 write_fpr(insn.reg3_format.rd, value); in emulate_load_store_insn()
454 set_fpr64(&current->thread.fpu.fpr[insn.reg3_format.rd], 0, value); in emulate_load_store_insn()
459 value = regs->regs[insn.reg3_format.rd]; in emulate_load_store_insn()
462 value = read_fpr(insn.reg3_format.rd); in emulate_load_store_insn()
464 value = get_fpr64(&current->thread.fpu.fpr[insn.reg3_format.rd], 0); in emulate_load_store_insn()
H A Dtraps.c660 switch (insn.reg3_format.opcode) { in do_bce()
662 if (insn.reg3_format.rd != 0) in do_bce()
664 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
665 upper = regs->regs[insn.reg3_format.rk]; in do_bce()
669 if (insn.reg3_format.rd != 0) in do_bce()
671 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
672 lower = regs->regs[insn.reg3_format.rk]; in do_bce()
687 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
688 upper = regs->regs[insn.reg3_format.rk]; in do_bce()
703 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
[all …]
H A Dinst.c140 switch (insn.reg3_format.opcode) { in insns_not_supported()
/linux/arch/loongarch/include/asm/
H A Dinst.h357 struct reg3_format { struct
386 struct reg3_format reg3_format; member
747 insn->reg3_format.opcode = OP; \
748 insn->reg3_format.rd = rd; \
749 insn->reg3_format.rj = rj; \
750 insn->reg3_format.rk = rk; \