Commit Graph

2214 Commits

Author SHA1 Message Date
Matthew Flatt
d0a4c6427b fix arity of some fx operations
svn: r17388
2009-12-23 01:31:32 +00:00
Eli Barzilay
d51cae1708 2009 -> 2010
svn: r17383
2009-12-22 05:52:15 +00:00
Eli Barzilay
cda2d12914 better text generation
svn: r17373
2009-12-21 05:46:16 +00:00
Matthew Flatt
f332afc3dd fix leak created by transitive thread-resume
svn: r17370
2009-12-20 15:39:55 +00:00
Matthew Flatt
b7efdd59a5 fix another bit-array-allocation problem in bytecode compiler
svn: r17358
2009-12-19 16:30:01 +00:00
Eli Barzilay
3e98722e10 Welcome to a new PLT day.
svn: r17356
2009-12-19 08:50:33 +00:00
Matthew Flatt
52c8e09f25 fix registration of some shared JIT code
svn: r17354
2009-12-19 04:32:13 +00:00
Matthew Flatt
0a1e4e6e83 fix an allocation in bytecode compiler; add flvector equality
svn: r17353
2009-12-18 21:53:02 +00:00
Matthew Flatt
35040e040c move incorrectly placed assertion
svn: r17352
2009-12-18 18:17:26 +00:00
Matthew Flatt
35773daad4 FSQRT machine instruction is optional on PPC
svn: r17351
2009-12-18 17:38:32 +00:00
Matthew Flatt
14ce6e48e6 fix JIT bug in fl argument checking with CGC or PPC
svn: r17350
2009-12-18 17:23:09 +00:00
Matthew Flatt
9192f073d0 compiler flonum tweaks
svn: r17349
2009-12-18 16:59:05 +00:00
Matthew Flatt
fdd7122994 scheme/flonum (v4.2.3.8)
svn: r17348
2009-12-18 15:40:00 +00:00
Eli Barzilay
5f7d1792ad Welcome to a new PLT day.
svn: r17347
2009-12-18 08:50:36 +00:00
Kevin Tew
36083a71ab explicit symbol initialization
svn: r17344
2009-12-17 21:05:19 +00:00
Matthew Flatt
ff81d89c52 guarantee current-inexact-milliseconds as since Jan 1, 1970
svn: r17343
2009-12-17 20:47:40 +00:00
Matthew Flatt
cab948d61f fix up validator, decompiler, and zo-marshaler for flonum-argument annotations
svn: r17341
2009-12-17 20:17:48 +00:00
Kevin Tew
73aa22e65d spurious gc argument
svn: r17339
2009-12-17 17:59:47 +00:00
Matthew Flatt
bc47db42e4 unboxed known-flonum loop accumulators
svn: r17338
2009-12-17 15:58:29 +00:00
Eli Barzilay
babae9a18d Welcome to a new PLT day.
svn: r17333
2009-12-17 08:51:08 +00:00
Matthew Flatt
45e84ca087 unboxing of let-bound flonums (v4.2.3.6)
svn: r17328
2009-12-16 13:30:40 +00:00
Kevin Tew
a23c519ac8 Make ffl_buf local
svn: r17315
2009-12-15 22:10:28 +00:00
Kevin Tew
73d2fde4af Fix System_Child mark
svn: r17309
2009-12-15 16:58:16 +00:00
Eli Barzilay
145ed582b3 Welcome to a new PLT day.
svn: r17305
2009-12-15 08:51:03 +00:00
Matthew Flatt
87f05fed95 add #:save-errno option for foreign-function types
svn: r17299
2009-12-14 23:52:23 +00:00
Matthew Flatt
5772fa0a9f bytecode-compiler changes to help enable flonum unboxing
svn: r17283
2009-12-13 04:39:46 +00:00
Matthew Flatt
ea1929841b fix and adjust inlining metric
svn: r17274
2009-12-12 03:18:24 +00:00
Matthew Flatt
fb67e2610b adjust large-file-support flag handling
svn: r17267
2009-12-11 12:49:46 +00:00
Kevin Tew
d339a01d04 Remove equal_counter
svn: r17260
2009-12-10 16:43:28 +00:00
Kevin Tew
2003de720a Wrap place invocation with setjmp error handling
svn: r17259
2009-12-10 16:34:14 +00:00
Matthew Flatt
d4aaa9cf6f adaptive future-nursery size
svn: r17252
2009-12-10 02:25:46 +00:00
Kevin Tew
2e166e14e9 Fixed compiler warning
svn: r17187
2009-12-04 22:51:02 +00:00
Eli Barzilay
5a57905065 Welcome to a new PLT day.
svn: r17181
2009-12-04 08:50:54 +00:00
Matthew Flatt
c73b587e98 inline flvector-length
svn: r17178
2009-12-03 18:04:02 +00:00
Matthew Flatt
4eef1b3cee flvectors
svn: r17177
2009-12-03 16:42:32 +00:00
Matthew Flatt
7015edb070 fix corner case of futures where the initial procedure needs too deep a Scheme stack
svn: r17165
2009-12-02 20:00:32 +00:00
Matthew Flatt
ec7dbeee65 fix runstack reset in future thread
svn: r17164
2009-12-02 19:39:21 +00:00
Ryan Culpepper
4495620f3b bug fix for syntax-local-value with internal definitions context
svn: r17143
2009-12-01 18:33:59 +00:00
Kevin Tew
a9f964094a [Places] register OSX mach threads
svn: r17141
2009-12-01 17:27:02 +00:00
Kevin Tew
93488dfe1e [Places] Fix SIGCHLD
svn: r17140
2009-12-01 17:26:54 +00:00
Kevin Tew
788d913bba [Places] MasterGC allocation and collection; place_wait; master initiated child collection
svn: r17139
2009-12-01 17:26:45 +00:00
Eli Barzilay
3d9c4b0ac5 Added --addon'/-A', in addition to $PLTADDONDIR from revision 17121.
svn: r17136
2009-12-01 15:11:45 +00:00
Eli Barzilay
771b203610 removed old translation of --no-argv to -A
svn: r17133
2009-12-01 13:08:44 +00:00
Eli Barzilay
2fd3c23393 Undo this change. Like I said on the list, it is wrong to poll the
environment variable every time it is accessed (especially given that
there will be a command-line option for this).  I'll commit a proper
thing later tonight if I get to it.

svn: r17122
2009-12-01 02:16:19 +00:00
Carl Eastlund
b4a32ddc1c Merged changes from branches/cce/plt+addon-dir:
- Added PLTADDONDIR environment variable to control the location of
  generated files from Planet and Scribble, specifically by overriding
  the result of (find-system-path 'addon-dir).
- Updated documentation of find-system-path to report this change.

svn: r17121
2009-12-01 02:10:50 +00:00
Matthew Flatt
06f231a0a7 JIT tweaks
svn: r17102
2009-11-30 02:52:43 +00:00
Matthew Flatt
06288a8b7f procedure-rename special treatment of struct accessors & mutators
svn: r17093
2009-11-29 15:53:08 +00:00
Matthew Flatt
45b979421a fix sequential-only processor-count
svn: r17091
2009-11-29 01:50:59 +00:00
Matthew Flatt
bad728f5b5 fix getenv code for Windows
svn: r17081
2009-11-27 14:04:35 +00:00
Eli Barzilay
335d5353f8 Welcome to a new PLT day.
svn: r17080
2009-11-27 08:50:32 +00:00
Matthew Flatt
d3ff146643 fix JIT bug in multi-arity arithmetic inlining
svn: r17076
2009-11-27 03:35:36 +00:00
Matthew Flatt
f03ab78c40 another syntax hack to fix 'scheme/package'; other test corrections
svn: r17075
2009-11-27 02:12:27 +00:00
Matthew Flatt
5e9ead0e26 fix unboxing offset
svn: r17070
2009-11-26 15:44:43 +00:00
Matthew Flatt
8365c0a938 minor clean-up
svn: r17069
2009-11-26 15:27:47 +00:00
Matthew Flatt
61dd4ca0b9 add unsafe-f64vector-{ref,set!} and improve JIT to inline arithmetic ops with more than 2 arguments
svn: r17068
2009-11-26 15:07:16 +00:00
Matthew Flatt
3492522501 fix checking of PLTNOMZJIT
svn: r17060
2009-11-25 18:11:55 +00:00
Kevin Tew
c5ccff770a add scheme_init_os_thread for places mzrt threads
svn: r17053
2009-11-24 23:31:07 +00:00
Kevin Tew
831bac8ee3 put/getenv performance fix attempt
svn: r17043
2009-11-24 14:58:40 +00:00
Matthew Flatt
4d73d5ec08 fix JIT stack-chain caching for PPC (merge to 4.2.3)
svn: r17033
2009-11-24 10:13:04 +00:00
Matthew Flatt
dcf2991736 future fixes: continuation barrier in place, handle multiple results from a future
svn: r17019
2009-11-23 23:00:08 +00:00
Kevin Tew
66869a13d5 Fixes for new THREAD_LOCAL table
svn: r17017
2009-11-23 22:13:47 +00:00
Kevin Tew
2599cf95f8 THREAD_LOCAL Logger
svn: r17016
2009-11-23 21:34:29 +00:00
Kevin Tew
ce693bdb82 PLACES putenv fix
svn: r17011
2009-11-23 19:58:27 +00:00
Matthew Flatt
f719aac2be scheme/future, sequential futures implementation when --enable-futures not specified; doc updates
svn: r16999
2009-11-23 18:12:23 +00:00
Matthew Flatt
78578a3eab convert START_XFORM_SKIP...END_XFORM_SKIP mostly to XFORM_SKIP_PROC
svn: r16972
2009-11-22 23:30:21 +00:00
Matthew Flatt
178d0f8e34 fix problems with the embedded command-line length (merge to 4.2.3)
svn: r16962
2009-11-22 15:31:18 +00:00
Matthew Flatt
d4cbb3b9a7 fix future-creation record declaration for 3m
svn: r16953
2009-11-22 02:58:59 +00:00
Matthew Flatt
79817a2087 slimy pthread_getspecifc()-inlining trick to practically eliminate the overhead of futures support under OS X
svn: r16952
2009-11-22 02:34:40 +00:00
Matthew Flatt
7b05f75878 misc fixes to build related to thread-local support
svn: r16941
2009-11-21 16:16:41 +00:00
Matthew Flatt
e7f47a0882 fix XFORM_SKIP annotation placement that MSVC doesn't like
svn: r16936
2009-11-21 04:25:01 +00:00
Matthew Flatt
41bf71fa06 futures minor re-org to prepare for mixing futures and places
svn: r16934
2009-11-21 04:05:23 +00:00
James Swaine
074450e268 fixed futures (processor-count) on OS X (was previously always returning 1)
svn: r16924
2009-11-20 16:41:07 +00:00
Matthew Flatt
9367b1bbad alternate use of registers by JIT in 32-bit thread-local mode
svn: r16923
2009-11-20 15:42:05 +00:00
Matthew Flatt
c8b2ba9d3f future GC lock repair
svn: r16921
2009-11-20 14:04:59 +00:00
Matthew Flatt
1991cde5a7 fix handling of future atomic runtime requests
svn: r16920
2009-11-20 13:59:46 +00:00
Matthew Flatt
314faa6690 count future allocation toward GC trigger
svn: r16919
2009-11-20 13:00:31 +00:00
Matthew Flatt
d2e5807811 fix some synchronization problems in futures
svn: r16916
2009-11-20 06:30:55 +00:00
Matthew Flatt
d5f50056b1 revise future logging to report names and use the main logger
svn: r16914
2009-11-20 04:19:37 +00:00
Matthew Flatt
1e98ff1667 change to future logging
svn: r16912
2009-11-20 03:22:10 +00:00
Matthew Flatt
b064ebfa75 fix an old JIT optimization; more future logging; trampolined tail calls in futures
svn: r16911
2009-11-20 02:24:54 +00:00
Matthew Flatt
1224ad19be handle escapes in futures
svn: r16910
2009-11-20 00:47:44 +00:00
Matthew Flatt
2781f1a4b8 fix use of multiple values in futures
svn: r16907
2009-11-19 23:39:31 +00:00
James Swaine
ec1cfb5a12 made primitive tracking configurable at runtime
svn: r16906
2009-11-19 23:34:18 +00:00
Matthew Flatt
bf8c1826b4 fix non-future build
svn: r16904
2009-11-19 22:41:49 +00:00
James Swaine
6137c3267f fixed issue with atomic primitive invocations in futures
svn: r16903
2009-11-19 22:37:08 +00:00
Matthew Flatt
f0b5a9e6c6 fix non-futures build
svn: r16901
2009-11-19 22:06:54 +00:00
Matthew Flatt
eb9eeda873 cover all functions called form JIT that need to go back to runtime thread
svn: r16898
2009-11-19 21:56:17 +00:00
Matthew Flatt
acba624431 allow future threads to continue after JIT or GC interruption
svn: r16894
2009-11-19 19:21:58 +00:00
Matthew Flatt
a88c481b02 fix check for on-demand JITting
svn: r16892
2009-11-19 16:12:04 +00:00
Matthew Flatt
a2ad57e732 nested future touches
svn: r16891
2009-11-19 15:26:35 +00:00
Matthew Flatt
837c057ca9 remove some indirections in thread-local lookup
svn: r16890
2009-11-19 14:22:08 +00:00
Eli Barzilay
4ade4cf9ef Welcome to a new PLT day.
svn: r16888
2009-11-19 08:50:21 +00:00
Matthew Flatt
77ae545fe6 future repairs
svn: r16884
2009-11-18 23:12:00 +00:00
James Swaine
f18b62ff42 double free fixed in gc
svn: r16882
2009-11-18 21:28:23 +00:00
Matthew Flatt
8c3e5060dd future repairs
svn: r16881
2009-11-18 21:23:36 +00:00
Matthew Flatt
3b92693146 write-barrier handling with multiple threads
svn: r16880
2009-11-18 20:46:49 +00:00
Matthew Flatt
f921cf62cc more on thread-local allocation
svn: r16879
2009-11-18 20:07:58 +00:00
Matthew Flatt
bdca9c1e8f closer to thread-local allocation in futures
svn: r16876
2009-11-18 19:10:25 +00:00
James Swaine
da1a171ebe more futures fixes
svn: r16874
2009-11-18 17:13:50 +00:00
Matthew Flatt
54f5c14657 more thread-local repairs
svn: r16873
2009-11-18 17:05:46 +00:00
James Swaine
9765a14a94 futures bug fixes
svn: r16871
2009-11-18 15:49:49 +00:00
Matthew Flatt
ec7845b135 try again to fix header-file installation
svn: r16870
2009-11-18 15:43:45 +00:00
Matthew Flatt
cfde7cdf4a try to fix header-file installation
svn: r16869
2009-11-18 15:42:44 +00:00
Matthew Flatt
079c2d7851 fix logging problem
svn: r16868
2009-11-18 15:37:18 +00:00
Matthew Flatt
beec840463 fix another include of future.h
svn: r16867
2009-11-18 15:33:58 +00:00
Matthew Flatt
f1e38d99de fix include of future.h
svn: r16866
2009-11-18 15:30:53 +00:00
Matthew Flatt
57aa34cfe6 repairs for thread-local support when the C sompiler does support thread locals
svn: r16864
2009-11-18 15:15:20 +00:00
Matthew Flatt
e26c2a084f another fix for header problem
svn: r16863
2009-11-18 15:08:01 +00:00
Matthew Flatt
fd784ad769 fix a header problem
svn: r16862
2009-11-18 14:59:25 +00:00
Matthew Flatt
5d79713481 C thread-local variables when the C compiler don't support thread-local variables
svn: r16860
2009-11-18 14:52:51 +00:00
Eli Barzilay
ea8ebcce6f Welcome to a new PLT day.
svn: r16858
2009-11-18 08:50:16 +00:00
Matthew Flatt
4322965b21 fix x86_64 32-bit store to an immediate 64-bit address
svn: r16855
2009-11-18 02:29:38 +00:00
Matthew Flatt
99978206b0 fix some 64-bit problems with recent JIT changes
svn: r16854
2009-11-18 01:27:36 +00:00
James Swaine
8d3dadc2b5 added argument validation to future and touch primitives
svn: r16852
2009-11-17 21:30:59 +00:00
James Swaine
7ac3dd6a76 fixes to futures gc interaction code
svn: r16851
2009-11-17 21:27:02 +00:00
Matthew Flatt
e1e2267973 futures and GC cooperation
svn: r16848
2009-11-17 21:02:44 +00:00
James Swaine
4920613774 removed unnecessary logging
svn: r16845
2009-11-17 20:24:21 +00:00
James Swaine
72f4eec8c8 futures bug fixes
svn: r16844
2009-11-17 20:13:17 +00:00
Matthew Flatt
a145f096cb fix ts_scheme_tail_apply...
svn: r16843
2009-11-17 20:02:21 +00:00
James Swaine
8d6705dde4 svn: r16841 2009-11-17 19:57:35 +00:00
Matthew Flatt
e333bf9ffc basics for future primitive type
svn: r16840
2009-11-17 19:55:03 +00:00
Matthew Flatt
1fac4829a6 support multiple signal-received handles
svn: r16838
2009-11-17 19:22:43 +00:00
Matthew Flatt
a91ff1c603 fix thread-local fuel counters in JIT
svn: r16835
2009-11-17 18:33:27 +00:00
Matthew Flatt
fe939fa2bd thread-local fuel counters in JIT
svn: r16834
2009-11-17 18:30:43 +00:00
Matthew Flatt
3f349aeb51 futures => pthead timer
svn: r16833
2009-11-17 17:52:30 +00:00
Matthew Flatt
c5ac31e88d avoid sbrk(), which does not work with mprotect()
svn: r16832
2009-11-17 17:29:18 +00:00
Matthew Flatt
f2259b5d7d turn on thread-local for futures
svn: r16830
2009-11-17 15:35:07 +00:00
James Swaine
f50fe8f455 futures fixes
svn: r16829
2009-11-17 15:32:01 +00:00
Eli Barzilay
fedfce8a18 update version numbers for the v4.2.3 release
svn: r16822
2009-11-17 03:53:56 +00:00
Matthew Flatt
b50aee633f fix file-or-directory-identity for dirs on Windows
svn: r16791
2009-11-16 00:09:09 +00:00
Matthew Flatt
bd15e86680 fix sconfig for FreeBSD
svn: r16749
2009-11-13 17:44:08 +00:00
Matthew Flatt
a00aa188ea move FreeBSD stack config flags to sconfig (insteda of configure)
svn: r16748
2009-11-13 17:35:36 +00:00
Matthew Flatt
c311b8ed66 restore fixed-stack-size configuration for FreeBSD
svn: r16746
2009-11-13 16:06:03 +00:00
Matthew Flatt
f2d14f7af0 fix bug related to continuation-mark-set->list*
svn: r16678
2009-11-11 00:01:01 +00:00
Matthew Flatt
af5d176124 remove error when fuel doesn't auto-decrement
svn: r16665
2009-11-10 21:01:05 +00:00
Matthew Flatt
df2e50497d fix 'lambda' expander (PR 10534)
svn: r16648
2009-11-10 02:36:46 +00:00
Eli Barzilay
5cd8db9be6 Welcome to a new PLT day.
svn: r16606
2009-11-07 08:25:28 +00:00
Matthew Flatt
c880b2119c fix problems with recent FFI changes
svn: r16565
2009-11-05 20:29:18 +00:00
Matthew Flatt
37adbb42a8 fix region<%> set-path for 'aligned mode
svn: r16549
2009-11-04 21:24:19 +00:00
Matthew Flatt
c49b22fa2c change _pointer to mean a reference to non-GCed memory; add _gcpointer (v4.2.2.6)
svn: r16546
2009-11-04 19:28:04 +00:00
Matthew Flatt
b877098bac fix draw-arc to skip drawing instead of setting the scale to 0
svn: r16502
2009-11-02 16:22:10 +00:00
Matthew Flatt
16e3ee3e6c fix scaling of X fonts when text effects (such as italic) are implemented as transformations
svn: r16501
2009-11-02 13:41:02 +00:00
Matthew Flatt
83773b40ae fix unsafe-string-ref for x86_64
svn: r16496
2009-11-01 13:42:18 +00:00
Eli Barzilay
02fda9ff1e Welcome to a new PLT day.
svn: r16491
2009-10-31 07:50:37 +00:00
Matthew Flatt
70560372b7 unsafe-{string,bytes}-{ref,set,length}
svn: r16490
2009-10-31 02:19:57 +00:00
Matthew Flatt
717e9390df more configure adjustements related to pthreads
svn: r16483
2009-10-30 18:12:18 +00:00
Mike Sperber
9aa2075961 Unbreak the FreeBSD build.
svn: r16481
2009-10-30 17:25:35 +00:00
Matthew Flatt
973d51c20f change 'read-language' protocol so that the result from 'get-info' accepts a key plus default value (instead of just a key)
svn: r16459
2009-10-29 23:05:56 +00:00
Matthew Flatt
a4d3b956f7 merge experiment with futures
svn: r16435
2009-10-26 19:45:13 +00:00
Matthew Flatt
535958988c fix bug in inlined unsafe arithmetic branch
svn: r16431
2009-10-26 16:40:18 +00:00