aboutsummaryrefslogtreecommitdiff
path: root/spike_main
diff options
context:
space:
mode:
authorZhen Wei <zhen.wei@sifive.com>2020-02-27 11:45:05 +0800
committerChih-Min Chao <48193236+chihminchao@users.noreply.github.com>2020-03-04 14:22:31 +0800
commitca74a850cc12bedf9c56bb5e71dc1cc051a459f2 (patch)
treed1fd647c3beece3061e0d60dc93609cd7dc51cff /spike_main
parent945e063906b6eefba71c5fa9fd418d97968acd4a (diff)
downloadspike-ca74a850cc12bedf9c56bb5e71dc1cc051a459f2.zip
spike-ca74a850cc12bedf9c56bb5e71dc1cc051a459f2.tar.gz
spike-ca74a850cc12bedf9c56bb5e71dc1cc051a459f2.tar.bz2
rvv: remove the option of vector misaligned access
Diffstat (limited to 'spike_main')
-rw-r--r--spike_main/spike.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/spike_main/spike.cc b/spike_main/spike.cc
index 3812d73..1474a4c 100644
--- a/spike_main/spike.cc
+++ b/spike_main/spike.cc
@@ -124,8 +124,6 @@ static std::vector<std::pair<reg_t, mem_t*>> make_mems(const char* arg)
return res;
}
-extern bool g_vector_mistrap;
-
int main(int argc, char** argv)
{
bool debug = false;
@@ -243,7 +241,6 @@ int main(int argc, char** argv)
parser.option(0, "device", 1, device_parser);
parser.option(0, "extension", 1, [&](const char* s){extension = find_extension(s);});
parser.option(0, "dump-dts", 0, [&](const char *s){dump_dts = true;});
- parser.option(0, "vector-mistrap", 0, [&](const char *s){g_vector_mistrap = true;});
parser.option(0, "disable-dtb", 0, [&](const char *s){dtb_enabled = false;});
parser.option(0, "initrd", 1, [&](const char* s){initrd = s;});
parser.option(0, "real-time-clint", 0, [&](const char *s){real_time_clint = true;});