Skip to content

Commit f8a70da

Browse files
committed
Rename VI_VFP_VV_LOOP_MINI_WIDE to VI_VFP_VV_LOOP_WIDE
1 parent 90867a7 commit f8a70da

File tree

8 files changed

+8
-35
lines changed

8 files changed

+8
-35
lines changed

riscv/insns/vfwadd_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// vfwadd.vv vd, vs2, vs1
2-
VI_VFP_VV_LOOP_MINI_WIDE
2+
VI_VFP_VV_LOOP_WIDE
33
({
44
vd = f16_add(vs2, vs1);
55
},

riscv/insns/vfwmacc_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// vfwmacc.vv vd, vs2, vs1
2-
VI_VFP_VV_LOOP_MINI_WIDE
2+
VI_VFP_VV_LOOP_WIDE
33
({
44
vd = f16_mulAdd(vs1, vs2, vd);
55
},

riscv/insns/vfwmsac_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// vfwmsac.vv vd, vs2, vs1
2-
VI_VFP_VV_LOOP_MINI_WIDE
2+
VI_VFP_VV_LOOP_WIDE
33
({
44
vd = f16_mulAdd(vs1, vs2, f16(vd.v ^ F16_SIGN));
55
},

riscv/insns/vfwmul_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// vfwmul.vv vd, vs2, vs1
2-
VI_VFP_VV_LOOP_MINI_WIDE
2+
VI_VFP_VV_LOOP_WIDE
33
({
44
vd = f16_mul(vs2, vs1);
55
},

riscv/insns/vfwnmacc_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// vfwnmacc.vv vd, vs2, vs1
2-
VI_VFP_VV_LOOP_MINI_WIDE
2+
VI_VFP_VV_LOOP_WIDE
33
({
44
vd = f16_mulAdd(f16(vs1.v ^ F16_SIGN), vs2, f16(vd.v ^ F16_SIGN));
55
},

riscv/insns/vfwnmsac_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// vfwnmsac.vv vd, vs2, vs1
2-
VI_VFP_VV_LOOP_MINI_WIDE
2+
VI_VFP_VV_LOOP_WIDE
33
({
44
vd = f16_mulAdd(f16(vs1.v ^ F16_SIGN), vs2, vd);
55
},

riscv/insns/vfwsub_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// vfwsub.vv vd, vs2, vs1
2-
VI_VFP_VV_LOOP_MINI_WIDE
2+
VI_VFP_VV_LOOP_WIDE
33
({
44
vd = f16_sub(vs2, vs1);
55
},

riscv/v_ext_macros.h

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,7 @@ reg_t index[P.VU.vlmax]; \
19071907
DEBUG_RVV_FP_VV; \
19081908
VI_VFP_LOOP_END
19091909

1910-
#define VI_VFP_VV_LOOP_MINI_WIDE(BODY8, BODY16, BODY32) \
1910+
#define VI_VFP_VV_LOOP_WIDE(BODY8, BODY16, BODY32) \
19111911
VI_CHECK_DSS(true); \
19121912
VI_VFP_LOOP_BASE \
19131913
switch (P.VU.vsew) { \
@@ -1942,33 +1942,6 @@ reg_t index[P.VU.vlmax]; \
19421942
DEBUG_RVV_FP_VV; \
19431943
VI_VFP_LOOP_END
19441944

1945-
#define VI_VFP_VV_LOOP_WIDE(BODY16, BODY32) \
1946-
VI_CHECK_DSS(true); \
1947-
VI_VFP_LOOP_BASE \
1948-
switch (P.VU.vsew) { \
1949-
case e16: { \
1950-
float32_t &vd = P.VU.elt<float32_t>(rd_num, i, true); \
1951-
float32_t vs2 = f16_to_f32(P.VU.elt<float16_t>(rs2_num, i)); \
1952-
float32_t vs1 = f16_to_f32(P.VU.elt<float16_t>(rs1_num, i)); \
1953-
BODY16; \
1954-
set_fp_exceptions; \
1955-
break; \
1956-
} \
1957-
case e32: { \
1958-
float64_t &vd = P.VU.elt<float64_t>(rd_num, i, true); \
1959-
float64_t vs2 = f32_to_f64(P.VU.elt<float32_t>(rs2_num, i)); \
1960-
float64_t vs1 = f32_to_f64(P.VU.elt<float32_t>(rs1_num, i)); \
1961-
BODY32; \
1962-
set_fp_exceptions; \
1963-
break; \
1964-
} \
1965-
default: \
1966-
require(0); \
1967-
break; \
1968-
}; \
1969-
DEBUG_RVV_FP_VV; \
1970-
VI_VFP_LOOP_END
1971-
19721945
#define VI_VFP_BF16_VV_LOOP_WIDE(BODY) \
19731946
VI_CHECK_DSS(true); \
19741947
VI_VFP_BF16_LOOP_BASE \

0 commit comments

Comments
 (0)