diff options
author | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2010-09-12 17:03:47 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2010-09-12 17:03:47 -0700 |
commit | 5103021dc40f42a18669c11bab8feea3a56f4ed5 (patch) | |
tree | a3099cc590eedd2844360562f53e7b743672ef07 | |
parent | 5329a0a7eac796c42a953cf38a10407ea81c66be (diff) | |
download | riscv-opcodes-5103021dc40f42a18669c11bab8feea3a56f4ed5.zip riscv-opcodes-5103021dc40f42a18669c11bab8feea3a56f4ed5.tar.gz riscv-opcodes-5103021dc40f42a18669c11bab8feea3a56f4ed5.tar.bz2 |
[xcc, sim] branches now are next-PC-based, not PC-based
-rw-r--r-- | inst.v | 2 | ||||
-rw-r--r-- | instr-table.tex | 2 | ||||
-rw-r--r-- | opcodes | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -82,7 +82,7 @@ `define JALR_C 32'b1111011_?????_00000_0000000000_????? `define JALR_R 32'b1111011_?????_00000_0000000001_????? `define JALR_J 32'b1111011_?????_00000_0000000010_????? -`define RDPC 32'b1111011_00000_00000_0010000000_????? +`define RDNPC 32'b1111011_00000_00000_0010000000_????? `define MFCR 32'b1111011_00000_?????_0100000000_????? `define MTCR 32'b1111011_?????_?????_0110000000_00000 `define SYNC 32'b1111011_00000_00000_1000000000_00000 diff --git a/instr-table.tex b/instr-table.tex index 5766728..7496e76 100644 --- a/instr-table.tex +++ b/instr-table.tex @@ -1660,7 +1660,7 @@ \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{00000} & \multicolumn{4}{c|}{0010000000} & -\multicolumn{1}{c|}{xc} & RDPC xc \\ +\multicolumn{1}{c|}{xc} & RDNPC xc \\ \cline{2-10} @@ -106,7 +106,7 @@ amo.maxu 31..25=0x7A 14..12=3 11..5=7 xc xb xa jalr.c 31..25=0x7B 19..15=0 14..12=0 11..5=0 xc xa jalr.r 31..25=0x7B 19..15=0 14..12=0 11..5=1 xc xa jalr.j 31..25=0x7B 19..15=0 14..12=0 11..5=2 xc xa -rdpc 31..25=0x7B 24..15=0 14..12=1 11..5=0 xc +rdnpc 31..25=0x7B 24..15=0 14..12=1 11..5=0 xc mfcr 31..25=0x7B 24..20=0 14..12=2 11..5=0 xc xb mtcr 31..25=0x7B 14..12=3 11..0=0 xa xb sync 31..25=0x7B 24..15=0 14..12=4 11..0=0 |