Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
|
|
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
|
|
|
|
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
1. support extened extension
ex:
--isa="imadc_zvamo_zvqmac
2. relax extenion character order
--isa=imadc or --isa==cdima
3. use another bit structure to keep all supported extension
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
new features in spec 0.9
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
1. add new hypervisor csr
2. add debug module csr
3. add some new high part register for rv32
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
reserve the word 'dummy' to set the x-extension in misa but not to load
a related shared library.
ex:
--isa=IMACXdummy
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
Follow-on to 1ef875316adee8174fe2cf83317f59019d3c1aa2
cc @timsifive
|
|
This patch adds a --log argument to spike. If not given, the behaviour
is unchanged: messages logging execution of instructions and (if
commit logging is enabled) commits go to stderr.
If --log=P is given, Spike now writes these messages to a log file at
the path P. This is nice, because they are no longer tangled up with
other errors and warnings.
The code is mostly plumbing: passing a FILE* object through to the
functions that were using stderr. I've written a simple "log_file_t"
class, which opens a log file if necessary and yields it or stderr.
|
|
For current implementation, vlen must be equal to slen. It will be added
in the future.
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
|
|
Fix the bug that Spike aborted when fredsum option is not specified even
those test cases are not involved in vf(w)redsum.
|
|
|
|
The number of vector FP ALUs and implementations of vf(w)redsum could be
passed as options by the following example:
"--varch=vlen:512,elen:32,slen:512,nalu:4,fredsum-impl:parallel"
By default, 4 of vector FP ALUs and ordered vector FP reduction sum
implementations are assumed.
|
|
This CSR appeared in version 1.11 of the ISA and is described in the
Volume II: Privileged Architecture manual. It's an optional register
and should read as zero if not implemented, which is what this patch
does.
|
|
|
|
|
|
The check is not needed anymore since most vector kernels are supported
in current implemented vector instruction set.
|
|
To improve the readability of varch argument, the format of options within varch
are changed from "v128:e64:s512" to "vlen:128,elen:64,slen:512".
|
|
* Improve --varch error checking.
Print out why an option has problems.
Add check that elen must be >= xlen, flen, per the spec.
Since RV32G includes D by default, bump default elen to 64.
* Remove debug printf.
|
|
cb254bfab5fbb6d69e5dd336798861e7c1183e52
|
|
|
|
Resolves #386
|
|
forget to remove the vectorUnit outside, which has been moved
into proccess_t as inner class
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
1. add an extra argument to support commitlog
2. move vectorUnit_t into processor_t to avoid circular dependency hell
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
1. use hash to keep duplicated register write since vector has lmul
feature
2. enhance print fuction to support type larger than 64bit
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
use vector to store memory accesses
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
implement a specific initalization function to avoid
weird segfault when the member is complex
structure such as map or hash.
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
|
|
|
|
* SFENCE.VMA requires S-mode
* MSTATUS.SUM hardwired to 0 if no S-Mode
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
|
|
Partially reverts 0162a6e72421b5cbec1905b4cae7bfab98afe83f
Closes #361
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
mstatus.vs is similiar to mstatus.fs and used to contoller the state of
vector unit.
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
1. vfncvt*.v -> vfncvt*.w
2. add vfncvt.rod.f.f.w
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|