Commit Graph

24070 Commits (9827e29e95dcb58a5ceb838fc86be009ca3e787e)

Author SHA1 Message Date
Doug Coleman 9827e29e95 cpu.x86.features: Fix cpuid for win64. 2012-09-18 20:09:39 -07:00
Doug Coleman 0d337e04ea cpu.x86.features: Implement cpuid with help from joe. Add unit test. 2012-09-18 18:51:32 -07:00
John Benediktsson 8b49518349 benchmark.flip: adding a benchmark for the "flip" word. 2012-09-18 18:40:17 -07:00
Doug Coleman 9ebd6c11ad cpu.x86: Fix the popcnt? word alien-assembly. XOR the return-reg RAX before calling BT/BSET because XOR clears the CF and the whole thing becomes a no-op. Change popcnt instruction to opt-out rather than opt-in. Fixes #663. 2012-09-18 17:15:03 -07:00
John Benediktsson cfa87365e3 ui.baseline-alignment: add concept of "aligned-gadget".
This type of gadget caches baseline and cap-height for performance.
2012-09-18 15:48:49 -07:00
John Benediktsson b80992b27a Revert "ui.gadgets.labels: use font-metrics directly."
This reverts commit d9fdd71d64.
2012-09-18 09:19:29 -07:00
Alex Vondrak 4c53c971c1 compiler.cfg.gvn.math: missed some availability checks that were causing math.vectors.simd.tests to fail (issue #671) 2012-09-18 00:07:10 -07:00
John Benediktsson 45f0db5f78 ui.gadgets: add some inline. 2012-09-17 17:21:31 -07:00
John Benediktsson 25aadd2dc2 ui.text.pango: don't create unnecessary font objects. 2012-09-17 14:17:57 -07:00
John Benediktsson eb1a4db801 ui.gadgets.labels: use font-metrics directly. 2012-09-17 14:12:25 -07:00
John Benediktsson 8e3c79b841 ui.gadgets.paragraphs: cache the wrapped paragraph for performance. 2012-09-17 14:12:25 -07:00
John Benediktsson d5900ba7ee ui.gadgets: inline gadget-child and nth-gadget. 2012-09-17 14:12:25 -07:00
John Benediktsson b2cd64d0e9 classes.struct: removing unused bad-type-for-bits error. 2012-09-17 09:54:55 -07:00
Doug Coleman b72040d3b6 windows: Start adding GetBestInterface. 2012-09-17 08:05:23 -07:00
Doug Coleman c5df68d7b3 windows.iphlpapi: Add a way to get interfaces, mac addrs, and ips on
windows.
2012-09-16 17:51:05 -07:00
Doug Coleman 6f8043241e windows.winsock: Add sockaddr>ip. 2012-09-16 17:50:47 -07:00
Doug Coleman 8bfed897a8 combinators.smart: Add cleave>array. 2012-09-16 17:32:27 -07:00
Doug Coleman 320efb8bc7 windows.kernel32: Add HeapAlloc, HeapFree but don't use them.. 2012-09-16 17:24:31 -07:00
Doug Coleman 0bdcf5173f io.files.info: On my Windows7 box, D: is "not really there" and it kills
file-systems. Ignore errors instead of dying.
2012-09-16 17:23:25 -07:00
Doug Coleman 1a91e3a8ff alien.c-types: Add c-type-signed to protocol, which is true for signed
types. Use c-type-signed in classes.struct.
2012-09-16 14:42:18 -07:00
John Benediktsson eaed0db99a Revert "math: speed up integer>fixnum operations."
This reverts commit b467db9a9a.
2012-09-16 07:46:22 -07:00
John Benediktsson 6ea9c0fc02 math: speed up integer>fixnum operations. 2012-09-15 08:52:06 -07:00
John Benediktsson 159f5d6344 math.integers: fix docs for >integer. 2012-09-15 08:51:19 -07:00
John Benediktsson d31d1eebae continuations: slight speedup. 2012-09-14 14:59:38 -07:00
John Benediktsson a206daacde benchmark.continuations: more continuations. 2012-09-14 14:59:17 -07:00
John Benediktsson 52fab586be heaps: inline heap-size also. 2012-09-14 12:07:56 -07:00
John Benediktsson 2422490f86 heaps: speed up heaps benchmark. 2012-09-14 10:03:30 -07:00
John Benediktsson 7e3a5fc1b2 math.order: improve docs for invert-comparison. 2012-09-14 09:45:03 -07:00
John Benediktsson 40e7813214 math.order: cleanup stack effects. 2012-09-14 09:36:09 -07:00
John Benediktsson 2a1fbb3396 math.order: make it more obvious this is a real<=>. 2012-09-14 09:19:26 -07:00
John Benediktsson 474913646f misc: fix syntax highlighting for MATH: generics. 2012-09-14 09:05:20 -07:00
John Benediktsson 3c9fdcff1a sorting: 6% performance improvement using -unsafe words. 2012-09-14 09:03:55 -07:00
John Benediktsson 2158e772ec math.order: speed up math comparisons using a math generic. 2012-09-14 08:43:29 -07:00
Doug Coleman 700ca426d1 compiler.cfg.gvn.testing: Add one more platforms.txt 2012-09-13 10:09:29 -07:00
Doug Coleman ece7a4177a compiler.graphviz: Add platforms.txt until someday when graphviz win64
binaries are easy.
2012-09-13 08:51:39 -07:00
Alex Vondrak 2573e4c672 compiler.cfg.gvn.tests: test that gvn is, in fact, global; also, minor test of gcse modulo register availability 2012-09-12 15:14:12 -07:00
Alex Vondrak 0634eaefae compiler.cfg.gvn.tests: add a new 'fixme' unit test for a deficiency in the gvn algorithm 2012-09-12 15:14:12 -07:00
Alex Vondrak 419c15dd4f compiler.cfg.gvn.tests: to fix remaining regressions, added ##peeks so that vreg uses actually had defs (and thus would be available during gcse) 2012-09-12 15:14:12 -07:00
Alex Vondrak c29b0cc897 compiler.cfg.gvn.tests: ##phis now get converted into ##copy insns, so unit test had to change 2012-09-12 15:14:12 -07:00
Alex Vondrak 112824c9e3 compiler.cfg.gvn.tests: fix test-branch-folding 2012-09-12 15:14:12 -07:00
Alex Vondrak c14141a6b5 compiler.cfg.gvn.tests: fix the old, single-basic-block tests from
compiler.cfg.value-numbering (which was nearly all of them) to work with
new gvn interface
2012-09-12 15:14:12 -07:00
Alex Vondrak 383fa08c53 compiler.cfg.gvn: merge changes from value-numbering-tests into gvn-tests 2012-09-12 15:14:12 -07:00
Alex Vondrak fb83bf2d6a compiler.cfg.gvn.avail: add a FROM: to clarify collision over change-at word 2012-09-12 15:14:12 -07:00
Alex Vondrak f2638c99dd compiler.cfg.gvn: merge in applicable changes from compiler.cfg.value-numbering 2012-09-12 15:14:11 -07:00
Alex Vondrak 2456f90eaf compiler.cfg.gvn.math: re-enable distribution for final pass 2012-09-12 15:14:11 -07:00
Alex Vondrak a11e1bb95a compiler.cfg.graphviz & compiler.cfg.gvn.testing: change output slightly 2012-09-12 15:14:11 -07:00
Alex Vondrak d86d44023a compiler.cfg.gvn: fix copyrights 2012-09-12 15:14:11 -07:00
Alex Vondrak 270de14e22 compiler.cfg.graphviz & compiler.cfg.gvn.testing: png -> svg 2012-09-12 15:14:11 -07:00
Alex Vondrak 0bcff5d642 compiler.cfg.gvn.alien: use next-vreg on final iteration, which seems to fix a bug 2012-09-12 15:14:11 -07:00
Alex Vondrak 2f1fdaad6c compiler.cfg.gvn: forgot to make certain defs available 2012-09-12 15:14:11 -07:00