reg3_format
struct reg3_format reg3_format;
insn->reg3_format.opcode = OP; \
insn->reg3_format.rd = rd; \
insn->reg3_format.rj = rj; \
insn->reg3_format.rk = rk; \
switch (insn.reg3_format.opcode) {
switch (insn.reg3_format.opcode) {
if (insn.reg3_format.rd != 0)
badv = regs->regs[insn.reg3_format.rj];
upper = regs->regs[insn.reg3_format.rk];
if (insn.reg3_format.rd != 0)
badv = regs->regs[insn.reg3_format.rj];
lower = regs->regs[insn.reg3_format.rk];
badv = regs->regs[insn.reg3_format.rj];
upper = regs->regs[insn.reg3_format.rk];
badv = regs->regs[insn.reg3_format.rj];
lower = regs->regs[insn.reg3_format.rk];
switch (insn.reg3_format.opcode) {
regs->regs[insn.reg3_format.rd] = value;
write_fpr(insn.reg3_format.rd, value);
set_fpr64(¤t->thread.fpu.fpr[insn.reg3_format.rd], 0, value);
value = regs->regs[insn.reg3_format.rd];
value = read_fpr(insn.reg3_format.rd);
value = get_fpr64(¤t->thread.fpu.fpr[insn.reg3_format.rd], 0);
rd = inst.reg3_format.rd;
opcode = inst.reg3_format.opcode;
rd = inst.reg3_format.rd;
opcode = inst.reg3_format.opcode;
struct reg3_format reg3_format;
switch (inst.reg3_format.opcode) {
if (inst.reg3_format.rd == LOONGARCH_GPR_ZERO &&
inst.reg3_format.rk == LOONGARCH_GPR_RA &&
inst.reg3_format.rj == LOONGARCH_GPR_ZERO) {