aboutsummaryrefslogtreecommitdiff
path: root/riscv/decode.h
diff options
context:
space:
mode:
authorYueh-Ting (eop) Chen <eop.chen@sifive.com>2021-12-23 16:29:27 +0800
committerGitHub <noreply@github.com>2021-12-23 00:29:27 -0800
commitf858b9054f66cecf931676a1933a722ec65a7da9 (patch)
treedc4576884e28fb4c07add21678568ae5a58f2fa1 /riscv/decode.h
parent8219bf0baa428af32cc59fa3ae21909328f53fd5 (diff)
downloadspike-f858b9054f66cecf931676a1933a722ec65a7da9.zip
spike-f858b9054f66cecf931676a1933a722ec65a7da9.tar.gz
spike-f858b9054f66cecf931676a1933a722ec65a7da9.tar.bz2
Fix check for fcvt (#894)
Diffstat (limited to 'riscv/decode.h')
-rw-r--r--riscv/decode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/decode.h b/riscv/decode.h
index c0f362a..051e221 100644
--- a/riscv/decode.h
+++ b/riscv/decode.h
@@ -2392,7 +2392,7 @@ reg_t index[P.VU.vlmax]; \
VI_VFP_LOOP_END
#define VI_VFP_CVT_INT_TO_FP(BODY16, BODY32, BODY64, sign) \
- VI_CHECK_SDS(false); \
+ VI_CHECK_SSS(false); \
switch(P.VU.vsew) { \
case e16: \
{ VI_VFP_CVT_LOOP(CVT_INT_TO_FP_PARAMS(16, 16, sign), {}, BODY16); } \
@@ -2409,7 +2409,7 @@ reg_t index[P.VU.vlmax]; \
}
#define VI_VFP_CVT_FP_TO_INT(BODY16, BODY32, BODY64, sign) \
- VI_CHECK_SDS(false); \
+ VI_CHECK_SSS(false); \
switch(P.VU.vsew) { \
case e16: \
{ VI_VFP_CVT_LOOP(CVT_FP_TO_INT_PARAMS(16, 16, sign), {}, BODY16); } \