diff options
author | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2011-02-02 01:52:36 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2011-02-02 01:52:36 -0800 |
commit | 83cdb2063f62d4d535aebbaff484e068808e097b (patch) | |
tree | 94c17d0bda48720d7c75ddf69af9360ce5f82522 | |
parent | b8449c463eb8afe3782013c1f22d8425865ddb54 (diff) | |
download | pk-83cdb2063f62d4d535aebbaff484e068808e097b.zip pk-83cdb2063f62d4d535aebbaff484e068808e097b.tar.gz pk-83cdb2063f62d4d535aebbaff484e068808e097b.tar.bz2 |
[sim,xcc,opcodes] added back mtflh.d
-rw-r--r-- | pk/riscv-opc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pk/riscv-opc.h b/pk/riscv-opc.h index a048840..8988f1d 100644 --- a/pk/riscv-opc.h +++ b/pk/riscv-opc.h @@ -88,7 +88,7 @@ #define MATCH_SF_D 0x1a7 #define MASK_SF_D 0x3ff #define MATCH_MTF_D 0x1ced3 -#define MASK_MTF_D 0x1ffff +#define MASK_MTF_D 0x3fffff #define MATCH_FCVT_L_D 0x80d3 #define MASK_FCVT_L_D 0x3ff1ff #define MATCH_FNMSUB_D 0xcb @@ -139,6 +139,8 @@ #define MASK_ADDIW 0x3ff #define MATCH_AMOAND_W 0x943 #define MASK_AMOAND_W 0x1ffff +#define MATCH_MTFLH_D 0x1eed3 +#define MASK_MTFLH_D 0x1ffff #define MATCH_SRA 0x102b3 #define MASK_SRA 0x1ffff #define MATCH_L_BU 0x203 |