Doug Coleman
a59bf32a33
fix cloning weirdness in images rotation tests
2009-06-09 11:48:39 -04:00
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
Doug Coleman
2ff32e838e
add a constructor that calls all of its superclass initializers
2009-06-09 00:18:15 -04: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
Doug Coleman
989cb7d5df
better implementation of zero-matrix
2009-06-07 20:12:18 -04: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
Doug Coleman
44850e6533
refactoring bitmap to bitmap.loading and bitmap.saving vocabs
2009-06-06 21:10:40 -04: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
Doug Coleman
ce37c8e082
add a hexdump-file word
2009-06-05 22:49:07 -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
Marc Fauconneau
68f7b1706a
Merge branch 'master' of git@github.com:prunedtree/factor
2009-06-05 21:34:19 +09:00
Marc Fauconneau
88f8af4b69
images.jpeg: added support for yuv444 and black and white images
2009-06-05 21:33:04 +09:00
prunedtree
011abaa079
images.jpeg: added support for yuv444 and black and white images
2009-06-05 05:28:18 -07:00
Jose A. Ortega Ruiz
de70475647
Merge commit 'origin/master' into emacs
2009-06-05 14:13:40 +02:00
prunedtree
f09a2807fa
implemented inflate-raw (uncompressed chunks)
2009-06-05 03:29:12 -07:00
prunedtree
9612b43034
bit alignement and absolute positionning for bit-reader
2009-06-05 03:26:50 -07:00
Marc Fauconneau
5e31d6266e
ML-style (* nested (* comments *) *)
2009-06-05 15:29:36 +09:00
John Benediktsson
992ab4e677
Merge branch 'master' of git://factorcode.org/git/factor
2009-06-04 23:01:34 -07:00
prunedtree
1c89045f0e
m^n binary exponentiation of matrices
2009-06-04 20:42:29 -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