Skip to content

Commit

Permalink
target-mips: Add enum for BREAK32
Browse files Browse the repository at this point in the history
Add enum for BREAK32

Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
  • Loading branch information
yongbok authored and Leon Alrae committed Oct 29, 2015
1 parent 2dcf790 commit dbd8af9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion target-mips/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -12009,6 +12009,7 @@ enum {
MODU = 0x7,

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

0 comments on commit dbd8af9

Please sign in to comment.