[opcodes,pk,sim,xcc] fix utidx - add rd
authorYunsup Lee <yunsup@cs.berkeley.edu>
Thu, 7 Apr 2011 05:44:57 +0000 (22:44 -0700)
committerYunsup Lee <yunsup@cs.berkeley.edu>
Thu, 7 Apr 2011 05:44:57 +0000 (22:44 -0700)
riscv/execute.h

index 79a13f88482998673d0c6d471e11330a0612f6d9..373a4e032aacb033c31dd5f63345d105fb5ffbc3 100644 (file)
@@ -1530,7 +1530,7 @@ switch((insn.bits >> 0x0) & 0x7f)
       }
       case 0x3:
       {
-        if((insn.bits & 0xffffffff) == 0x1f7)
+        if((insn.bits & 0x7ffffff) == 0x1f7)
         {
           #include "insns/utidx.h"
           break;