Commit Graph

10526 Commits (cda2e4d7daf5906166bb5d8d0d009506cf152462)

Author SHA1 Message Date
Doug Coleman cda2e4d7da combinators.smart: Add cleave>sequence. 2012-09-19 15:44:20 -07:00
Doug Coleman d196f8f141 cpu.x86: Use bit-range, don't call cpuid so many times 2012-09-19 15:44:20 -07:00
Doug Coleman 2735d3a5d7 math.bitwise: Add bit-range 2012-09-19 15:44:19 -07:00
Doug Coleman e97c8971a5 cpu.x86: Some calls to CPUID take a parameter in ECX. Add cpuid-extended to allow these. 2012-09-19 11:30:54 -07:00
John Benediktsson e45f0ec9e2 cpu.x86.features: temporary fix for bootstrap issue. 2012-09-19 10:41:54 -07:00
John Benediktsson 6cba7af1e1 interval-maps: bit more speed using unsafe words. 2012-09-19 10:33:52 -07:00
John Benediktsson 40a8936fe6 unicode.breaks: inline word-break-classes. 2012-09-19 10:33:52 -07:00
Doug Coleman de52d96d93 cpu.x86.features: Add some words to check cpu features. Replace alien-assembly popcnt? instruction with general cpuid one. 2012-09-19 10:12:25 -07:00
Doug Coleman 1897f5fb4a cpu.x86.assember: Add RDMSR for completeness, but it can't be called from user code. Factor kernel modules? 2012-09-19 10:11:36 -07:00
Doug Coleman d52c0b1987 cpu.x86.features: Unbiased CPUID test. 2012-09-19 08:48:14 -07:00
Doug Coleman 9c0a8b3250 cpu.x86: Fix load order. 2012-09-19 08:40:18 -07:00
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
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 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
Alex Vondrak f75f99ecc9 compiler.cfg.copy-prop: kludge to make sure ##phis get updated 2012-09-12 15:14:11 -07:00
Alex Vondrak 4008edfdf8 move compiler.cfg.graphviz & compiler.cfg.gvn from basis to extra, just to keep organized 2012-09-12 15:14:07 -07:00
Alex Vondrak 51b3b1fd87 compiler.cfg.graphviz: tweak code & output a little 2012-09-12 15:14:06 -07:00
Alex Vondrak d6849da7ec compiler.cfg.graphviz: refactoring 2012-09-12 15:14:06 -07:00
Alex Vondrak 64b541759e add crappy experimental code for compiler.cfg.graphviz & compiler.cfg.gvn 2012-09-12 15:14:06 -07:00
John Benediktsson 7873719c6e regexp.classes: bit more speed with read-only slots. 2012-09-12 08:39:40 -07:00
John Benediktsson d657cbb286 regexp.classes: inline class-member?. 2012-09-11 20:22:17 -07:00
John Benediktsson 61707f1e5c unicode.data: inline category#. 2012-09-11 20:21:31 -07:00
John Benediktsson 837568c793 xml.tokenize: slight fix to reduce number of namespace lookups. 2012-09-11 14:46:45 -07:00
John Benediktsson 08499b6e5a hints: cleanup some hint setting. 2012-09-11 10:35:21 -07:00
John Benediktsson 9e18953a5e circular: fix minor typo in copyright url. 2012-09-11 10:35:21 -07:00
Doug Coleman 2282007334 math.ratios: Add unit tests for bug #668. 2012-09-11 08:16:25 -07:00
John Benediktsson e72e1a340f compiler.tree.propagation: fix >fraction types. 2012-09-11 07:42:39 -07:00
John Benediktsson e84e508256 math.ratios: speed up some operations on ratios. 2012-09-10 19:53:25 -07:00
John Benediktsson ec6baefce3 compiler.tree.cleanup: fix "-1 shift" tests. 2012-09-10 19:24:23 -07:00
John Benediktsson a4f264509d math: cleaner "2/" speedup by using custom inlining. 2012-09-10 17:59:03 -07:00
John Benediktsson c86b2d2161 math.combinatorics: factorial could be memoized... 2012-09-05 11:02:38 -07:00
John Benediktsson b6c069f99a compiler.cfg.representations.selection: removing 10^ in favor of 10^. 2012-09-05 09:25:26 -07:00