Commit Graph

15129 Commits (2dcdfa2d8e87964f186eb706e19b9ec7342ff70f)

Author SHA1 Message Date
Slava Pestov 2dcdfa2d8e compiler.cfg: add a declaration to fix tools.deploy.test.11 2009-06-09 03:36:16 -05:00
Slava Pestov 2b61f6c7ca Merge branch 'master' of git://github.com/mrjbq7/factor 2009-06-09 03:07:36 -05:00
Slava Pestov 45a2105449 cpu.x86.assembler: IMUL2 instruction was busted for immediate operands
When given a register and an immediate, it would generate imul imm,dst,dst however the 64-bit prefix was generated wrong and if dst was an extended register only the first operand would be an extended register. To fix this, change IMUL2 to not work on immediates anymore, and added a new IMUL3 that takes a destination register, source register, and immediate. Also, change compiler.cfg.two-operand to not two-operandize %mul-imm, since this isn't needed anymore.
This fixes the sporadic benchmark.tuple-arrays crash on 64-bit machines.
2009-06-08 21:15:52 -05:00
Slava Pestov aaeeaa1e6f Fix load errors 2009-06-08 04:18:57 -05:00
Slava Pestov d4f6a9cb43 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-07 22:02:22 -05:00
Slava Pestov aba4fa7371 Recent vocabs.parser change had a regression: vocabs with no roots (scratchpad) were excluded from default use list. Also move with-interactive-vocabs to listener vocab 2009-06-07 21:59:13 -05:00
Slava Pestov 4fbe99400f Merge branch 'master' of git://factorcode.org/git/factor 2009-06-07 21:46:41 -05:00
Slava Pestov 9ad9600764 Remove %dispatch-label since its tehe same on all platforms; fix %gc on PowerPC 2009-06-07 21:46:28 -05:00
Slava Pestov 16f144af58 Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor 2009-06-07 20:22:02 -05:00
John Benediktsson 88e5397b51 brainfuck: Require loops to be non-empty, add test case. 2009-06-07 17:39:21 -07:00
John Benediktsson 4b21217956 brainfuck: Adding debug (#) operator. 2009-06-07 16:18:13 -07:00
John Benediktsson 6b86f059e7 Merge groups of similar operations. 2009-06-07 15:21:39 -07:00
John Benediktsson 2a5db1abd9 brainfuck: Remove concept of operations now that it is compiled. 2009-06-07 07:52:07 -07:00
Philipp Winkler 3604535687 Fix a error parsing out nested arrays. 2009-06-06 20:49:44 -07:00
John Benediktsson 67a36883fe Compile brainfuck a bit more stylishly. 2009-06-06 20:44:48 -07:00
John Benediktsson e30a9fc4b1 Add some test cases, remember to flush after running program. 2009-06-06 20:11:59 -07:00
Philipp Winkler 1a97d61fd7 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-06 10:10:42 -07:00
John Benediktsson aeca1a6e9e Merge branch 'master' of git://factorcode.org/git/factor 2009-06-06 10:07:36 -07:00
John Benediktsson e4a10254d8 Changed brainfuck from interpreter to compiler, using EBNF's. 2009-06-06 10:07:23 -07:00
Slava Pestov 70b75b8dea Linear scan: implement live range intersection 2009-06-06 01:04:12 -05:00
Philipp Winkler 6741770a0d Merge branch 'master' of git://factorcode.org/git/factor 2009-06-05 19:54:51 -07:00
Slava Pestov 7c207ffa12 compiler.cfg.optimizer: disable CFG checker by default 2009-06-05 18:07:22 -05:00
Slava Pestov 04c72d0a72 Linear scan: correctly compute live spill slots 2009-06-05 18:06:47 -05:00
Slava Pestov 1e449c70f6 vocabs.parser: if bootstrap fails to load a vocab in interactive use list, don't fep 2009-06-05 17:33:00 -05:00
Slava Pestov 440b464ec1 compiler: more informative trace-compilation 2009-06-05 17:32:37 -05:00
Slava Pestov 5bb235d38f compiler.cfg.checker: run if a variable is set 2009-06-05 17:32:12 -05:00
Philipp Winkler 16d576e337 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-05 08:48:28 -07:00
John Benediktsson 992ab4e677 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-04 23:01:34 -07:00
Slava Pestov b73716d8cb Merge branch 'master' of git://factorcode.org/git/factor 2009-06-04 19:14:27 -05:00
Slava Pestov 81b2a39070 compiler.cfg.linear-scan: re-do interval splitting to operate on live ranges; add inactive set processing 2009-06-04 18:53:02 -05:00
Philipp Winkler 12bb659251 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-04 16:39:35 -07:00
Doug Coleman 60a0170e38 renamd parsed-tiff to loading-tiff 2009-06-04 16:17:26 -05:00
Doug Coleman a3f0c6c057 use singletons instead of subclassing the image class 2009-06-04 16:09:38 -05:00
Doug Coleman a0b01a51b7 create initializers vocab when constructors is used. this should really go in bootstrap instead 2009-06-04 15:30:17 -05:00
Doug Coleman 3c8ce48e3c don't normalize images in processing.rotation. this means there are some padding bytes to deal with 2009-06-04 15:09:25 -05:00
Doug Coleman 580ff7fd32 fix loading of bitmaps when computed size is 0 2009-06-04 15:06:33 -05:00
Doug Coleman 7734042b58 use initial values in constructors when approriate 2009-06-04 14:57:10 -05:00
Philipp Winkler 7922628abb Add a hand parser. Improves speed from 23 seconds to 0.03 seconds when parsing a 123Kb string. 2009-06-04 11:25:33 -07:00
John Benediktsson 7338792121 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-04 08:50:06 -07:00
Doug Coleman 4cead52ba6 constructor foo now creates an initialize-foo word in the initializers vocabualary. <foo> is instantiated with boa constructors now, so constructors handle read-only slots 2009-06-04 10:17:09 -05:00
John Benediktsson b1136c77b5 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-03 21:50:09 -07:00
Doug Coleman 80c59d1a0f add a logged-in flag to managed-server for logging in connections so we don't have to throw exceptions to kill clients 2009-06-03 23:00:56 -05:00
Doug Coleman f6ac611a04 really disconnect someone if name is taken 2009-06-03 22:19:46 -05:00
Doug Coleman a506ddbbfc Merge branch 'master' of git://factorcode.org/git/factor 2009-06-03 21:36:37 -05:00
Doug Coleman 31595542d3 clean up bitmap code, support a lot more bitmaps like 1/4/16 bit 2009-06-03 21:36:03 -05:00
Doug Coleman 3550621341 rename run-length's uncompress word 2009-06-03 21:22:19 -05:00
Doug Coleman b9100e5077 add a word to make a sequence from a byte-array by taking n bits at a time 2009-06-03 21:21:51 -05:00
Doug Coleman 175b03c134 add a <limited-file-reader> word to open a limited stream from a file correctly 2009-06-03 21:21:21 -05:00
Joe Groff 469d7af27a Catch and wrap game-loop errors and send them through the UI when available. much nicer than having to check the console 2009-06-03 19:55:38 -05:00
John Benediktsson 0c0f796267 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-03 10:00:43 -07:00