[sim] removed unnecessary trap in mfcr instruction
authorAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>
Tue, 26 Oct 2010 22:04:05 +0000 (15:04 -0700)
committerAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>
Tue, 26 Oct 2010 22:04:05 +0000 (15:04 -0700)
riscv/insns/mfcr.h

index de3c19dc34d2eaa33629a665748f9ee7facbc1f6..1c7ec2d771cc232ff3ae99d58579d9e836fe3a8f 100644 (file)
@@ -10,9 +10,6 @@ switch(insn.rtype.rs2)
     val = 32; // synci_step
     break;
 
-  case 29:
-    throw trap_illegal_instruction;
-
   default:
     val = -1;
 }