File tree Expand file tree Collapse file tree 3 files changed +3
-29
lines changed Expand file tree Collapse file tree 3 files changed +3
-29
lines changed Original file line number Diff line number Diff line change 11// vfwadd.wv vd, vs2, vs1
2- VI_VFP_WV_LOOP_MINI_WIDE
2+ VI_VFP_WV_LOOP_WIDE
33({
44 vd = f16_add (vs2 , vs1 );
55},
Original file line number Diff line number Diff line change 11// vfwsub.wv vd, vs2, vs1
2- VI_VFP_WV_LOOP_MINI_WIDE
2+ VI_VFP_WV_LOOP_WIDE
33({
44 vd = f16_sub (vs2 , vs1 );
55},
Original file line number Diff line number Diff line change @@ -1994,33 +1994,7 @@ reg_t index[P.VU.vlmax]; \
19941994 DEBUG_RVV_FP_VV; \
19951995 VI_VFP_LOOP_END
19961996
1997- #define VI_VFP_WV_LOOP_WIDE (BODY16, BODY32 ) \
1998- VI_CHECK_DDS (true ); \
1999- VI_VFP_LOOP_BASE \
2000- switch (P.VU .vsew ) { \
2001- case e16 : { \
2002- float32_t &vd = P.VU .elt <float32_t >(rd_num, i, true ); \
2003- float32_t vs2 = P.VU .elt <float32_t >(rs2_num, i); \
2004- float32_t vs1 = f16_to_f32 (P.VU .elt <float16_t >(rs1_num, i)); \
2005- BODY16; \
2006- set_fp_exceptions; \
2007- break ; \
2008- } \
2009- case e32 : { \
2010- float64_t &vd = P.VU .elt <float64_t >(rd_num, i, true ); \
2011- float64_t vs2 = P.VU .elt <float64_t >(rs2_num, i); \
2012- float64_t vs1 = f32_to_f64 (P.VU .elt <float32_t >(rs1_num, i)); \
2013- BODY32; \
2014- set_fp_exceptions; \
2015- break ; \
2016- } \
2017- default : \
2018- require (0 ); \
2019- }; \
2020- DEBUG_RVV_FP_VV; \
2021- VI_VFP_LOOP_END
2022-
2023- #define VI_VFP_WV_LOOP_MINI_WIDE (BODY8, BODY16, BODY32 ) \
1997+ #define VI_VFP_WV_LOOP_WIDE (BODY8, BODY16, BODY32 ) \
20241998 VI_CHECK_DDS (true ); \
20251999 VI_VFP_LOOP_BASE \
20262000 switch (P.VU .vsew ) { \
You can’t perform that action at this time.
0 commit comments