aboutsummaryrefslogtreecommitdiff
path: root/riscv/sim.cc
diff options
context:
space:
mode:
authorRupert Swarbrick <rswarbrick@gmail.com>2022-04-11 11:11:39 +0100
committerRupert Swarbrick <rswarbrick@lowrisc.org>2022-04-12 11:10:17 +0100
commit0d90f75dc4b5e28b2e3b3f35debaae1169c69d98 (patch)
tree5d42f6ff622688acfa3ae72486fbcd7c84cbf701 /riscv/sim.cc
parent970466e6ebcf4957f131fde8b62ca10fb70b2bd6 (diff)
downloadriscv-isa-sim-0d90f75dc4b5e28b2e3b3f35debaae1169c69d98.zip
riscv-isa-sim-0d90f75dc4b5e28b2e3b3f35debaae1169c69d98.tar.gz
riscv-isa-sim-0d90f75dc4b5e28b2e3b3f35debaae1169c69d98.tar.bz2
Slightly refactor --hartids parsing in spike.cc
We now parse to a std::vector<int> and then set the "hartids" variable to the result. There is a slight functional change here, in that if you pass "--hartids 1,2,3 --hartids 4,5", you'll now get 2 cores with ids of 4,5 rather than 5 cores with ids of 1,2,3,4,5. This is what most tools do with repeated command line arguments and I suspect the old behaviour was actually by accident!
Diffstat (limited to 'riscv/sim.cc')
0 files changed, 0 insertions, 0 deletions