target/mips: Add a placeholder for R5900 LQ

Add a placeholder for LQ instruction.

Backports commit f08099ad7a4dd32e12a3f9d4b4b04c32d7522b03 from qemu
This commit is contained in:
Fredrik Noring 2018-11-10 11:41:09 -05:00 committed by Lioncash
parent cfc33249ce
commit 496fe3ba14
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -24570,6 +24570,11 @@ static void decode_opc_special3_legacy(CPUMIPSState *env, DisasContext *ctx)
}
}
static void decode_tx79_lq(CPUMIPSState *env, DisasContext *ctx)
{
generate_exception_end(ctx, EXCP_RI); /* TODO: TX79_LQ */
}
static void gen_tx79_sq(DisasContext *ctx, int base, int rt, int offset)
{
generate_exception_end(ctx, EXCP_RI); /* TODO: TX79_SQ */
@ -26602,8 +26607,12 @@ static void decode_opc(CPUMIPSState *env, DisasContext *ctx, bool *insn_need_pat
}
break;
case OPC_MSA: /* OPC_MDMX */
/* MDMX: Not implemented. */
gen_msa(env, ctx);
if (ctx->insn_flags & INSN_R5900) {
decode_tx79_lq(env, ctx); /* TX79_LQ */
} else {
/* MDMX: Not implemented. */
gen_msa(env, ctx);
}
break;
case OPC_PCREL:
check_insn(ctx, ISA_MIPS32R6);