Commit Graph

17122 Commits (40620d470fc50175aa709687c8633bff09b1810b)

Author SHA1 Message Date
Slava Pestov a1ae209f81 compiler.tree.propagation.call-effect: stronger call( inlining; now can inline 'a [ b ] curry call(' where 'a' is literal, [ b ] doesn't infer, but [ a b ] does infer. This simplifies classes.struct:memory>struct 2009-09-07 17:45:03 -05:00
Joe Groff e3509e7f11 tighten up math.floats.env docs 2009-09-07 10:50:40 -05:00
Guillaume Nargeot a0b6d4f381 Solution to Project Euler problem 112 2009-09-07 06:28:44 +09:00
Joe Groff 25b45d6af0 test fp traps 2009-09-06 09:04:46 -05:00
Joe Groff e705470d42 make public words for querying current rounding mode, denormal mode, and trap set 2009-09-06 08:50:54 -05:00
Joe Groff 7ba71a524e Send FP trap signals to Factor as a different vm-error type 2009-09-06 08:44:25 -05:00
Joe Groff 96db254311 unit tests for math.floats.env 2009-09-06 07:50:56 -05:00
Jon Harper 1c97d33854 Fix documentation errors 2009-09-06 19:00:03 +09:00
Guillaume Nargeot 534db0ce4c Merge branch 'master' of git://factorcode.org/git/factor 2009-09-06 09:59:41 +09:00
Joe Groff 36ec53a968 math.floats.env vocab with words to control the floating-point environment
add some functions to the VM to grab and set the fpu control register
2009-09-05 19:48:13 -05:00
Slava Pestov 75f7e27c6c Use new-style structs for overlapped struct on Windows 2009-09-05 16:20:58 -05:00
Slava Pestov 9881332ddb windows.com.prettyprint: add unportable tag 2009-09-05 10:59:40 -05:00
Slava Pestov 4e3b6d7acf Merge branch 'master' of git://github.com/killy971/factor 2009-09-05 10:58:17 -05:00
Slava Pestov 7a97624d98 Merge branch 'master' of git://github.com/Blei/factor 2009-09-05 10:54:02 -05:00
Slava Pestov 1798000335 Fix unit tests for specialized-arrays.direct change 2009-09-05 02:26:06 -05:00
Guillaume Nargeot 43b76d90a2 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-05 14:48:21 +09:00
Slava Pestov a054ec3d64 specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor 2009-09-04 22:01:55 -05:00
Slava Pestov 3e6189fec1 windows.com: split off prettyprinting into windows.com.prettyprint 2009-09-04 22:00:23 -05:00
Slava Pestov 1bdaebdf5e tools.deploy.shaker: strip out struct slot info 2009-09-04 21:59:49 -05:00
Slava Pestov 084c3cac3d io.launcher.windows.nt: make tests more robust 2009-09-04 21:59:11 -05:00
Guillaume Nargeot ffed0d7eba Solution to Project Euler problem 85 2009-09-05 10:59:04 +09:00
Joe Groff 8b9d0fb834 Merge branch 'ppc-float-compare' of git://factorcode.org/git/factor into ppc-float-compare 2009-09-04 12:31:36 -05:00
Joe Groff f93f96150e Merge branch 'master' of git://factorcode.org/git/factor 2009-09-04 12:30:48 -05:00
Joe Groff d47d747ebc i had comisd/ucomisd backwards on x86 2009-09-04 12:30:30 -05:00
Slava Pestov 0238fce941 ui.backend.x11: fix set-fullscreen 2009-09-04 12:35:45 -04:00
Slava Pestov 382e1d5b0e fix some typos in cpu.ppc 2009-09-04 11:18:41 -05:00
Joe Groff ee38639c97 Merge branch 'master' into ppc-float-compare 2009-09-04 11:00:18 -05:00
Slava Pestov 92d5d8f0c5 Merge branch 'master' of git://factorcode.org/git/factor into ppc-float-compare 2009-09-04 10:58:50 -05:00
Joe Groff 638e351131 update powerpc compiler to generate correct float comparisons 2009-09-04 10:51:12 -05:00
Philipp Brüschweiler 8738b3d219 sequences.product: product-each and product-map
misc/vim.syntax.fgen: small fix for quotation highlighting
2009-09-04 16:40:47 +02:00
Slava Pestov f0d5f99d23 io.backend.windows: fix for deployment 2009-09-04 09:27:46 -05:00
Slava Pestov b238a1719f io.backend.windows.nt.privileges: fix make-token-privileges 2009-09-04 09:08:04 -05:00
Slava Pestov f86073733c opengl.glu: fix missing library error on Windows and Linux 2009-09-04 07:57:48 -05:00
Slava Pestov fc1bf07a1f cpu.ppc: fix typo 2009-09-04 06:41:33 -05:00
Slava Pestov c9e04cd8f5 match: cleanup 2009-09-04 06:11:28 -05:00
Slava Pestov 223b907219 Fix sockets on Windows, and re-organize things so that windows.winsock doesn't get loaded by default 2009-09-04 05:02:33 -05:00
Slava Pestov 742db564f3 io.sockets: fix to work in deployed apps 2009-09-04 03:57:57 -05:00
Slava Pestov 7c04b912bb compiler.cfg.value-numbering: update tests for Joe's condition code changes 2009-09-04 03:11:56 -05:00
Slava Pestov 32ecb5d49b benchmark.nbody-simd: use map-reduce instead of reduce 2009-09-04 03:01:41 -05:00
Slava Pestov 4a2823b2eb compiler: tweak generated code 2009-09-04 03:01:18 -05:00
Slava Pestov e11d1e37f5 math.vectors.simd: allow punning SIMD vectors between types 2009-09-04 02:35:58 -05:00
Slava Pestov 6494e7a53b math.vectors.simd: slightly faster 'sum' on 256-bit vectors: add the two components then do horizontal add, instead of doing a horizontal add on each one and adding the results 2009-09-04 02:23:25 -05:00
Slava Pestov c92e54b560 compiler.cfg.intrinsics: fix type detection on the alien type for vector accessors 2009-09-04 02:22:54 -05:00
Slava Pestov 1fc809b643 math.vectors.simd: docs 2009-09-04 01:22:18 -05:00
Slava Pestov 6b5e40b2fc functors: support private words with DEFINES-PRIVATE; use this to make some words generated by math.vectors.simd.functor private 2009-09-04 01:21:59 -05:00
Joe Groff 366946348c make struct-mirror an instance of assoc 2009-09-03 22:31:55 -05:00
Slava Pestov 55c449c6e2 math.vectors.simd: define fallbacks for all vector constructors so that code can still work even if SIMD is not available 2009-09-03 21:37:55 -05:00
Slava Pestov e36a0d7ef4 compiler: clean up code generation for alien boxing/unboxing a bit 2009-09-03 21:22:43 -05:00
Joe Groff c480bec303 convert comparison branch code in compiler to use locals 2009-09-03 21:19:39 -05:00
Slava Pestov 85ae7f531b benchmark.nbody-simd: new benchmark; a version of benchmark.nbody that uses math.vectors.simd:double-4 instead of double-arrays 2009-09-03 20:59:49 -05:00