Compare commits
	
		
			1 Commits
		
	
	
		
			0703a0a845
			...
			52ed8b81a6
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 52ed8b81a6 | 
| @@ -314,8 +314,11 @@ 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 | ||||||
| 		        <%instr.behavior.eachLine{%>${it} |                 try { | ||||||
| 		        <%}%>TRAP_${instr.name}:break; |                 <%instr.behavior.eachLine{%>${it} | ||||||
|  | 		        <%}%> | ||||||
|  | 		        } catch(...){} | ||||||
|  | 		        TRAP_${instr.name}:break; | ||||||
| 	    	}// @suppress("No break at end of case")<%}%> | 	    	}// @suppress("No break at end of case")<%}%> | ||||||
|             default: { |             default: { | ||||||
|                 *NEXT_PC = *PC + ((instr & 3) == 3 ? 4 : 2); |                 *NEXT_PC = *PC + ((instr & 3) == 3 ? 4 : 2); | ||||||
|   | |||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user