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.c652 switch (insn.reg3_format.opcode) { in do_bce()
654 if (insn.reg3_format.rd != 0) in do_bce()
656 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
657 upper = regs->regs[insn.reg3_format.rk]; in do_bce()
661 if (insn.reg3_format.rd != 0) in do_bce()
663 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
664 lower = regs->regs[insn.reg3_format.rk]; in do_bce()
679 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
680 upper = regs->regs[insn.reg3_format.rk]; in do_bce()
695 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.h345 struct reg3_format { struct
374 struct reg3_format reg3_format; member
732 insn->reg3_format.opcode = OP; \
733 insn->reg3_format.rd = rd; \
734 insn->reg3_format.rj = rj; \
735 insn->reg3_format.rk = rk; \