aboutsummaryrefslogtreecommitdiff
path: root/inst.v
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2013-07-31 16:00:53 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2013-07-31 16:00:53 -0700
commit157d7aafa998a05f76d33d542388e1e789bf0557 (patch)
tree80517acf54379ef91b6175dafbb0b49d96f1f12f /inst.v
parent3b6b4ab18c45c8f8e007b46cc15c5c6cc8cc4dc3 (diff)
downloadriscv-opcodes-157d7aafa998a05f76d33d542388e1e789bf0557.zip
riscv-opcodes-157d7aafa998a05f76d33d542388e1e789bf0557.tar.gz
riscv-opcodes-157d7aafa998a05f76d33d542388e1e789bf0557.tar.bz2
Swap J and JALR encodings
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 5588ccd..681e39b 100644
--- a/inst.v
+++ b/inst.v
@@ -1,7 +1,7 @@
/* Automatically generated by parse-opcodes */
-`define J 32'b?????????????????????????1100111
+`define J 32'b?????????????????????????1101011
`define JAL 32'b?????????????????????????1101111
-`define JALR 32'b??????????????????????0001101011
+`define JALR 32'b??????????????????????0001100111
`define BEQ 32'b??????????????????????0001100011
`define BNE 32'b??????????????????????0011100011
`define BLT 32'b??????????????????????1001100011
@@ -91,11 +91,11 @@
`define RDCYCLE 32'b?????000000000000000001001110111
`define RDTIME 32'b?????000000000000000011001110111
`define RDINSTRET 32'b?????000000000000000101001110111
-`define CLEARPCR 32'b??????????????????????0001111011
-`define SETPCR 32'b??????????????????????0011111011
-`define MFPCR 32'b??????????0000000000000101111011
-`define MTPCR 32'b???????????????00000000111111011
-`define ERET 32'b00000000000000000000001001111011
+`define MTPCR 32'b???????????????00000000001110011
+`define MFPCR 32'b??????????0000000000000011110011
+`define SETPCR 32'b??????????????????????0101110011
+`define CLEARPCR 32'b??????????????????????0111110011
+`define ERET 32'b00000000000000000000001001110011
`define FADD_S 32'b???????????????00000???001010011
`define FSUB_S 32'b???????????????00001???001010011
`define FMUL_S 32'b???????????????00010???001010011