sim: instrs can have different effect on perf count
[calu.git] / 3c_disasm / instr / branch.cpp
index 39b2e73c415348fcef9ed366893eb55902f6cd2f..b8781da5d07ed42c323e2b67da8acbf189b9e01b 100644 (file)
@@ -64,9 +64,11 @@ void Cbranch::evalInstr()
                        break;
                case 2:
                        this->name = "ret";
+                       this->clockcount = 3;
                        break;
                case 3:
                        this->name = "reti";
+                       this->clockcount = 3;
                        break;
                default:
                        cerr << "What have you done? 2 bits that have more than 4 values?!" << endl;