Skip to content

Commit

Permalink
booth: Fix assertion
Browse files Browse the repository at this point in the history
Fix assertion to what it should be per Andy's comments.
  • Loading branch information
povik committed Sep 28, 2023
1 parent 91bcf81 commit 6b70b3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions passes/techmap/booth.cc
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,7 @@ struct BoothPassWorker {
cpa_id++;

log_assert(c_vec.size() == s_vec.size());
// TODO: doesn't pass
//log_assert(result.size() == s_vec.size() + 2);
log_assert(result.size() == s_vec.size());

SigBit carry;
for (int n = 0; n < s_vec.size(); n++) {
Expand Down

0 comments on commit 6b70b3d

Please sign in to comment.