diff options
author | yoni206 <yoni206@users.noreply.github.com> | 2020-09-23 06:00:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 08:00:59 -0500 |
commit | 9967954ba1b7b405b6d92d83ebc0adc43f6623b9 (patch) | |
tree | d2c08b4b644a23e1092f31a4d242949f3c5a293f /src/options/smt_options.toml | |
parent | cfe0fc1346c41048fa76f7e0fc582afbe95364a2 (diff) |
bv2int: new options for bvand translation (#5096)
Currently, (bvand x y) is translated into a sum of ITEs.
This PR introduces two more options for the translation of (bvand x y):
bv: cast the integer translations of x and y back to bit-vectors, do a bvand, and cast the result to integers.
iand: use the builtin iand operator.
These options are added to many of the tests, and some new tests are added.
In addition, some tests are cleaned up (e.g., removing --no-check-unsat-cores for satisfiable benchmarks).
Finally, some tests are moved from regress0 to regress2 because they take several seconds to complete (2 -- 10 seconds).
Diffstat (limited to 'src/options/smt_options.toml')
-rw-r--r-- | src/options/smt_options.toml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/options/smt_options.toml b/src/options/smt_options.toml index 4e1a89259..683fe61bd 100644 --- a/src/options/smt_options.toml +++ b/src/options/smt_options.toml @@ -642,6 +642,12 @@ header = "options/smt_options.h" [[option.mode.SUM]] name = "sum" help = "Generate a sum expression for each bvand instance, based on the value in --solbv-bv-as-int-granularity" +[[option.mode.IAND]] + name = "iand" + help = "Translate bvand to the iand operator (experimental)" +[[option.mode.BV]] + name = "bv" + help = "Translate bvand back to bit-vectors" [[option]] name = "BVAndIntegerGranularity" |