Browse Source

Add more assertion for fcvt (#910)

increase-stack-size
Yueh-Ting (eop) Chen 4 years ago
committed by GitHub
parent
commit
4557eef700
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      riscv/decode.h

2
riscv/decode.h

@ -2392,6 +2392,7 @@ reg_t index[P.VU.vlmax]; \
#define VI_VFP_CVT_INT_TO_FP(BODY16, BODY32, BODY64, sign) \
VI_CHECK_SSS(false); \
VI_VFP_COMMON \
switch(P.VU.vsew) { \
case e16: \
{ VI_VFP_CVT_LOOP(CVT_INT_TO_FP_PARAMS(16, 16, sign), \
@ -2415,6 +2416,7 @@ reg_t index[P.VU.vlmax]; \
#define VI_VFP_CVT_FP_TO_INT(BODY16, BODY32, BODY64, sign) \
VI_CHECK_SSS(false); \
VI_VFP_COMMON \
switch(P.VU.vsew) { \
case e16: \
{ VI_VFP_CVT_LOOP(CVT_FP_TO_INT_PARAMS(16, 16, sign), \

Loading…
Cancel
Save