sim: riscv: new port

This is a hand-written implementation that should have fairly complete
coverage for the base integer instruction set ("i"), and for the atomic
("a") and integer multiplication+division ("m") extensions.  It also
covers 32-bit & 64-bit targets.

The unittest coverage is a bit weak atm, but should get better.
This commit is contained in:
Mike Frysinger
2015-05-21 23:16:45 +08:00
parent a9ab6e2ea0
commit b9249c461c
23 changed files with 18290 additions and 0 deletions

8
sim/configure vendored
View File

@@ -690,6 +690,7 @@ moxie
msp430
or1k
pru
riscv
rl78
rx
sh
@@ -4028,6 +4029,13 @@ subdirs="$subdirs aarch64"
subdirs="$subdirs pru"
;;
riscv*-*-*)
sim_arch=riscv
subdirs="$subdirs riscv"
;;
rl78-*-*)