aboutsummaryrefslogtreecommitdiff
path: root/pk/riscv-opc.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2011-04-09 17:37:42 -0700
committerAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2011-04-09 17:37:42 -0700
commit6e7fe98ea95c6da8c573fdc032b5269f08bbacc1 (patch)
treee0f0f3c73ad8785a95a6e8d22c96b5430370bb56 /pk/riscv-opc.h
parent666ae0c9e5355e578c2487b81f48b4b74cc16dda (diff)
downloadpk-6e7fe98ea95c6da8c573fdc032b5269f08bbacc1.zip
pk-6e7fe98ea95c6da8c573fdc032b5269f08bbacc1.tar.gz
pk-6e7fe98ea95c6da8c573fdc032b5269f08bbacc1.tar.bz2
[xcc,pk,sim,opcodes] added first RVC instruction
Diffstat (limited to 'pk/riscv-opc.h')
-rw-r--r--pk/riscv-opc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pk/riscv-opc.h b/pk/riscv-opc.h
index 68fcd63..d5040b0 100644
--- a/pk/riscv-opc.h
+++ b/pk/riscv-opc.h
@@ -43,8 +43,6 @@
#define MASK_FENCE_G_V 0x3ff
#define MATCH_MFPCR 0x17b
#define MASK_MFPCR 0x7c1ffff
-#define MATCH_LHUSEG_V 0x228b
-#define MASK_LHUSEG_V 0x1ffff
#define MATCH_FMAX_D 0x190d3
#define MASK_FMAX_D 0x1ffff
#define MATCH_SBSEG_V 0x280b
@@ -357,6 +355,8 @@
#define MASK_SYSCALL 0xffffffff
#define MATCH_FSGNJ_S 0x5053
#define MASK_FSGNJ_S 0x1ffff
+#define MATCH_C_ADDI 0x0
+#define MASK_C_ADDI 0x1f
#define MATCH_SHSEGST_V 0x88f
#define MASK_SHSEGST_V 0xfff
#define MATCH_FLWSEGST_V 0x50f
@@ -387,8 +387,8 @@
#define MASK_FMOV_US 0x1ffff
#define MATCH_FCVT_LU_D 0x90d3
#define MASK_FCVT_LU_D 0x3ff1ff
-#define MATCH_UNIMP 0x0
-#define MASK_UNIMP 0xffffffff
+#define MATCH_LHUSEG_V 0x228b
+#define MASK_LHUSEG_V 0x1ffff
#define MATCH_FSUB_D 0x10d3
#define MASK_FSUB_D 0x1f1ff
#define MATCH_FMADD_S 0x43