diff options
author | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2011-05-13 14:56:57 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2011-05-13 14:56:57 -0700 |
commit | 05e0d24dc582a92eae1809451833d5c76335b81a (patch) | |
tree | 99a263e8b046baa3a4c74053a89192d558f13b75 /inst.v | |
parent | fe1de40ead15882cfc0f9b146112d9ef1932ecf1 (diff) | |
download | riscv-opcodes-05e0d24dc582a92eae1809451833d5c76335b81a.zip riscv-opcodes-05e0d24dc582a92eae1809451833d5c76335b81a.tar.gz riscv-opcodes-05e0d24dc582a92eae1809451833d5c76335b81a.tar.bz2 |
tweaked encoding of rdcycle & cousins
Diffstat (limited to 'inst.v')
-rw-r--r-- | inst.v | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -83,6 +83,9 @@ `define FENCE 32'b?????_?????_????????????_010_0101111 `define SYSCALL 32'b00000_00000_00000_0000000000_1110111 `define BREAK 32'b00000_00000_00000_0000000001_1110111 +`define RDCYCLE 32'b?????_00000_00000_0000000100_1110111 +`define RDTIME 32'b?????_00000_00000_0000001100_1110111 +`define RDINSTRET 32'b?????_00000_00000_0000010100_1110111 `define FENCE_L_V 32'b?????_?????_????????????_100_0101111 `define FENCE_G_V 32'b?????_?????_????????????_101_0101111 `define FENCE_L_CV 32'b?????_?????_????????????_110_0101111 @@ -125,10 +128,10 @@ `define FCVT_S_WU 32'b?????_?????_00000_01111_???_00_1010011 `define FCVT_D_L 32'b?????_?????_00000_01100_???_01_1010011 `define FCVT_D_LU 32'b?????_?????_00000_01101_???_01_1010011 -`define FCVT_D_W 32'b?????_?????_00000_01110_000_01_1010011 -`define FCVT_D_WU 32'b?????_?????_00000_01111_000_01_1010011 +`define FCVT_D_W 32'b?????_?????_00000_01110_???_01_1010011 +`define FCVT_D_WU 32'b?????_?????_00000_01111_???_01_1010011 `define FCVT_S_D 32'b?????_?????_00000_10001_???_00_1010011 -`define FCVT_D_S 32'b?????_?????_00000_10000_000_01_1010011 +`define FCVT_D_S 32'b?????_?????_00000_10000_???_01_1010011 `define FEQ_S 32'b?????_?????_?????_10101_000_00_1010011 `define FLT_S 32'b?????_?????_?????_10110_000_00_1010011 `define FLE_S 32'b?????_?????_?????_10111_000_00_1010011 |