From 27b0a4e4ce145ae990b4bd2b327528d4e0031732 Mon Sep 17 00:00:00 2001 From: Matthew Berry Date: Wed, 30 Sep 2020 00:01:36 -0700 Subject: [PATCH] thumb only clear pipeline when branching --- src/crab/thumb/hi_reg_branch_exchange.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crab/thumb/hi_reg_branch_exchange.cr b/src/crab/thumb/hi_reg_branch_exchange.cr index 8a88588..05c1369 100644 --- a/src/crab/thumb/hi_reg_branch_exchange.cr +++ b/src/crab/thumb/hi_reg_branch_exchange.cr @@ -20,7 +20,7 @@ module THUMB @cpsr.thumb = false @r[15] = @r[rs] & ~3 end + clear_pipeline end - clear_pipeline end end