Commit Graph

160 Commits

Author SHA1 Message Date
Vitor Santos Costa
3d0bb05ef0 João Silva patch for yapor copy+tabling 2014-03-08 11:50:20 +00:00
Vitor Santos Costa
6b2e1973ab Windows fixes, mainly H -> HB 2014-01-19 21:15:05 +00:00
Vitor Santos Costa
7e58cf7755 more atom/string manipulation fixes and SWI compatibility 2013-12-05 21:26:46 +00:00
Vítor Santos Costa
b3608c6a83 improve char conversion 2013-12-05 11:20:57 +00:00
Vitor Santos Costa
2665f71112 keep trying to fix atoms 2013-12-04 23:01:30 +00:00
Vítor Santos Costa
d7397b43af new text conversion and string code (big changes, take care please) 2013-12-02 14:49:41 +00:00
Vitor Santos Costa
743c9c69fb get rid of PROTO 2013-04-25 17:15:04 -05:00
Vítor Santos Costa
fdd05abd38 fix save_cp 2013-02-15 10:30:53 -06:00
Vítor Santos Costa
ec7158eb99 debugger progress 2013-02-13 09:06:06 -06:00
Vitor Santos Costa
9550393e66 check for enough head space 2013-01-15 22:58:34 +00:00
Vítor Santos Costa
36acb5f897 fix profiling support. 2012-03-09 11:46:34 +00:00
João Santos
21522ce151 CACHE_REGS 2012-02-07 15:18:43 +00:00
Vítor Santos Costa
c98e42f545 fix global variable on compiler (move it to LOCALS). 2012-02-06 15:11:50 +00:00
Vítor Santos Costa
00b5edd8da allow copying a chunk of floats to a list in a single operation. Also
improve performance of sum out operation on arrays.
2011-12-30 16:04:16 +00:00
Vitor Santos Costa
d349079e82 temporary disable ground terms opt. 2011-08-31 13:58:06 -07:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
4fe1833ece Merge branch 'master' of /cygdrive/z/vitor/Yap/yap-6.3 2011-07-25 17:09:43 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
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