Improve instruction fetch
authorAndrew Waterman <waterman@cs.berkeley.edu>
Tue, 8 Sep 2015 22:09:23 +0000 (15:09 -0700)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 9 Sep 2015 00:00:02 +0000 (17:00 -0700)
commit71d04ecd7ab631193a0943f8ddae222090d8e048
tree91a80a22da66a18d28bc79c39d26111e69fab26a
parent26d7f0f08e861335dc7bb2b51759c2206915a25a
Improve instruction fetch

- Performance for variable-length instructions is much better
- Refill is simpler and faster
- Support for instructions with overlapping opcodes (e.g. C.ADD + C.JALR)
15 files changed:
riscv/decode.h
riscv/encoding.h
riscv/execute.cc [new file with mode: 0644]
riscv/insns/c_add.h
riscv/insns/c_addi16sp.h [new file with mode: 0644]
riscv/insns/c_addiw.h
riscv/insns/c_ebreak.h [new file with mode: 0644]
riscv/insns/c_jalr.h [new file with mode: 0644]
riscv/insns/c_jr.h [new file with mode: 0644]
riscv/insns/c_lui.h
riscv/insns/c_mv.h
riscv/mmu.h
riscv/processor.cc
riscv/processor.h
riscv/riscv.mk.in