Skip to content

Commit b3ea084

Browse files
authored
Merge pull request #1573 from h-cheng/delete_vstart_write
vcpop.m, vfirst.m: delete unnecessary VSTART write.
2 parents 99a4472 + 9e0d9d6 commit b3ea084

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

riscv/insns/vcpop_m.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ for (reg_t i=P.VU.vstart->read(); i<vl; ++i) {
1717
popcount += (vs2_lsb && do_mask);
1818
}
1919
}
20-
P.VU.vstart->write(0);
2120
WRITE_RD(popcount);

riscv/insns/vfirst_m.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ for (reg_t i=P.VU.vstart->read(); i < vl; ++i) {
1414
break;
1515
}
1616
}
17-
P.VU.vstart->write(0);
1817
WRITE_RD(pos);

0 commit comments

Comments
 (0)