Commit Graph

643 Commits (2671ebf519d51a241ee5c7ab8044746c110438a2)

Author SHA1 Message Date
slava ad0ae8dc63 Remove add-simple-library 2006-07-26 04:36:22 +00:00
slava d3d7d053fd Inference cleanups 2006-07-25 04:14:18 +00:00
slava 4102ad72c5 Faster hashtables 2006-07-24 04:11:22 +00:00
slava 79848ac511 Some simple-minded optimizations 2006-07-20 03:10:02 +00:00
slava dc7159578b Back out a threading change 2006-07-17 19:08:38 +00:00
slava 4d7acd57e7 Minor tweaks 2006-07-14 09:37:00 +00:00
slava 489bea18d5 AMD64 fix, Cocoa UI memory leak fix 2006-07-11 04:48:35 +00:00
slava 910d6de129 Don't worry about Factor-defined struct returning Objective C methods for now 2006-07-06 20:54:05 +00:00
slava 7a591325dc Bootstrap fixes 2006-07-06 20:43:55 +00:00
slava c9590d2560 More Mac Intel ABI fixes -- and fuck Apple for screwing up the Objective C ABI even further 2006-07-06 20:24:09 +00:00
slava 6a862a9696 Add support for 8-byte struct returns, Mac OS X Intel style 2006-07-06 07:04:58 +00:00
slava 200dbc4edd Stack alignment fixes 2006-07-06 05:01:05 +00:00
slava a393fe218c Fix problem which only seems to occur on Core Duo: we were relying on unspecified behavior, and that is SHL setting the overflow flag with a shift count greater than one 2006-07-06 03:30:56 +00:00
slava 84ea50c726 Fix malloc typo 2006-07-04 22:10:42 +00:00
slava 7610aa1587 New with-malloc combinator 2006-07-04 21:24:15 +00:00
slava fe48d6452b Intel Mac OS X ABI code progress 2006-07-04 06:04:33 +00:00
slava 0cfc5d4159 Fix bootstrap failure on x86 2006-07-03 07:30:11 +00:00
slava fc16aefc7d Add Mac OS X x86 ABI support 2006-07-03 07:27:30 +00:00
slava 21dc5a6761 Compiler backend cleanups 2006-07-03 06:52:44 +00:00
slava 52d7f4b32a Get Factor to compile on OS X/Intel 2006-07-03 03:41:13 +00:00
slava 50ec1d36db Remove obsolete examples, module system simplification, fix parse-resource restart when bootstrapping parse-syntax.factor 2006-06-19 07:41:42 +00:00
slava 0f34d6ecec add-literal fix 2006-06-13 20:02:09 +00:00
slava b4219e2184 Experimental help search 2006-06-12 03:38:39 +00:00
slava 5564691c27 Fix world focus bug, new [-] word, caret no longer blinks 2006-06-09 23:58:11 +00:00
slava bc3cafbcd9 Documentation updates; almost done updating everything for 0.83 2006-06-06 19:54:07 +00:00
slava d92a955283 Updating more help sections for 0.83 changes 2006-06-06 04:35:12 +00:00
slava 3409004602 Remove some dead code: help glossary and flushable words 2006-06-06 03:26:44 +00:00
slava 52321c4e0b Updating tools section, added documentation for builtin class words 2006-06-06 02:50:16 +00:00
slava 562533dc9c Documentation updates -- most primitives now documented 2006-06-06 02:04:49 +00:00
slava ef1b07adb1 Fix typos in declarations 2006-06-04 21:18:07 +00:00
slava 5029ca593f Documenting primitives; folded make-tuple into <tuple> primitive 2006-06-04 21:13:34 +00:00
wayo.cavazos 3bcd3eb97a Fix <c-object> documentation typo 2006-05-30 04:20:31 +00:00
slava f254d719ea Cocoa fixes 2006-05-29 10:09:31 +00:00
slava 6c656c4c26 <word> cleanup 2006-05-29 08:27:30 +00:00
slava 13f392737e Save window positions, re-arrange source tree a bit 2006-05-27 21:39:38 +00:00
slava 20306c972f Services fixes 2006-05-24 23:34:30 +00:00
slava 5733a45cd4 Fix x86 typo 2006-05-24 22:42:21 +00:00
slava 608aab0dcb FFI now supports Unicode (UTF16) strings better, and the Cocoa bridge uses this functionality 2006-05-23 03:32:27 +00:00
slava 716d9be374 Inference bug fix 2006-05-23 01:55:46 +00:00
slava e3a017d877 Remove unused relocation type 2006-05-20 22:15:46 +00:00
slava 8cdc10abdb New remove-hash* word; UI refactorings; adding new Whisker-style word browser 2006-05-20 06:13:44 +00:00
slava d0b79a9419 Re-introducing sum and product words, new change-nth and remove-index words, track control replaces and generalizes splitter 2006-05-20 01:08:42 +00:00
slava e76ba67cbf Minor alien fixes 2006-05-19 19:53:30 +00:00
slava 36f324370a Cons-less runtime now bootstraps itself 2006-05-17 23:05:44 +00:00
slava ee75b478ab Last traces of conses removed 2006-05-17 18:55:46 +00:00
slava 9b286735ea More quotation work 2006-05-16 20:50:51 +00:00
slava 0727036ee6 Ratios and complexes now have headers, inference fixes 2006-05-15 22:00:37 +00:00
slava e63be4d157 More test fixes 2006-05-15 05:49:07 +00:00
slava 1951e63d2d Fix various test failures 2006-05-15 05:37:11 +00:00
slava f3ce2a15ed More cons cell removals 2006-05-15 05:01:47 +00:00
slava fbfad83957 Remove cons usage from runtime 2006-05-15 04:03:55 +00:00
slava 307bc73f5e reverse-slice ==> <reversed> 2006-05-15 03:25:34 +00:00
slava a7be80d994 Parser no longer calls 'swons' 2006-05-15 03:10:54 +00:00
slava c3f37f956f AMD64 fixes 2006-05-15 00:05:57 +00:00
slava b1681213f0 fp-scratch cleanup 2006-05-14 20:44:47 +00:00
slava 4513192968 Minor fixes 2006-05-14 19:44:07 +00:00
slava 22eae0be15 Compiler cleanups and bootstrap speedup 2006-05-12 21:07:56 +00:00
slava 30e1f0fc2b Fix set-slot on x86 2006-05-11 23:46:19 +00:00
slava 4cd4db2347 Update AMD64 backend and clean up other backends 2006-05-11 06:22:51 +00:00
slava 1cce70aad6 Changing list code to use generic sequence words 2006-05-11 00:32:04 +00:00
slava 63703c2713 Minor performance improvements in optimizer 2006-05-10 22:51:18 +00:00
slava 72fe1b6134 Optimizer cleanup 2006-05-10 07:40:03 +00:00
slava fd8a3062e3 Bootstrap performance improvement and assorted cleanups 2006-05-10 06:18:25 +00:00
slava a842703e2f Fix typos 2006-05-10 02:22:21 +00:00
slava bfc0a0e67a Floating point intrinsics for PowerPC 2006-05-10 01:37:07 +00:00
slava a395743af5 Templates fixes for float vreg allocation 2006-05-09 17:48:55 +00:00
slava 3b6cccb620 Templates cleanups 2006-05-09 17:17:03 +00:00
slava 3c92baf8ed Bootstrap and compiler fixes 2006-05-09 16:38:57 +00:00
slava da2fc4eaba Compiler work 2006-05-09 15:31:10 +00:00
slava e0af419b9b Minor fixes 2006-05-06 04:27:40 +00:00
slava e13b28e0d5 More float tests, x86 float fixes 2006-05-06 03:06:08 +00:00
slava 6318d7d719 Floating point fixes 2006-05-06 01:41:57 +00:00
slava da29021086 Working on float intrinsics 2006-05-06 00:06:57 +00:00
slava 2fa14f55ad New 'pentium4' architecture 2006-05-05 06:08:37 +00:00
slava a6e9ed5c21 Preliminary floating point intrinsics work 2006-05-05 06:00:17 +00:00
slava 4af21da845 Register allocation cleanup 2006-05-04 22:19:39 +00:00
slava 1964164664 vregs now delegate to a register class 2006-05-04 22:08:52 +00:00
slava e2f6bf6fef Update x86 assembler for SSE2 2006-05-04 20:05:58 +00:00
slava 229b0c26a4 Minor fixes 2006-05-03 00:26:48 +00:00
slava 1a86171a99 Working on method inlining optimization 2006-05-02 18:16:59 +00:00
slava 5d7d205081 Type inference for clone and (clone) 2006-05-02 10:13:43 +00:00
slava adca3c8464 Tweaking some declarations 2006-05-02 10:05:58 +00:00
slava fd3f37c8e3 Aggressive arithmetic inlining 2006-05-02 07:05:57 +00:00
slava eb4ba47ef1 New optimizations: useless coerce elimination, builtin slot type declarations 2006-05-02 05:49:52 +00:00
slava 1bc9dbcf2a Specializer optimization 2006-05-02 04:11:59 +00:00
slava bdd78ad160 Generate if-intrinsics in more cases 2006-05-02 03:30:24 +00:00
slava 7c53f7ef57 Disable set-slot intrinsic since it seems problematic 2006-05-02 02:12:08 +00:00
slava 73730188c0 Updating x86 intrinsics 2006-05-02 00:45:40 +00:00
slava 706c5d825a First approximation at x86 intrinsic definitions 2006-04-30 20:13:35 +00:00
slava cad17564ad Add +clobber annotations for future optimization 2006-04-30 20:12:54 +00:00
slava 8e9a27eea0 Fix some problems in the x86 backend 2006-04-29 22:33:05 +00:00
slava 42cd1e89f8 Fix more typos 2006-04-29 21:32:15 +00:00
slava d5d47b6ae8 Fix x86 typo 2006-04-29 21:28:51 +00:00
slava f684243e2f Got scratch registers working; PowerPC backend fully operational, x86 in progress 2006-04-29 21:13:02 +00:00
slava 906fea6508 Updating x86 backend for new changes 2006-04-28 23:23:50 +00:00
slava b55d3041ab Bootstrap fixes 2006-04-28 23:04:04 +00:00
slava 451bfb3915 Move some files around 2006-04-28 22:48:48 +00:00
slava 17d6efb543 Removing linear IR 2006-04-28 22:38:48 +00:00
slava 973ed2c7ea Code cleanups, fix #if intrinsic linearization, faster repeat combinator 2006-04-26 07:05:38 +00:00
slava b458d58b91 Fixing some bugs, with-template argument order reversed 2006-04-25 22:25:39 +00:00
slava 8eca428594 Huge compiler patch; two new fixnum-fast and fixnum+fast primitives which do not perform overflow checks 2006-04-24 21:52:03 +00:00
slava 3839e481c5 New, very hairy with-template specifier style 2006-04-23 19:32:08 +00:00
slava ac678bceb0 Register allocation fixes 2006-04-23 05:40:49 +00:00
slava 0842bd6a01 Multiple load elimination 2006-04-22 19:26:32 +00:00
slava 750c0b86b7 Remove debugging code, fix typo in x86 backend 2006-04-21 20:51:01 +00:00
slava 3ff7262976 Fix dead load/store elimination 2006-04-20 20:28:08 +00:00
slava 4c5dcf4135 New approach to stack dead load/store elimination 2006-04-19 20:19:26 +00:00
slava 5b02250d94 Intrinsics cleanups, x86 fixes 2006-04-17 22:25:38 +00:00
slava 25edc7de30 Stripping out old compiler code 2006-04-17 21:17:34 +00:00
slava c6bd0b4aac Fix dead store elimination 2006-04-14 07:53:45 +00:00
slava 2c780d6ee2 Re-enable shuffle optimization, remove dead code 2006-04-11 06:54:10 +00:00
slava daa1837df7 Register allocator fixes 2006-04-11 06:45:24 +00:00
slava 36d1021268 Compiler fixes 2006-04-10 03:11:19 +00:00
slava 4b9d87f85f New phantom stack abstraction 2006-04-10 02:23:00 +00:00
slava 5279cd99bc Debugging compiler 2006-04-08 20:46:47 +00:00
slava 7f5e240e98 More powerful templating 2006-04-08 07:13:01 +00:00
slava ec1890b2b3 Small shuffle optimization cleanup 2006-04-07 00:46:31 +00:00
slava 940d3307f5 Changes to templating system, re-enabled shuffle optimizations 2006-04-05 06:43:37 +00:00
slava d65a748042 Phasing out basic block optimizer; moved %inc-d/r merge optimization to templates 2006-04-03 07:22:33 +00:00
slava 12fd5294da Fix clear-hash bug, merge compiler/compiler-backend/compiler-frontend vocabs 2006-04-03 06:18:56 +00:00
slava a26c93ff45 Cleanup compiler and some minor library code 2006-04-03 05:33:52 +00:00
slava 839080c225 Further compiler refactoring, implemented "templates" 2006-04-02 04:42:36 +00:00
slava cfdefab518 vreg usage cleanups 2006-04-02 00:50:33 +00:00
slava da0633925c Refactor compiler code to deal with stack locations in a more orthogonal manner 2006-04-01 01:16:39 +00:00
slava 0cc07ef41e x86 backend now supports %box-struct 2006-03-29 04:25:52 +00:00
slava ffbf613a4b Fix another typo 2006-03-29 02:43:22 +00:00
slava 5777713237 Fix typo 2006-03-29 02:19:02 +00:00
slava 08580a3b2e First cut at x86 %box-struct 2006-03-29 02:18:09 +00:00
slava b3dbb48581 Documentation updates 2006-03-25 08:16:25 +00:00
slava 6a9e67a4bc Tool documentation 2006-03-25 06:06:52 +00:00
slava 6c587659cc Optimizations aimed at reducing bootstrap time 2006-03-21 05:44:19 +00:00
slava c98d9b7517 Assembler fixes for AMD64 2006-03-20 02:24:06 +00:00
slava 7df9b774e9 UI bootstrapped in 2006-03-15 20:58:22 +00:00
slava 75f8091994 Got Cocoa input events working 2006-03-15 05:24:00 +00:00
slava e8f96e37b7 AMD64 bootstrap fix 2006-03-12 23:37:17 +00:00
slava c30f2f30f4 Value type struct inputs, for PowerPC 2006-03-11 03:16:46 +00:00
slava 448f4e7d6a Small cleanup, re-enable basic block optimizer and Cocoa bindings 2006-03-08 20:03:01 +00:00
slava 78f63c0890 Removed %parameters VOP 2006-03-08 00:53:58 +00:00
slava 592c684f6b Updating optimizer for branch splitting removal 2006-03-07 04:35:32 +00:00
slava b8bcdc8909 Working on optimizer 2006-03-04 07:53:22 +00:00
slava 2ca80eea6f AMD64 bootstrap fix (untested) 2006-03-02 06:50:11 +00:00
slava 4b79be2219 Fix bootstrap, unit tests, and clean up 2006-03-02 06:47:34 +00:00
slava 46331ebefa Rewritten linearizer 2006-03-02 06:12:32 +00:00
slava f33bd6d03b Disable branch splitting 2006-02-28 05:26:45 +00:00
slava e55a401791 standard-combination now takes a dispatch position not a picker 2006-02-25 06:47:35 +00:00
slava 16140e65bc Temporarily revert a write barrier change 2006-02-24 08:59:19 +00:00
slava b08e6c40ec Fix bug with short operand words 2006-02-24 07:41:12 +00:00
slava ae697d92ae More x86 fixes 2006-02-24 07:26:08 +00:00
slava 9873d6285c Update x86 and AMD64 backends for assembler changes 2006-02-24 01:29:53 +00:00
slava 2ed71bcaf3 Further x86 assembler fixes 2006-02-24 01:22:18 +00:00