diff options
author | stobies <unknown> | 2010-08-06 08:23:27 +0000 |
---|---|---|
committer | stobies <unknown> | 2010-08-06 08:23:27 +0000 |
commit | 149d9a5ec06529e7f4c4c6e3cb688d2c73a2c1f0 (patch) | |
tree | 58dd84047d9d685caa78f14e5338a593371fbc9c /Source/Core | |
parent | 92414e15910661de7203bbaf8a20942baac50403 (diff) |
Boogie: added /z3bv option that overrides the current setting of Z3 options for better performance on VCs that are heavy on bitvector arithmetic
Diffstat (limited to 'Source/Core')
-rw-r--r-- | Source/Core/CommandLineOptions.ssc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/CommandLineOptions.ssc b/Source/Core/CommandLineOptions.ssc index 828540ca..c0ba6eaa 100644 --- a/Source/Core/CommandLineOptions.ssc +++ b/Source/Core/CommandLineOptions.ssc @@ -206,6 +206,7 @@ namespace Microsoft.Boogie public int Z3mam = 0;
[Peer] public List<string!>! Z3Options = new List<string!>();
public bool Z3types = false;
+ public bool Z3OptimizeForBitvectors = false;
public int Z3lets = 3; // 0 - none, 1 - only LET TERM, 2 - only LET FORMULA, 3 - (default) any
invariant 0 <= Z3lets && Z3lets < 4;
@@ -1236,6 +1237,7 @@ namespace Microsoft.Boogie ps.CheckBooleanFlag("causalImplies", ref CausalImplies) ||
ps.CheckBooleanFlag("reflectAdd", ref ReflectAdd) ||
ps.CheckBooleanFlag("z3types", ref Z3types) ||
+ ps.CheckBooleanFlag("z3bv", ref Z3OptimizeForBitvectors) ||
ps.CheckBooleanFlag("z3multipleErrors", ref z3AtFlag, false) ||
ps.CheckBooleanFlag("monomorphize", ref Monomorphize) ||
ps.CheckBooleanFlag("useArrayTheory", ref UseArrayTheory) ||
@@ -2102,6 +2104,7 @@ namespace Microsoft.Boogie /z3types : generate multi-sorted VC that make use of Z3 types
/z3lets:<n> : 0 - no LETs, 1 - only LET TERM, 2 - only LET FORMULA,
3 - (default) any
+ /z3bv : use Z3 settings optimized for bitvector reasoning
");
}
}
|