Commit Graph

7151 Commits (51f652553646b187987131b3607e4291dd7972c2)

Author SHA1 Message Date
Slava Pestov b427eb3f9a tools.deploy: increase terrain size tolerance, decrease windows size tolerance 2009-10-19 06:11:00 -05:00
Slava Pestov b6a0324be6 peg: fix unit test failures 2009-10-19 06:01:20 -05:00
Slava Pestov 2b868bd1c3 random.sfmt: make it endian-agnostic 2009-10-19 05:22:43 -05:00
Slava Pestov b2592e01c1 compiler: fix typo in intrinsics tests 2009-10-19 05:16:04 -05:00
Slava Pestov 6a2434b56c compiler: fix low-level-ir test on PowerPC 2009-10-19 05:03:02 -05:00
Slava Pestov 2d5cdd19ec compiler: on PPC, ANDI, ORI and XORI instructions take an unsigned 16-bit immediate, unlike ADDI, SUBI and MULLI which take a signed 16-bit immediate. The code generator was not aware of this, and so for example '[ >fixnum -16 bitand ]' would generate incorrect code. Split up small-enough? hook into immediate-arithmetic? and immediate-bitwise? and update value numbering to be aware of this. Fixes classes.struct bitfields test failure 2009-10-19 04:58:29 -05:00
Slava Pestov 102af9badb specialized-arrays, specialized-vectors: fix potential problem if two vocabularies define different C types with the same name 2009-10-19 04:41:53 -05:00
Slava Pestov 191e3cf2fb peg.ebnf: fix 2009-10-19 04:05:26 -05:00
Slava Pestov bf5d0de840 peg.ebnf: turn $unchecked-examples into $examples 2009-10-19 03:44:50 -05:00
Slava Pestov e48d805be8 Merge branch 'ebnf' of git://double.co.nz/git/factor 2009-10-19 01:43:45 -05:00
Chris Double 10b8976379 peg.ebnf doc fixes to appease help.lint 2009-10-19 18:26:19 +13:00
Chris Double 06a70fd3c6 Tweak what EBNF words are private 2009-10-19 18:14:13 +13:00
Chris Double 040a4e732a Basic peg.ebnf docs 2009-10-19 18:12:24 +13:00
Joe Groff 65acc78042 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-18 21:25:27 -05:00
Joe Groff fca550d567 math.vectors.conversion docs 2009-10-18 21:25:09 -05:00
Joe Groff 2a156795c5 update vshuffle docs 2009-10-18 16:34:44 -05:00
Slava Pestov b5455bd9df tools.deploy.test: cheat on windows until we have class stripping 2009-10-18 15:24:09 -05:00
Slava Pestov 86c16eeb6a cpu.x86.32: fix callbacks on platforms where stack is not aligned 2009-10-17 21:20:08 -05:00
Joe Groff 0653bae7ec scuttle bogus math.vectors.simd test 2009-10-17 18:47:31 -05:00
Joe Groff b9d2c068a4 fix sporadic "fall-through in cond" failure in float math.vectors.simd tests 2009-10-17 16:54:51 -05:00
Joe Groff 11e89b016d moved "typed" to basis 2009-10-17 11:21:43 -05:00
Joe Groff 421b61f0e8 fix type propagation information put on non-SIMD specializations of vany?, vall?, vnone? 2009-10-17 11:21:08 -05:00
Joe Groff 7f001ee312 make hlshift/hrshift simd tests endian agnostic 2009-10-17 00:34:35 -05:00
Joe Groff 0ce6b3a12a Merge branch 'master' of git://factorcode.org/git/factor 2009-10-17 00:14:14 -05:00
Joe Groff a7fcaf027c use FRSP to convert double to single on PPC 2009-10-17 00:13:50 -05:00
Joe Groff ac51237853 add unit test that doubles stored in single-precision float arrays round to nearest 2009-10-17 00:07:08 -05:00
Slava Pestov 63ca8ee5cc tools.deploy.shaker: strip out typed word props 2009-10-16 23:59:45 -05:00
Slava Pestov 5afce2cc9e alien.c-types: c-type no longer calls parser at runtime, tools.deploy.shaker now strips out runtime specialized array code generation 2009-10-16 23:50:17 -05:00
Slava Pestov 4ed91ff5ee syntax: fix docs for : 2009-10-16 23:45:10 -05:00
Slava Pestov fb79aec97e typed: fix deployment 2009-10-16 21:22:01 -05:00
Slava Pestov b762238f63 cpu.x86.32: fix magic stack frame handling 2009-10-16 21:07:09 -05:00
Doug Coleman 739f61bc56 fix using 2009-10-16 19:56:48 -05:00
Doug Coleman b320aae399 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-16 16:39:57 -05:00
Joe Groff c8eddf89e6 hurr 2009-10-16 16:39:33 -05:00
Doug Coleman 1d9c62ae7c Merge branch 'master' of git://factorcode.org/git/factor 2009-10-16 16:39:19 -05:00
Joe Groff dd6308ead5 improve error reporting of failing simd fallbacks 2009-10-16 16:34:26 -05:00
Joe Groff 21b289e836 tweak parse-c-type so data-map can parse non-c-types 2009-10-16 16:10:09 -05:00
Joe Groff 448ef2f1d5 fix unsigned vector unpack 2009-10-16 14:25:33 -05:00
Joe Groff 4809253c48 make simd objects inspectable 2009-10-16 14:22:20 -05:00
Doug Coleman 7d43abe49b Merge branch 'master' of git://factorcode.org/git/factor 2009-10-16 12:51:25 -05:00
Joe Groff 3d95494c1e Merge branch 'master' of http://factorcode.org/git/factor 2009-10-16 12:28:29 -05:00
Joe Groff a37bc4828f change parse-c-type so that c-type[symbolic-constant] parses to { c-type symbolic-constant } 2009-10-16 12:27:16 -05:00
Slava Pestov 8aa4640094 cpu.ppc.bootstrap: fix callback-stub relocation 2009-10-16 12:06:40 -05:00
Slava Pestov 107c96f642 vm: code heap compaction at runtime using compact-gc primitive 2009-10-16 11:39:35 -05:00
Doug Coleman 7e2fdfe1ec fix using for io.pathnames changes 2009-10-16 05:48:51 -05:00
Slava Pestov 982a8fa411 cpu.x86.64: fix typo 2009-10-15 23:29:56 -05:00
Slava Pestov 7f3efb3b5d Merge branch 'invaders' of git://double.co.nz/git/factor 2009-10-15 23:12:40 -05:00
Slava Pestov f212549a5f Merge branch 'master' of git://factorcode.org/git/factor 2009-10-15 22:12:00 -05:00
Slava Pestov 36d1cfd3e5 alien.libraries: fix dlsym docs 2009-10-15 22:08:16 -05:00
Slava Pestov 6641c530d5 cpu.x86: eliminate 2 instructions form write barrier on x86-32 2009-10-15 22:07:03 -05:00
Doug Coleman 42751cb148 fix io.directories.search on windows 2009-10-15 22:00:46 -05:00
Doug Coleman 58557e41bf add psapi stub to windows.nt 2009-10-15 21:43:19 -05:00
Joe Groff 7b6c8ee5f6 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-15 15:44:17 -05:00
Joe Groff 4ca7afa489 update nkeep docs 2009-10-15 15:44:07 -05:00
Doug Coleman 211dce8cd7 add a move-file-unique word to move a file into a directory without name clashes 2009-10-15 15:29:24 -05:00
Doug Coleman 2a893c9a2c Merge branch 'master' of git://factorcode.org/git/factor 2009-10-15 15:29:22 -05:00
Joe Groff d413e14461 fix nkeep so it takes a nonliteral quot 2009-10-15 15:04:30 -05:00
Doug Coleman baa3e74864 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-15 12:23:50 -05:00
Slava Pestov d48c72a274 compiler.cfg: fix unit tests 2009-10-15 06:01:46 -05:00
Slava Pestov 15e4f08d78 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-15 05:43:41 -05:00
Slava Pestov d3ec94b5c9 cpu.x86: just a cleanup 2009-10-15 05:43:28 -05:00
Slava Pestov 70c69fbd67 cpu.ppc: fix %write-barrier 2009-10-15 05:13:47 -05:00
Slava Pestov 13ca35ba79 cpu.ppc: fix typo 2009-10-15 05:01:20 -05:00
Slava Pestov a506754739 cpu.ppc: updates for write barrier and allocation changes (untested) 2009-10-15 04:54:16 -05:00
Slava Pestov 2efc7d1b9e cpu.ppc.bootstrap: update for JIT relocation changes 2009-10-15 04:47:54 -05:00
Slava Pestov 7d97c19227 compiler: tweak ##write-barrier-imm 2009-10-15 02:40:23 -05:00
Doug Coleman 0dc734195c fix enumerating fully qualified paths by calling normalize-path first 2009-10-15 00:12:11 -05:00
Chris Double 77216b9d68 Fix cpu.8080 bitrot 2009-10-15 17:33:44 +13:00
Slava Pestov 51e0d5c466 Merge branch 'new_gc' 2009-10-14 19:51:06 -05:00
Slava Pestov 38d120f92e vm: rt-vm relocation now supports accessing a field directly 2009-10-14 19:24:23 -05:00
Joe Groff d2c1f7c9c1 mnmap generalized m-to-n sequence combinator 2009-10-14 16:50:30 -05:00
Slava Pestov 6343f0d722 Merge branch 'master' into new_gc 2009-10-14 05:34:56 -05:00
Slava Pestov 1ce39963fd Working on adding support for the new write barrier to optimized code 2009-10-14 02:06:01 -05:00
Joe Groff d9fa247b84 nmap-as and nmap combinators 2009-10-14 00:38:51 -05:00
Joe Groff a0e27320df neach generalization 2009-10-14 00:09:57 -05:00
Doug Coleman e458dad848 Merge branch 'master' into klazuka 2009-10-13 15:08:21 -05:00
Keith Lazuka 0c5f2be355 html.streams: fixed broken unit-test 2009-10-13 08:54:37 -04:00
Slava Pestov 48f4799505 math.vectors.simd: fix typos in docs reported by Ed Swartz 2009-10-13 05:13:22 -05:00
Doug Coleman 355fec1e60 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-12 18:41:45 -05:00
Doug Coleman 9548b7bdd8 fix a bug when printing calendars, add a unit test 2009-10-12 16:55:52 -05:00
Joe Groff 4e4be60884 use TEST reg, reg to compare integer equality with zero 2009-10-10 13:13:53 -05:00
Joe Groff 588899a1b3 fix fallbacks for vall?, vany?, vnone? 2009-10-10 13:01:13 -05:00
Joe Groff 97ab9dc4ab only emit ##alien-vector/##set-alien-vector insns if the rep is available 2009-10-10 12:53:10 -05:00
Joe Groff 1407804393 change the simd-struct tests to cover integer vector slots 2009-10-10 12:23:25 -05:00
Joe Groff a5898dffde don't use MOVSLDUP/MOVSHDUP to do specialized shuffles unless sse3 is available 2009-10-10 12:00:47 -05:00
Joe Groff d9002127fa have vshuffle accept simd-128 variable byte shuffles 2009-10-10 11:30:11 -05:00
Joe Groff 1fa6f32790 fix x86 uchar %scalar>integer 2009-10-10 10:39:23 -05:00
Joe Groff 6816adfeb3 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-10 09:17:01 -05:00
Slava Pestov 366c341c5f compiler.tree.propagation.branches: fix live-branches computation for #dispatch nodes 2009-10-10 00:23:50 -05:00
Doug Coleman 0f5c3c5d3f Merge branch 'help2' of git://github.com/klazuka/factor 2009-10-09 23:36:50 -05:00
Joe Groff 3bc097f6ff rename ##shuffle-vector to ##shuffle-vector-imm, and add a new ##shuffle-vector for dynamic shuffles. have vshuffle use ##shuffle-vector to do word and byte shuffles on x86 2009-10-09 21:26:27 -05:00
Keith Lazuka 5429b2132a images.normalization: reorder-components should fail if component-order is not a representation of its layout 2009-10-09 15:58:36 -04:00
Keith Lazuka bbb742509a images.bitmap: fixed unit-test dependency 2009-10-09 15:58:36 -04:00
Keith Lazuka 17c1713ebb images.testing: added documentation 2009-10-09 15:58:36 -04:00
Keith Lazuka dc8fe077c1 images.png: added PngSuite test image files 2009-10-09 15:58:35 -04:00
Keith Lazuka f56320b142 images.testing: switched from PAM reference image to Factor serialized image (.fig) 2009-10-09 15:58:35 -04:00
Keith Lazuka 3a13c59da2 images.bitmap: respect upside-down? flag when encoding 2009-10-09 15:58:35 -04:00
Keith Lazuka 6ce12ed342 images.bitmap: now conforms to image encode protocol. images.normalization: added several component-order shuffle words 2009-10-09 15:58:34 -04:00
Joe Groff 471c86a110 generate better code for vabs when instruction isn't available instead of using software fallback (-0.0 andn for floats, x > 0 ? x : -x for signed ints, nop for unsigned ints) 2009-10-09 14:24:55 -05:00
Joe Groff 01f5d392be implement vneg as an intrinsic in terms of load -0, subtract 2009-10-09 13:16:39 -05:00