From 9c51d6eade29d90aeba63c505f127025cb758e18 Mon Sep 17 00:00:00 2001 From: Eyck-Alexander Jentzsch Date: Wed, 7 Aug 2024 09:20:11 +0200 Subject: [PATCH] improves interp, only calls decode once per instr --- gen_input/templates/interp/CORENAME.cpp.gtl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_input/templates/interp/CORENAME.cpp.gtl b/gen_input/templates/interp/CORENAME.cpp.gtl index aaedc43..1c45797 100644 --- a/gen_input/templates/interp/CORENAME.cpp.gtl +++ b/gen_input/templates/interp/CORENAME.cpp.gtl @@ -267,7 +267,7 @@ typename vm_base::virt_addr_t vm_impl::execute_inst(finish_cond_e co uint32_t inst_index = instr_decoder.decode_instr(instr); opcode_e inst_id = arch::traits::opcode_e::MAX_OPCODE;; if(inst_index core.reg.last_branch = 0;