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.wf vd, vs2, vs1
2- VI_VFP_WF_LOOP_MINI_WIDE
2+ VI_VFP_WF_LOOP_WIDE
33({
44 vd = f16_add (vs2 , rs1 );
55},
Original file line number Diff line number Diff line change 11// vfwsub.wf vd, vs2, rs1
2- VI_VFP_WF_LOOP_MINI_WIDE
2+ VI_VFP_WF_LOOP_WIDE
33({
44 vd = f16_sub (vs2 , rs1 );
55},
Original file line number Diff line number Diff line change @@ -1934,7 +1934,7 @@ reg_t index[P.VU.vlmax]; \
19341934 DEBUG_RVV_FP_VV; \
19351935 VI_VFP_LOOP_END
19361936
1937- #define VI_VFP_WF_LOOP_MINI_WIDE (BODY8, BODY16, BODY32 ) \
1937+ #define VI_VFP_WF_LOOP_WIDE (BODY8, BODY16, BODY32 ) \
19381938 VI_CHECK_DDS (false ); \
19391939 VI_VFP_LOOP_BASE \
19401940 switch (P.VU .vsew ) { \
@@ -1968,32 +1968,6 @@ reg_t index[P.VU.vlmax]; \
19681968 DEBUG_RVV_FP_VV; \
19691969 VI_VFP_LOOP_END
19701970
1971- #define VI_VFP_WF_LOOP_WIDE (BODY16, BODY32 ) \
1972- VI_CHECK_DDS (false ); \
1973- VI_VFP_LOOP_BASE \
1974- switch (P.VU .vsew ) { \
1975- case e16 : { \
1976- float32_t &vd = P.VU .elt <float32_t >(rd_num, i, true ); \
1977- float32_t vs2 = P.VU .elt <float32_t >(rs2_num, i); \
1978- float32_t rs1 = f16_to_f32 (FRS1_H); \
1979- BODY16; \
1980- set_fp_exceptions; \
1981- break ; \
1982- } \
1983- case e32 : { \
1984- float64_t &vd = P.VU .elt <float64_t >(rd_num, i, true ); \
1985- float64_t vs2 = P.VU .elt <float64_t >(rs2_num, i); \
1986- float64_t rs1 = f32_to_f64 (FRS1_F); \
1987- BODY32; \
1988- set_fp_exceptions; \
1989- break ; \
1990- } \
1991- default : \
1992- require (0 ); \
1993- }; \
1994- DEBUG_RVV_FP_VV; \
1995- VI_VFP_LOOP_END
1996-
19971971#define VI_VFP_WV_LOOP_WIDE (BODY8, BODY16, BODY32 ) \
19981972 VI_CHECK_DDS (true ); \
19991973 VI_VFP_LOOP_BASE \
You can’t perform that action at this time.
0 commit comments