aboutsummaryrefslogtreecommitdiff
path: root/sim/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-21 23:16:45 +0800
committerMike Frysinger <vapier@gentoo.org>2021-02-04 19:02:19 -0500
commitb9249c461c72b35dd9b6f274406c336f6a68ae98 (patch)
tree2f2314445c8c95e8dc1c3c8de6d824e9042b15fe /sim/configure
parenta9ab6e2ea07829d89b97d1f47ecb524c251252e7 (diff)
downloadgdb-b9249c461c72b35dd9b6f274406c336f6a68ae98.zip
gdb-b9249c461c72b35dd9b6f274406c336f6a68ae98.tar.gz
gdb-b9249c461c72b35dd9b6f274406c336f6a68ae98.tar.bz2
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.
Diffstat (limited to 'sim/configure')
-rwxr-xr-xsim/configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/configure b/sim/configure
index 28ed5d7..1f1ce75 100755
--- a/sim/configure
+++ b/sim/configure
@@ -690,6 +690,7 @@ moxie
msp430
or1k
pru
+riscv
rl78
rx
sh
@@ -4029,6 +4030,13 @@ subdirs="$subdirs aarch64"
;;
+ riscv*-*-*)
+
+ sim_arch=riscv
+ subdirs="$subdirs riscv"
+
+
+ ;;
rl78-*-*)
sim_arch=rl78