File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -798,7 +798,8 @@ bvt bv_utilst::wallace_tree(const std::vector<bvt> &pps)
798
798
799
799
bvt bv_utilst::unsigned_multiplier (const bvt &_op0, const bvt &_op1)
800
800
{
801
- #if 1
801
+ // #ifndef SATCHECK_CADICAL
802
+ #if 0
802
803
bvt op0=_op0, op1=_op1;
803
804
804
805
if(is_constant(op1))
@@ -827,7 +828,7 @@ bvt bv_utilst::unsigned_multiplier(const bvt &_op0, const bvt &_op1)
827
828
}
828
829
829
830
return product;
830
- #else
831
+ #else
831
832
// Wallace tree multiplier. This is disabled, as runtimes have
832
833
// been observed to go up by 5%-10%, and on some models even by 20%.
833
834
@@ -862,8 +863,7 @@ bvt bv_utilst::unsigned_multiplier(const bvt &_op0, const bvt &_op1)
862
863
return zeros (op0.size ());
863
864
else
864
865
return wallace_tree (pps);
865
-
866
- #endif
866
+ #endif
867
867
}
868
868
869
869
bvt bv_utilst::unsigned_multiplier_no_overflow (
You can’t perform that action at this time.
0 commit comments