aboutsummaryrefslogtreecommitdiff
path: root/inst.v
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-05-06 15:48:16 -0700
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-05-06 15:48:16 -0700
commitfe1de40ead15882cfc0f9b146112d9ef1932ecf1 (patch)
tree5863940eba237043ecd8beea6fcab377be8fd5e6 /inst.v
parentcd0bb4d0a40c04f09c9d87f03e40b5575312c9a8 (diff)
downloadriscv-opcodes-fe1de40ead15882cfc0f9b146112d9ef1932ecf1.zip
riscv-opcodes-fe1de40ead15882cfc0f9b146112d9ef1932ecf1.tar.gz
riscv-opcodes-fe1de40ead15882cfc0f9b146112d9ef1932ecf1.tar.bz2
[opcodes] reordered RVC instructions
Diffstat (limited to 'inst.v')
-rw-r--r--inst.v14
1 files changed, 7 insertions, 7 deletions
diff --git a/inst.v b/inst.v
index e857c8e..49f712c 100644
--- a/inst.v
+++ b/inst.v
@@ -230,20 +230,23 @@
`define VF 32'b00000_?????_????????????_010_1110011
`define C_LI 32'b00000000000000000000000000000000
`define C_ADDI 32'b00000000000000000000000000000000
-`define C_MOVE 32'b00000000000000000000000000000000
-`define C_J 32'b00000000000000000000000000000000
+`define C_ADDIW 32'b00000000000000000000000000000000
`define C_LDSP 32'b00000000000000000000000000000000
`define C_LWSP 32'b00000000000000000000000000000000
`define C_SDSP 32'b00000000000000000000000000000000
`define C_SWSP 32'b00000000000000000000000000000000
+`define C_LW0 32'b00000000000000000000000000000000
+`define C_LD0 32'b00000000000000000000000000000000
+`define C_ADD 32'b00000000000000000000000000000000
+`define C_SUB 32'b00000000000000000000000000000000
+`define C_MOVE 32'b00000000000000000000000000000000
+`define C_J 32'b00000000000000000000000000000000
`define C_LD 32'b00000000000000000000000000000000
`define C_LW 32'b00000000000000000000000000000000
`define C_SD 32'b00000000000000000000000000000000
`define C_SW 32'b00000000000000000000000000000000
`define C_BEQ 32'b00000000000000000000000000000000
`define C_BNE 32'b00000000000000000000000000000000
-`define C_LW0 32'b00000000000000000000000000000000
-`define C_LD0 32'b00000000000000000000000000000000
`define C_FLW 32'b00000000000000000000000000000000
`define C_FLD 32'b00000000000000000000000000000000
`define C_FSW 32'b00000000000000000000000000000000
@@ -255,10 +258,7 @@
`define C_SRAI 32'b00000000000000000000000000000000
`define C_SRAI32 32'b00000000000000000000000000000000
`define C_SLLIW 32'b00000000000000000000000000000000
-`define C_ADD 32'b00000000000000000000000000000000
-`define C_SUB 32'b00000000000000000000000000000000
`define C_ADD3 32'b00000000000000000000000000000000
`define C_SUB3 32'b00000000000000000000000000000000
`define C_OR3 32'b00000000000000000000000000000000
`define C_AND3 32'b00000000000000000000000000000000
-`define C_ADDIW 32'b00000000000000000000000000000000