Skip to content

Commit

Permalink
Merge pull request #1332 from riscv-software-src/fix-1326
Browse files Browse the repository at this point in the history
Partially revert #1326
  • Loading branch information
aswaterman committed Apr 19, 2023
2 parents 3f7937e + 64dfca6 commit 0835bd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions riscv/v_ext_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,12 +341,12 @@ static inline bool is_aligned(const unsigned val, const unsigned pos)
type_usew_t<x>::type vs2 = P.VU.elt<type_usew_t<x>::type>(rs2_num, i);

#define VV_PARAMS(x) \
type_sew_t<x>::type &vd = P.VU.elt<type_sew_t<x>::type>(rd_num, i, true); \
type_sew_t<x>::type UNUSED &vd = P.VU.elt<type_sew_t<x>::type>(rd_num, i, true); \
type_sew_t<x>::type vs1 = P.VU.elt<type_sew_t<x>::type>(rs1_num, i); \
type_sew_t<x>::type UNUSED vs2 = P.VU.elt<type_sew_t<x>::type>(rs2_num, i);

#define VX_PARAMS(x) \
type_sew_t<x>::type &vd = P.VU.elt<type_sew_t<x>::type>(rd_num, i, true); \
type_sew_t<x>::type UNUSED &vd = P.VU.elt<type_sew_t<x>::type>(rd_num, i, true); \
type_sew_t<x>::type rs1 = (type_sew_t<x>::type)RS1; \
type_sew_t<x>::type UNUSED vs2 = P.VU.elt<type_sew_t<x>::type>(rs2_num, i);

Expand Down

0 comments on commit 0835bd7

Please sign in to comment.