Commit Graph

11810 Commits (645a70f1d405d0224be39d6796f4d6f1ac4d957f)

Author SHA1 Message Date
Björn Lindqvist 645a70f1d4 compiler.cfg.scheduling: refactoring to get rid of the roots dynamic variable 2014-11-22 17:31:39 -08:00
Björn Lindqvist a96fff60af compiler.cfg.dependence: keys-for ?first is not deterministic, use tiebreak-parents to get predictable ordering 2014-11-22 17:31:39 -08:00
Björn Lindqvist 7ebceb50e5 compiler.cfg.dependence/scheduling: select-parent and roots moved to scheduling
the roots stuff is only used by compiler.cfg.scheduling, so it's more
simple to have it there than in compiler.cfg.dependence
2014-11-22 17:31:39 -08:00
Björn Lindqvist 586c47e5ab compiler.cfg.dependence/scheduling: more readable version of the select word 2014-11-22 17:31:39 -08:00
Björn Lindqvist b5754d32ef compiler.cfg.dependence: moved tree verification code to .tests
Since verify-trees just checked that make-trees worked correctly, it's
better to have that code in the test vocab instead of slowing down
every compile by running it
2014-11-22 17:31:39 -08:00
Björn Lindqvist 2ea1a999a4 compiler.cfg.dependence.tests: unit tests for the dependence vocab 2014-11-22 17:31:39 -08:00
Björn Lindqvist 3f3cc0eb8a compiler.cfg.dependence: now the nodes are on the stack instead of being saved in a dynamic variable (fp++) 2014-11-22 17:31:39 -08:00
Björn Lindqvist 2cfd55b864 compiler.cfg.dependence/scheduling: refactoring, trying to get rid of the ugly usage of nodes dynamic variable 2014-11-22 17:31:39 -08:00
Björn Lindqvist 0a7726b66d compiler.cfg.dependence: more docs for the vocab 2014-11-22 17:31:38 -08:00
Björn Lindqvist a1b20e451b compiler.cfg.scheduling: split-insns returns a 3-tuple instead of 3 items on the stack 2014-11-22 17:31:38 -08:00
Björn Lindqvist c777cb954a compiler.cfg.scheduling: refactor to use split-insns and compiler.cfg.linear-scan.numbering + tests 2014-11-22 17:31:38 -08:00
Björn Lindqvist 96396cb3ad compiler.*: use block>cfg and insns>block in many tests instead of wordier code 2014-11-22 17:31:38 -08:00
Björn Lindqvist c8a022423e compiler.cfg.utilities: move and rename the helper words block>cfg, insns>block and insns>cfg, they are useful to many testing vocabs 2014-11-22 17:31:38 -08:00
John Benediktsson 44f31ee13e use swapd instead of [ swap ] dip. 2014-11-21 11:56:17 -08:00
John Benediktsson 7badef25ce libc: reduce code duplication. 2014-11-21 10:19:12 -08:00
John Benediktsson 39093727b1 libc: rename (io-error) to throw-errno. 2014-11-21 09:29:45 -08:00
John Benediktsson 3f362dfc99 destructors: change check-disposed not to drop the disposable. 2014-11-21 08:19:05 -08:00
John Benediktsson 115511038d libc: removing &(free) and |(free) destructors which aren't really used. 2014-11-20 19:51:10 -08:00
John Benediktsson 45bd145596 io: use errno case instead of cond. 2014-11-20 19:46:14 -08:00
John Benediktsson c0b4c1adb1 io.buffers: unsafe code is more unsafe. 2014-11-20 17:46:36 -08:00
John Benediktsson 25f3032d04 io.ports: use fixnum where possible, assert c-ptr since we use memcpy. 2014-11-20 17:19:16 -08:00
John Benediktsson f6ed37a6f7 io.ports: some cleanup before optimizations. 2014-11-20 16:19:39 -08:00
John Benediktsson e55af0ebfe io.buffers: simplify test word. 2014-11-20 15:46:07 -08:00
John Benediktsson c60a3e6e80 io.buffers: adding a buffer-read-into that can take a c-ptr or a sequence. 2014-11-20 14:40:43 -08:00
John Benediktsson 0a31a7c17a io.backend.unix: { fixnum } read will be a { fixnum } . 2014-11-20 13:23:53 -08:00
Doug Coleman 46174ab748 compiler.cfg.build-stack-frame: Fix test for win64 2014-11-18 14:21:45 -08:00
Doug Coleman 0fe5b2d90f io.directories: Add unit test for #890. 2014-11-18 14:11:13 -08:00
Doug Coleman 831ec24b14 io.sockets.windows: Spacing cleanup. 2014-11-18 14:06:24 -08:00
Doug Coleman 09f0edfb2f io.launcher.windows: Don't cd to directory when calling run-process. Fixes 2014-11-18 14:03:06 -08:00
Doug Coleman cab001234a io.sockets.windows: Fix unit test--recover leaves socket on stack, nip
it.
2014-11-18 14:02:44 -08:00
Björn Lindqvist 61ba941740 math.vectors: changes so that some vocabs that can use math.vector words does it 2014-11-17 19:02:12 -08:00
Björn Lindqvist 001acde590 math.vectors: new word v>integer = [ >integer ] map 2014-11-17 19:02:12 -08:00
Doug Coleman 7d95fb8172 math.vectors.simd: Attempt to print out full simd failures so we can debug them. 2014-11-17 12:12:39 -08:00
Doug Coleman 5c8c76cc22 alien.syntax: We have to include alien.arrays somewhere before libc loads. 2014-11-17 09:44:21 -08:00
John Benediktsson 0826d8468c io.launcher: really minor cleanup. 2014-11-16 20:31:50 -08:00
John Benediktsson 74058d3dff alien: cleanup using. 2014-11-16 20:31:32 -08:00
John Benediktsson f79d61060e io.buffers: cleanup interface a bit. 2014-11-16 18:54:24 -08:00
John Benediktsson 60d0937041 compiler.cfg.instructions: fix help-lint. 2014-11-16 16:22:13 -08:00
Björn Lindqvist 0d9316f4f9 Docs: more various compiler doc improvements 2014-11-16 06:25:55 -08:00
Björn Lindqvist 42a528bb28 compiler.codegen.gc-maps: docs and tests 2014-11-16 06:25:54 -08:00
Björn Lindqvist 7ebd63a217 cpu.architecture: docs and some tests 2014-11-16 06:25:54 -08:00
Björn Lindqvist d3c91bea72 compiler.cfg.linear-scan.*: stub docs and tests 2014-11-16 06:25:54 -08:00
Björn Lindqvist 3b86d4b9ba compiler.cfg.def-use: docs 2014-11-16 06:25:54 -08:00
Björn Lindqvist 90b31d543b compiler.cfg.instructions: more docs 2014-11-16 06:25:54 -08:00
Björn Lindqvist f06f59b956 Docs: smallish improvements to compiler vocabs 2014-11-16 06:25:54 -08:00
Björn Lindqvist bc5c23b162 compiler.cfg.linear-scan.assignment: stub docs 2014-11-16 06:25:54 -08:00
Björn Lindqvist 1eac4afc8b compiler.cfg.linear-scan.allocation.state: sub docs and tests 2014-11-16 06:25:53 -08:00
Björn Lindqvist 0a30bd9218 compiler.cfg.stack-frame: stub docs and tests for vocab 2014-11-16 06:25:53 -08:00
Björn Lindqvist 8a0b4c3d26 compiler.cfg.build-stack-frame: stub docs and tests for vocab 2014-11-16 06:25:53 -08:00
Björn Lindqvist cbc8681187 Docs: compiler.cfg.instructions improvements 2014-11-16 06:25:53 -08:00