diff options
author | Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU> | 2011-04-18 19:28:51 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU> | 2011-04-18 19:28:51 -0700 |
commit | 9ea79f3279e381ca8e186bb791895c411964f0e7 (patch) | |
tree | 0cc9312fb8806a87dda3e6cdceba73220b05f7f0 | |
parent | 0be1f5eb1b1ff0c31036c9f1b7efeedee7fe4909 (diff) | |
download | pk-9ea79f3279e381ca8e186bb791895c411964f0e7.zip pk-9ea79f3279e381ca8e186bb791895c411964f0e7.tar.gz pk-9ea79f3279e381ca8e186bb791895c411964f0e7.tar.bz2 |
[xcc,sim,opcodes] added rvc conditional branches
-rw-r--r-- | pk/riscv-opc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pk/riscv-opc.h b/pk/riscv-opc.h index 7174aef..1e288cc 100644 --- a/pk/riscv-opc.h +++ b/pk/riscv-opc.h @@ -55,6 +55,8 @@ #define MASK_MTPCR 0xf801ffff #define MATCH_FCVT_S_D 0x11053 #define MASK_FCVT_S_D 0x3ff1ff +#define MATCH_C_BNE 0x11 +#define MASK_C_BNE 0x1f #define MATCH_LBU_V 0x20b #define MASK_LBU_V 0x3fffff #define MATCH_BGEU 0x3e3 @@ -281,6 +283,8 @@ #define MASK_JAL 0x7f #define MATCH_LWU 0x303 #define MASK_LWU 0x3ff +#define MATCH_C_BEQ 0x10 +#define MASK_C_BEQ 0x1f #define MATCH_FLDST_V 0x158b #define MASK_FLDST_V 0x1ffff #define MATCH_FNMADD_D 0xcf |