Skip to content

Commit d527f1e

Browse files
authored
Merge pull request #1624 from rbuchner-aril/rbuchner/iss1623
Update vcompress.vm to not write vstart with 0 upon completion
2 parents 002d273 + a9831b4 commit d527f1e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

riscv/insns/vcompress_vm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ VI_GENERAL_LOOP_BASE
3030

3131
++pos;
3232
}
33-
VI_LOOP_END;
33+
VI_LOOP_END_BASE;

riscv/v_ext_macros.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,11 @@ static inline bool is_overlapped_widen(const int astart, int asize,
215215
VI_GENERAL_LOOP_BASE \
216216
VI_LOOP_ELEMENT_SKIP();
217217

218+
#define VI_LOOP_END_BASE \
219+
}
220+
218221
#define VI_LOOP_END \
219-
} \
222+
VI_LOOP_END_BASE \
220223
P.VU.vstart->write(0);
221224

222225
#define VI_LOOP_REDUCTION_END(x) \

0 commit comments

Comments
 (0)