Nikolaj Bjorner
b4d0e6076e
change behavior on allocation excess to process exit to avoid memory smashes on exception unsafe code blocks. Fixes issue #175
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-09-02 16:12:19 -07:00
Nuno Lopes
f62a192357
remove __in/__out SAL annotations.
...
They break the build with recent glibc versions and apparently noone is using them.
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-07-15 13:46:32 +01:00
Nikolaj Bjorner
4bc044c982
update header guards to be C++ style. Fixes issue #9
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-08 23:18:40 -07:00
Nikolaj Bjorner
940fed16e1
enforce stringstream formatting to avoid default format routine. fixes issue #149
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-06 09:11:52 -07:00
Nuno Lopes
eeef4d29d6
remove the optimization for 0-byte allocations
...
I wasn't able to trigger with any SMT or API benchmark
Removing it ensures the function never returns null and enables further optimizations.
I get an amazing avg speedup of 0.9%
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-07-01 14:38:33 +01:00
Nikolaj Bjorner
1544105bd5
set undo trail after set-watches to avoid crash during exception handling (the relevancy trail is scoped so ends up traversing the trail if allocating the watch throws an exception). Fixes crash.smt in issue #56
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-24 17:06:20 +01:00
Nikolaj Bjorner
158a5dd2db
add count of memory allocations and way to limit allocations globally. Fix purification in nlsat_smt to fix regressions on QF_UFNRA
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-24 17:06:12 +01:00
Christoph M. Wintersteiger
9a62d989e6
Revert "Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable"
...
This reverts commit d3db21ccde
, reversing
changes made to e463d5d899
.
2015-06-24 17:06:04 +01:00
Christoph M. Wintersteiger
3a49223076
Merge branch 'unstable' of https://github.com/wintersteiger/z3 into unstable
2015-06-14 19:00:09 -07:00
Christoph M. Wintersteiger
0caf3bd18c
Bugfix for mpf.is_regular
2015-06-14 18:59:46 -07:00
Nikolaj Bjorner
b08ccc7816
added missing Copyright forms
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-10 11:54:02 -07:00
Nuno Lopes
6217804ed5
fix another UB in bit_vector
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-07 12:07:24 +01:00
Christoph M. Wintersteiger
49a4df0de1
MPF min/max -+0.0 special cases changed to +0.0 instead of second argument.
...
Another piece of fix #68
2015-05-28 12:54:57 +01:00
Christoph M. Wintersteiger
f1cc1842e1
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
2015-05-23 13:25:00 +01:00
Christoph M. Wintersteiger
98f33c3f8b
Bug/build fix for hwf::fma
2015-05-23 13:10:07 +01:00
Nuno Lopes
08b5635327
fix unaligned load in hash_string()
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-23 12:13:39 +01:00
Christoph M. Wintersteiger
d5c39798ea
Bugfix for hwf
2015-05-23 12:02:53 +01:00
Nuno Lopes
c577ab361b
fix assorted undefined behaviors caught by clang
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-23 11:45:12 +01:00
Christoph M. Wintersteiger
6f6cd61817
Bugfix for float-to-float conversion.
...
Fixes #77
2015-05-22 20:30:12 +01:00
Christoph M. Wintersteiger
891073d3fe
typo
2015-05-22 12:01:10 +01:00
Christoph M. Wintersteiger
ffbbf08d20
Fixed warning message about unused lock when OpenMP is not available.
2015-05-22 11:59:31 +01:00
Christoph M. Wintersteiger
54cde7cabb
Bugfix for hwf::round_to_integral
2015-05-22 11:39:58 +01:00
Christoph M. Wintersteiger
759d9f2dda
bugfix for hwf::fma
2015-05-22 11:39:28 +01:00
Christoph M. Wintersteiger
705ace6f0a
Naming consistency
2015-05-22 11:39:08 +01:00
Nikolaj Bjorner
f100d4feda
hoist out basic union find
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-21 11:10:42 -07:00
Christoph M. Wintersteiger
8c18bdcca9
Bugfix for fp.roundToIntegral.
...
Fixes #69
2015-05-21 18:12:14 +01:00
Christoph M. Wintersteiger
c422b48bf4
Bugfix for hwf_manager::round_to_integral
2015-05-21 15:06:47 +01:00
Christoph M. Wintersteiger
51040d3e19
Bugfix for fp.isNormal
2015-05-20 18:32:40 +01:00
Henning Günther
33ddf0bcdf
Expose insert_if_not_there_core method in map class
...
Signed-off-by: Henning Günther <t-hennig@microsoft.com>
2015-05-20 14:33:46 +01:00
Nuno Lopes
66e6e67395
fix build on CentOS
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-19 16:52:47 +01:00
Christoph M. Wintersteiger
32fb679066
tabs
2015-05-19 11:01:15 +01:00
Christoph M. Wintersteiger
25f37c8a0c
Resolved mpf merge conflicts.
2015-05-19 11:00:34 +01:00
Nikolaj Bjorner
5632900f35
fix gcc compiler warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-16 12:04:10 +01:00
Nikolaj Bjorner
64bd62b17e
fix gcc compiler warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-16 11:56:04 +01:00
Nuno Lopes
6c22edc988
fix assorted compiler warnings
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-16 11:44:58 +01:00
Nikolaj Bjorner
e6b8af402f
fix build warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-15 15:56:21 +01:00
Nikolaj Bjorner
ab5022888c
Merge branch 'opt' of https://github.com/Z3Prover/z3 into unstable
2015-05-14 12:11:17 +01:00
Christoph M. Wintersteiger
a6bb7d2d0f
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
2015-05-12 10:24:31 +01:00
Nuno Lopes
379ce66391
fix a few undefined behaviors exposed by the unit tests
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-11 06:30:24 +01:00
Nuno Lopes
091ae37c06
Fix bug in my previous patch in bit_vector::operator=()
...
Signed-off-by: Nuno Lopes <nuno@linux.Home>
2015-05-11 04:44:11 +01:00
Nuno Lopes
6645358fed
fix issue #57 : undefined behavior in bit_vector.h
2015-05-10 22:30:07 +00:00
Christoph M. Wintersteiger
31e78cd178
Bugfix for fp.rem(0, 0).
...
Fixes #70 .
2015-05-08 22:49:14 +01:00
Christoph M. Wintersteiger
a63481de85
New implementations of fp.roundToIntegral in mpf and fpa2bv.
...
Partially fixes #69
2015-05-06 19:19:03 +01:00
Christoph M. Wintersteiger
53b479e1c3
Bugfix for fp.rem(0, 0).
...
Fixes #70 .
2015-05-06 12:24:18 +01:00
Christoph M. Wintersteiger
73eb7cbf5c
Bugfix for mpf roundToIntegral.
...
Partially fixes #69
2015-05-05 23:53:33 +01:00
Nikolaj Bjorner
9377779e58
merge with unstable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-30 10:40:03 -07:00
Christoph M. Wintersteiger
b58d3f4335
Bugfix for MPF unpacking
2015-04-25 14:26:18 +01:00
Nikolaj Bjorner
52619b9dbb
pull unstable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 14:57:11 -07:00
Christoph M. Wintersteiger
99ea0a8c19
Bugfix for mpf is_normal.
...
Fixes #17
2015-03-30 08:02:57 +01:00
Christoph M. Wintersteiger
690eb8eaca
Bugfix for fp.isSubnormal.
...
Fixes #10
2015-03-29 13:31:44 +01:00