diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-08-03 01:25:53 -0700 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-08-03 21:53:16 -0700 |
commit | 6e4977abdbe16dc7923a709cf3b3defb871c9061 (patch) | |
tree | 579ac656ad7c3aceef1265004ef9e094c9937074 /riscv/insns/vfmv_s_f.h | |
parent | 959700ec11d5c5e8417533e6cddfada1a83c4770 (diff) | |
download | spike-6e4977abdbe16dc7923a709cf3b3defb871c9061.zip spike-6e4977abdbe16dc7923a709cf3b3defb871c9061.tar.gz spike-6e4977abdbe16dc7923a709cf3b3defb871c9061.tar.bz2 |
rvv: add 'vstartalu" option to --varch arugment
except for load/store instructions
0 : all instruction can't have non-zero vstart
not 0 : all instruction can have non-zero vstart if it is not required
vstart must be zero in spec
the default value is 1
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'riscv/insns/vfmv_s_f.h')
-rw-r--r-- | riscv/insns/vfmv_s_f.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/vfmv_s_f.h b/riscv/insns/vfmv_s_f.h index 17c85d3..4a4c105 100644 --- a/riscv/insns/vfmv_s_f.h +++ b/riscv/insns/vfmv_s_f.h @@ -1,5 +1,5 @@ // vfmv_s_f: vd[0] = rs1 (vs2=0) -require_vector; +require_vector(true); require_fp; require((P.VU.vsew == e16 && p->supports_extension(EXT_ZFH)) || (P.VU.vsew == e32 && p->supports_extension('F')) || |