target-mips: Add enum for BREAK32

Add enum for BREAK32

Backports commit dbd8af9824d0ddc4400f859c2af77543461cba0d from qemu
This commit is contained in:
Yongbok Kim 2018-02-17 14:31:29 -05:00 committed by Lioncash
parent b59c9c0e2c
commit 3b000e4eb3
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -12117,6 +12117,7 @@ enum {
MODU = 0x7, MODU = 0x7,
/* The following can be distinguished by their lower 6 bits. */ /* The following can be distinguished by their lower 6 bits. */
BREAK32 = 0x07,
INS = 0x0c, INS = 0x0c,
LSA = 0x0f, LSA = 0x0f,
ALIGN = 0x1f, ALIGN = 0x1f,
@ -13738,7 +13739,7 @@ static void decode_micromips32_opc(CPUMIPSState *env, DisasContext *ctx)
case POOL32AXF: case POOL32AXF:
gen_pool32axf(env, ctx, rt, rs); gen_pool32axf(env, ctx, rt, rs);
break; break;
case 0x07: case BREAK32:
generate_exception_end(ctx, EXCP_BREAK); generate_exception_end(ctx, EXCP_BREAK);
break; break;
default: default: