update template for changed code generator
This commit is contained in:
parent
1438f0f373
commit
df16378605
|
@ -314,11 +314,9 @@ typename vm_base<ARCH>::virt_addr_t vm_impl<ARCH>::execute_inst(finish_cond_e co
|
||||||
<%}}%>// calculate next pc value
|
<%}}%>// calculate next pc value
|
||||||
*NEXT_PC = *PC + ${instr.length/8};
|
*NEXT_PC = *PC + ${instr.length/8};
|
||||||
// execute instruction
|
// execute instruction
|
||||||
try {
|
|
||||||
<%instr.behavior.eachLine{%>${it}
|
<%instr.behavior.eachLine{%>${it}
|
||||||
<%}%>} catch(...){}
|
<%}%>TRAP_${instr.name}:break;
|
||||||
}
|
}// @suppress("No break at end of case")<%}%>
|
||||||
break;<%}%>
|
|
||||||
default: {
|
default: {
|
||||||
*NEXT_PC = *PC + ((instr & 3) == 3 ? 4 : 2);
|
*NEXT_PC = *PC + ((instr & 3) == 3 ? 4 : 2);
|
||||||
raise(0, 2);
|
raise(0, 2);
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue