Skip to contentSkip to conversation

target-mips: Add enum for BREAK32

PATCH In review Yongbok Kim 3 participants 3 messages Oct 2, 2015 – Oct 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target-mips: Add enum for BREAK32

Add enum for BREAK32

---
 target-mips/translate.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
target-mips/translate.c +2 -1
index 87d4959..4a47c2d 100644
@@ -12012,6 +12012,7 @@ enum {
     MODU = 0x7,
 
     /* The following can be distinguished by their lower 6 bits. */
+    BREAK32 = 0x07,
     INS = 0x0c,
     LSA = 0x0f,
     ALIGN = 0x1f,
@@ -13632,7 +13633,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:
Signature · 1 line
1.7.1