Vitor Santos Costa
|
c0ef01a700
|
avoid ground term optimisation with YAPOR.
|
2011-07-22 01:35:43 -07:00 |
|
Vitor Santos Costa
|
0beb2432a4
|
make sure wwe always initialise new variables in the body, even if we have a goal New = Old.
|
2011-07-05 07:03:14 +01:00 |
|
Vítor Santos Costa
|
f6133f70b1
|
fix storage computing for big nums.wq
|
2011-06-21 15:07:54 +01:00 |
|
Joao
|
971ad94311
|
moved several global variables to misc/GLOBALS
|
2011-05-25 16:40:36 +01:00 |
|
Joao
|
8170f6d3cb
|
Some global variables(Yap_thread_gl) in C/init.c are now declared in misc/LOCALS
|
2011-05-23 16:19:47 +01:00 |
|
Joao
|
dc3c54c164
|
change LOCALS macros.
|
2011-05-04 10:11:41 +01:00 |
|
Joao
|
c27f79eeb1
|
fix YapOr threads.
|
2011-04-29 14:59:17 +01:00 |
|
Joao
|
3e148c3541
|
change define SBA to YAPOR_SBA
|
2011-03-30 15:32:59 +01:00 |
|
Vítor Santos Costa
|
90d93fdbdd
|
cache abstra machine register in threaded mode.
|
2011-03-07 16:02:55 +00:00 |
|
ubu32
|
67d23051c2
|
fix pruning to handle backtrackable C-predicates in a much nicer way.
|
2011-02-14 11:29:20 -08:00 |
|
ubu32
|
1717b113b3
|
cut should know about environment size.
|
2011-02-14 06:57:16 -08:00 |
|
Vitor Santos Costa
|
d64af810da
|
force wakeups before !
|
2010-12-29 09:29:42 -06:00 |
|
Vitor Santos Costa
|
6e2947e8c4
|
avoid _longjmp
|
2010-12-16 01:22:10 +00:00 |
|
Vitor Santos Costa
|
ab8911708b
|
fix YAP to use _longjmp when available. longjmp is just too expensive on OSX machines.
|
2010-10-26 22:03:36 +01:00 |
|
Vitor Santos Costa
|
3d6e223dae
|
support for space reservation (goal: call gc before trying to insert very large terms).
|
2010-08-02 13:04:30 +01:00 |
|
Vítor Santos Costa
|
e031026a62
|
instrument PE locking
fix missing unlock in index_pred (if predicate had been indexed while we were
waiting).
|
2010-07-25 11:22:16 +01:00 |
|
Vítor Santos Costa
|
439fbda8f7
|
remove warning message.
|
2010-05-13 12:27:52 +01:00 |
|
Vítor Santos Costa
|
c52dda489b
|
be careful around 1L and friends
|
2010-05-11 00:18:12 +01:00 |
|
Vítor Santos Costa
|
99dafc9172
|
more win64 fixes
|
2010-05-10 22:14:08 +01:00 |
|
Vítor Santos Costa
|
2be8bcb482
|
64 bit error
|
2010-05-04 14:53:05 +01:00 |
|
Vítor Santos Costa II
|
052c20a29b
|
more memory allocation fixes.
|
2010-04-15 22:49:25 +01:00 |
|
Vitor Santos Costa
|
b737ce447f
|
improve allocation through malloc: avoid allocating labels in the stack.
|
2010-04-15 11:37:39 +01:00 |
|
Vítor Santos Costa II
|
3fd7da94ba
|
more valgrind catches.
|
2010-04-08 00:53:38 +01:00 |
|
Vitor Santos Costa
|
9110c4db71
|
if we use malloc, get memory out of malloc instead of using stacks. This is in order to avoid growing stacks that never contract again.
|
2010-03-31 15:51:18 +01:00 |
|
Vitor Santos Costa
|
f3c2dea752
|
use the right type in call.
|
2010-02-22 23:08:40 +00:00 |
|
vsc
|
976ae73266
|
fix get_dbterm compilation.
|
2010-02-03 18:52:10 +00:00 |
|
Vitor Santos Costa
|
ab0913a2df
|
ask for space proportional to the free trail space at trail overflow.
|
2009-12-21 10:26:00 -02:00 |
|
Costa Vitor
|
d02c9d23c2
|
handle cases where test is called with unbound variable.
|
2009-08-31 23:59:34 -05:00 |
|
Vitor Santos Costa
|
7155aa943f
|
make sure that variables in tabled predicates are safe for backtracking: new
variables should be bound carefully.
|
2009-07-22 23:28:04 -05:00 |
|
Costa Vitor
|
d9a48c4014
|
disable inlining in tabled predicates (maybe a bit too harsh).
|
2009-07-22 17:00:49 -05:00 |
|
Costa Vitor
|
8a38c64441
|
fix uninitialised variable (valgrind).
|
2009-07-15 14:27:56 -05:00 |
|
Vitor Santos Costa
|
4d6cd779cb
|
fix warnings.
|
2009-06-25 22:31:02 -05:00 |
|
Costa Vitor
|
2588f5b7c5
|
make sure we count built-ins.
|
2009-06-22 16:03:14 -05:00 |
|
Costa Vitor
|
d47560342c
|
more fixes to call_counter: try to keep on counting system builtins.
|
2009-06-22 12:40:55 -05:00 |
|
Costa Vitor
|
50f7a80546
|
transfer call and profiler to spy.
|
2009-06-22 11:12:56 -05:00 |
|
Vitor Santos Costa
|
a0750ff5b7
|
handle heap overflows when constructing new predicates.
|
2009-05-24 19:25:26 -05:00 |
|
Vitor Santos Costa
|
9a9767d73c
|
cannot just do error when user does crazy things.
|
2009-05-24 19:20:00 -05:00 |
|
Costa Vitor
|
ec595374a6
|
fix allocation of temporary stack so that unification can work even for
very deep terms.
fix occur_unification_bug X = a(f(Y)).
|
2009-05-22 18:35:24 -05:00 |
|
Vitor Santos Costa
|
b92b026c90
|
more patches to support Anderson's JIT.
|
2009-04-08 00:32:36 +01:00 |
|
Vitor Santos Costa
|
f97bc596b9
|
do not use int for modules, use Term.
|
2009-04-07 15:44:46 +01:00 |
|
Vitor Santos Costa
|
4b5c07192a
|
get rid of debugging message.
|
2009-03-27 15:28:22 +00:00 |
|
Vitor Santos Costa
|
fc2e01f320
|
improve code for disjunctions by trying to avoid permanent variables.
|
2009-03-10 16:24:26 +00:00 |
|
Vitor Santos Costa
|
828964c3c1
|
remove optimised arithmetic instructions. They made the emulator even bigger than
usual, and they were not performing.
|
2009-03-09 11:52:01 +00:00 |
|
Vitor Santos Costa
|
afd979a246
|
improve substantially handling of soft disjunctions.
|
2009-03-05 16:12:21 +00:00 |
|
Vitor Santos Costa
|
083b7c9b92
|
improve compilation of arithmetic and other builtins, this should
make it more aggressive (and still correct).
|
2009-02-25 00:13:56 +00:00 |
|
Vitor Santos Costa
|
e5d11cfa16
|
MYDDAS is too closely integreated to be a package.
|
2009-02-16 17:15:21 +00:00 |
|
Vitor Santos Costa
|
bde2b57f07
|
compile =/2 to use an extra temporary, and not ARG1.
|
2009-02-09 22:29:44 +00:00 |
|
Vitor Santos Costa
|
8a3978e3e1
|
rename BinaryTestPredFlag to BinaryPredFlag
get rid of small annoying arithmetic bugs
|
2009-02-09 21:56:40 +00:00 |
|
Vítor Santos Costa
|
18d5fa12e4
|
fix case where compiler would coredump on badly typed arguments to functor/3.
|
2008-12-28 11:00:38 +00:00 |
|
Vítor Santos Costa
|
14a162dc6a
|
fix compilation of NewX = f instructions.
|
2008-12-13 21:22:07 +00:00 |
|