mirror of
https://github.com/Z3Prover/z3
synced 2026-03-17 10:33:48 +00:00
use native sdiv
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
bfcd75595e
commit
5a57636cd8
5 changed files with 69 additions and 7 deletions
|
|
@ -40,7 +40,7 @@ namespace sls {
|
|||
expr_ref bv_terms::ensure_binary(expr* e) {
|
||||
expr* x, * y;
|
||||
expr_ref r(m);
|
||||
if (bv.is_bv_sdiv(e, x, y) || bv.is_bv_sdiv0(e, x, y) || bv.is_bv_sdivi(e, x, y))
|
||||
if (false && (bv.is_bv_sdiv(e, x, y) || bv.is_bv_sdiv0(e, x, y) || bv.is_bv_sdivi(e, x, y)))
|
||||
r = mk_sdiv(x, y);
|
||||
else if (bv.is_bv_smod(e, x, y) || bv.is_bv_smod0(e, x, y) || bv.is_bv_smodi(e, x, y))
|
||||
r = mk_smod(x, y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue