[opcodes,pk,sim,xcc] add leftover vector instructions (vf, etc.)
authorYunsup Lee <yunsup@cs.berkeley.edu>
Mon, 4 Apr 2011 08:50:56 +0000 (01:50 -0700)
committerYunsup Lee <yunsup@cs.berkeley.edu>
Mon, 4 Apr 2011 09:10:14 +0000 (02:10 -0700)
riscv/execute.h
riscv/insns/fmov_vv.h [new file with mode: 0644]
riscv/insns/mov_vv.h [new file with mode: 0644]
riscv/insns/setvl.h [new file with mode: 0644]
riscv/insns/vcfgivl.h [new file with mode: 0644]
riscv/insns/vf.h [new file with mode: 0644]

index c9c17a0b27bba2b6249c803a5e1aea9813aabaa0..5ee33c7f8cce46f64c726e2242beb2b628f5a5fb 100644 (file)
@@ -1253,6 +1253,58 @@ switch((insn.bits >> 0x0) & 0x7f)
     #include "insns/jal.h"
     break;
   }
+  case 0x73:
+  {
+    switch((insn.bits >> 0x7) & 0x7)
+    {
+      case 0x0:
+      {
+        #include "insns/vcfgivl.h"
+        break;
+      }
+      case 0x1:
+      {
+        if((insn.bits & 0x3fffff) == 0xf3)
+        {
+          #include "insns/setvl.h"
+          break;
+        }
+        #include "insns/unimp.h"
+      }
+      case 0x2:
+      {
+        if((insn.bits & 0xffc003ff) == 0x173)
+        {
+          #include "insns/vf.h"
+          break;
+        }
+        #include "insns/unimp.h"
+      }
+      case 0x3:
+      {
+        if((insn.bits & 0x3fffff) == 0x1f3)
+        {
+          #include "insns/mov_vv.h"
+          break;
+        }
+        #include "insns/unimp.h"
+      }
+      case 0x4:
+      {
+        if((insn.bits & 0x3fffff) == 0x273)
+        {
+          #include "insns/fmov_vv.h"
+          break;
+        }
+        #include "insns/unimp.h"
+      }
+      default:
+      {
+        #include "insns/unimp.h"
+      }
+    }
+    break;
+  }
   case 0x77:
   {
     switch((insn.bits >> 0x7) & 0x7)
diff --git a/riscv/insns/fmov_vv.h b/riscv/insns/fmov_vv.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/riscv/insns/mov_vv.h b/riscv/insns/mov_vv.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/riscv/insns/setvl.h b/riscv/insns/setvl.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/riscv/insns/vcfgivl.h b/riscv/insns/vcfgivl.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/riscv/insns/vf.h b/riscv/insns/vf.h
new file mode 100644 (file)
index 0000000..e69de29