Commit Graph

10689 Commits (fc91dcf530b78fdedd494e2244993b73a2981a71)

Author SHA1 Message Date
Alex Vondrak fc91dcf530 compiler.cfg.ssa.destruction: alien-call-insns are too hairy to coalesce (issue #22) 2012-12-31 11:04:57 -08:00
Alex Vondrak 86a15ad47b compiler.cfg.liveness: look up leaders (if possible) so liveness analysis doesn't break after leaving SSA (issue #22) 2012-12-31 11:04:52 -08:00
Alex Vondrak b08c077023 compiler.cfg.parallel-copy: make sure new vregs used to break cycles in parallel-copy-rep update the leader-map (issue #22) 2012-12-31 11:04:44 -08:00
Alex Vondrak ff1c2c293b compiler.cfg.ssa.interference.live-ranges: fix kill-indices for ##parallel-copy (issue #22) 2012-12-31 11:04:38 -08:00
Alex Vondrak ae0b77a0c4 compiler.cfg.ssa.cssa: split the definitions of ##phis so live-ranges don't interfere (issue #22)
See the explanation after the proof of Lemma 1 in "Revisiting Out-of-SSA
Translation for Correctness, Code Quality, and Efficiency" (Boissinot et
al.) for why this is necessary.
2012-12-31 11:04:26 -08:00
Doug Coleman a0dd953e33 starting point - Fix bootstrap; I broke it in merging. Disable environment variables because the compiler isn't loaded yet and can't call C ffi functions, and tools.test loads this vocab.
Disable intrinsics in cpu.x86.64 for now, since they invoke the compiler
Fix ##branch renaming to ##branch,
To work on this branch:
./factor -include=math -i=boot.image
./factor -run=listener
USE: compiler USE: tools.test save
enable-optimizer

Error message is now:
T{ vregs-shouldn't-interfere f 409 424 }
2012-12-31 11:03:45 -08:00
Slava Pestov 07227f22f9 WIP 2012-12-31 11:03:33 -08:00
Doug Coleman ae276ec225 random: Add poisson-random-float. 2012-12-31 11:02:56 -08:00
John Benediktsson a46bcfe85c ui.gadgets.editors: fix stack effect of change-caret quotation. 2012-12-28 17:01:32 -08:00
John Benediktsson 03cd5cd579 xml.traversal: adding deep-children>string. 2012-12-17 11:58:30 -08:00
John Benediktsson 43b541d11b ui.baseline-alignment: fix float shift on retina. 2012-12-17 11:43:05 -08:00
John Benediktsson e01ff14fa0 ui.text.core-text: fix jumping "def". 2012-12-11 08:06:02 -08:00
John Benediktsson 82dc0bf045 math.statistics: just use accumulate for now. 2012-12-04 08:56:21 -08:00
John Benediktsson 5fd5ab6711 Revert "ui.backend.cocoa.views: make compatible with 10.6."
This reverts commit 7f6f742fc3.
2012-11-29 18:43:39 -08:00
Doug Coleman 516549b52c basis: Try to fix the build. My profiler is hanging, but I can't figure out why. See if the build farm has the same is
sue.
2012-11-27 12:47:44 -06:00
John Benediktsson 5b5ee71a6a ui.backend.cocoa.views: make compatible with 10.6. 2012-11-26 14:48:42 -08:00
Jon Harper f5f767e0dc winapi window resize 2012-11-26 14:39:55 -08:00
Jon Harper 26beb27680 OSX window resize 2012-11-26 14:39:55 -08:00
Jon Harper 8948e8a455 X11 window resize 2012-11-26 14:39:54 -08:00
Jon Harper b023ebf7a5 Add resize-window and relayout-window 2012-11-26 14:39:54 -08:00
Doug Coleman 6e48f8ab15 math.statistics: Add a variant of histogram that can see the sequence index. 2012-11-17 12:39:54 -08:00
Doug Coleman d31105813b math.statistics: Add back std as sample-std. 2012-11-15 08:27:41 -08:00
Doug Coleman 2ada02726b math.statistics: Make you think about which std you want--population or sample. Hopefully use the right words everywhere. 2012-11-07 22:53:53 -08:00
Doug Coleman a4e55a3eee math.statistics: Rename full-* to population-*. Full, while somewhat descriptive of using the entire dataset, is not a technical term, while population is used in Mathematica and stats books. 2012-11-07 22:53:52 -08:00
Doug Coleman 401dd47335 math.matrices: Add m+n, m-n, n+m, n-m, words. 2012-11-07 22:53:52 -08:00
John Benediktsson 1e413edf3a math.statistics: rename full-* to population-*. 2012-11-06 07:16:20 -08:00
John Benediktsson ab3d6b1d13 opengl: properly scale viewports. 2012-11-01 17:12:13 -07:00
John Benediktsson 43d91bcf08 ui.backend.cocoa.views: only set gl-scale-factor if > 1.0. 2012-11-01 16:59:45 -07:00
John Benediktsson 9a9ccf971b images: don't truncate in image-dim. 2012-11-01 16:48:44 -07:00
John Benediktsson 422bd683d3 opengl: make sure to reset the scale factor at startup. 2012-11-01 16:46:56 -07:00
John Benediktsson 39859f21dc core-text: better check. 2012-11-01 16:43:26 -07:00
John Benediktsson fcce5a2af9 core-text: retina displays should use "2x" fonts. 2012-11-01 16:28:33 -07:00
John Benediktsson 5f1bcb78bd opengl.textures: render 2x images. 2012-11-01 16:14:55 -07:00
John Benediktsson e5d325df44 images: adding "2x" images. 2012-11-01 16:11:55 -07:00
John Benediktsson 44b7bbc76d opengl: adding support for a gl-scale-factor. 2012-11-01 14:48:12 -07:00
John Benediktsson f2ce2a0b61 calendar: better warnings. 2012-11-01 14:41:30 -07:00
John Benediktsson 4efa984637 ui.backend.cocoa.views: [self setWantsBestResolutionOpenGLSurface:YES]; 2012-11-01 14:29:03 -07:00
Doug Coleman 1a5f2ad961 ui.backend.gtk: Save the clipboard to the global clipboard so that it doesn't get deleted when Factor exits. Fixes #548. Add paste-selection, but commented out for now. 2012-10-29 10:56:34 -07:00
Doug Coleman 0c5d70e881 grouping: The expectation is that if there is a virtual clump of length N, then each iteration through that clump there are N elements available. This patch breaks that assumption.
Revert "change clump when the group size is greater than the sequence length"

This reverts commit baedb316c5.

Conflicts:
	basis/grouping/grouping-docs.factor
	basis/grouping/grouping-tests.factor
	basis/grouping/grouping.factor
2012-10-29 09:47:15 -07:00
Jon Harper 93cf443f32 Allow circular clumps with a length smaller than the clump
Conflicts:
	basis/grouping/grouping-tests.factor
2012-10-28 13:41:41 -07:00
Jon Harper 0dfe8f949c fixup: forgot the tests 2012-10-28 13:34:30 -07:00
Jon Harper 7b7586fa54 clump: fix empty sequence input. rephrase docs a bit 2012-10-28 13:34:18 -07:00
Jon Harper 2fc1442771 change clump when the group size is greater than the sequence length 2012-10-28 13:34:08 -07:00
Jon Harper 40ca3fc7f3 Friendlier grouping/clumping error message 2012-10-28 13:33:51 -07:00
John Benediktsson 7b50fd3601 unix: adding truncate-file. 2012-10-25 21:51:08 -07:00
John Benediktsson 23fc7b3eb9 math.statistics: add some padding in the docs (looks better). 2012-10-25 21:01:17 -07:00
John Benediktsson 71da857f43 math.statistics: add other cumulative words to help article. 2012-10-25 16:30:31 -07:00
Doug Coleman b867a248a2 math.statistics: Add cum-count, cum-sum0, cum-map0. Add docs. 2012-10-25 16:13:25 -07:00
John Benediktsson 83712ad87e io.directories: defining "?delete-file". 2012-10-25 10:07:15 -07:00
Doug Coleman 33ae7abb23 calendar: Add yesterday, tomorrow, o'clock, am, pm. 2012-10-25 09:46:11 -07:00