Commit Graph

18011 Commits (eb0a699d024e928c7af0f4f12ac91ade7a91f3ed)

Author SHA1 Message Date
Doug Coleman 3d2237c2b8 inline a word in sfmt 2009-10-07 15:27:40 -05:00
Doug Coleman 11be7d9ff6 add benchmark.mt for comparison to sfmt 2009-10-07 15:27:10 -05:00
Joe Groff dd691a61e8 break vector compare intrinsics into %compare, %or, and %not instructions that map directly to cpu instructions 2009-10-07 15:27:03 -05:00
Doug Coleman fbdfbe2fa4 correctly correct the SFMT period 2009-10-07 15:06:59 -05:00
Joe Groff f2c9eb79e2 decompose %unpack-vector-head/tail into %compare-vector/%merge-vector-head/tail or %tail>head-vector/%unpack-vector-head insns when there isn't an actual unpack insn; get rid of fake x86 implementations 2009-10-07 14:09:46 -05:00
Slava Pestov 23e133e383 vm: make a new old_space type to encapsulate a few things, split up generations array somewhat 2009-10-07 14:05:09 -05:00
Doug Coleman 211eff745a correct the output of random.sfmt 2009-10-07 13:42:37 -05:00
Joe Groff fd6f370119 typo in convert-to-fill-vector? 2009-10-07 12:53:10 -05:00
Doug Coleman 901f87e752 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 12:47:44 -05:00
Joe Groff 47cfb7d3a5 fix ##load-constant/##scalar>vector folding when constant is a fixnum 2009-10-07 12:46:08 -05:00
Joe Groff ea051063a4 convert all-ones vector ##load-reference/##load-constant to a ##fill-vector insn 2009-10-07 12:35:21 -05:00
Doug Coleman 59c1f3f73e Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 12:33:44 -05:00
Joe Groff 4d5f727a63 sse doesn't actually have an unsigned->unsigned pack instruction 2009-10-07 12:00:31 -05:00
Slava Pestov 651a7fb6fa vm: replace generations array with individual instance variables referencing zone objects 2009-10-07 11:59:59 -05:00
Joe Groff 34def34481 don't generate a ##not-vector instruction if the cpu doesn't have one; instead, fall back to a ##fill-vector/##xor-vector combo. get rid of pretend %not-vector in cpu.x86 2009-10-07 11:59:36 -05:00
Joe Groff 8873b7939a fix math.vectors.simd test load failure 2009-10-07 11:56:57 -05:00
Doug Coleman bfb2493d68 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 11:52:34 -05:00
Slava Pestov 3914b0264b vm: rename a few things 2009-10-07 08:40:28 -05:00
Slava Pestov 5c774d8c84 vm: more code cleanups 2009-10-07 08:33:54 -05:00
Jon Harper 62ba9bc7de Euler 051 : added unit test, integration, author 2009-10-07 21:28:36 +09:00
Joe Groff 4d4da7ac23 break vector conversion intrinsics off to a math.vectors.conversion.backend vocab so the whole conversion vocab doesn't get sucked in by the compiler 2009-10-06 21:28:33 -05:00
Slava Pestov 1f76a64e91 vm: more refactoring 2009-10-06 20:45:47 -05:00
Joe Groff 879fe9a665 fix x86 %unpack-vector insns 2009-10-06 20:38:51 -05:00
Doug Coleman 109f8cf043 use iota in crypto.xor 2009-10-06 20:29:43 -05:00
Doug Coleman 535fed0035 add a test for compression.inflate 2009-10-06 20:28:43 -05:00
Doug Coleman 091d22a437 cleaning up huffman and inflate code 2009-10-06 20:22:53 -05:00
Joe Groff a319dde8b5 add some math.vectors.conversion tests to cover some failing cases 2009-10-06 20:21:08 -05:00
Joe Groff 785f8620fd glue conversion intrinsics to instructions 2009-10-06 20:13:38 -05:00
Joe Groff da4cf61014 oops...PACKUSDW is sse4 only 2009-10-06 20:09:50 -05:00
Slava Pestov 6789a40fc6 vm: refactor forwarding pointer logic 2009-10-06 19:15:54 -05:00
Joe Groff 4456b1f3f9 assert that vconvert's inputs are of the right type 2009-10-06 17:42:36 -05:00
Joe Groff f0c161f725 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-06 16:53:25 -05:00
Joe Groff 166ea6bc10 math.vectors.conversion vocab with primitive words (to be mapped to intrinsics soon) and a super all-in-one "vconvert" macro wrapping the whole thing 2009-10-06 14:37:16 -05:00
Joe Groff 882f40d88e %float>integer-vector should truncate 2009-10-06 13:57:54 -05:00
Joe Groff f7820f9b51 give cords a shot of red bull 2009-10-06 11:53:24 -05:00
Slava Pestov 93d49428fb vm: simplify some code 2009-10-06 08:55:42 -05:00
Slava Pestov 2311891910 vm: faster zone::contains_p() 2009-10-06 06:47:56 -05:00
Slava Pestov 8fcd6a3789 vm: simplify logic 2009-10-06 06:36:43 -05:00
Slava Pestov 697e2342d0 vm: put code block owner directly in the header, instead of as the first entry in the literal table. Reduces x86-64 image size by ~700kb, also eliminates separate 'strip' set of staging images from deploy tool 2009-10-06 06:25:07 -05:00
Slava Pestov 16c3251072 vm: free up a cell in compiled code block headers 2009-10-06 05:52:45 -05:00
Slava Pestov 2ca0044dd0 vm: tweak 2009-10-06 04:57:44 -05:00
Slava Pestov ed1ee19ce1 vm: add a remembered set for code blocks which may reference young literals. Improves loading time 2009-10-06 04:36:34 -05:00
Slava Pestov b50d3f3fb0 vm: number of generations is not configurable anymore, split up begin_gc() and end_gc() into collect_{nursery,aging,aging_again,tenured}() 2009-10-06 02:39:12 -05:00
Slava Pestov d10e27149c vm: cleanup 2009-10-06 01:42:17 -05:00
Slava Pestov e2fcec6a99 Merge branch 'master' into new_gc 2009-10-06 01:31:50 -05:00
Slava Pestov 884ac79423 vm: minor tweaks which reduce image size by ~300kb 2009-10-06 01:31:39 -05:00
Doug Coleman 8dff4776c6 handle ushort-component pngs, throw errors on adam7 interlaced pngs for now 2009-10-06 00:33:29 -05:00
Slava Pestov 47c735d81d vm: more GC refactoring 2009-10-06 00:13:54 -05:00
Doug Coleman 7c01c09f21 reformatting compression.inflate code 2009-10-05 23:19:42 -05:00
Doug Coleman a182b1835b minor cleanup of compression.inflate 2009-10-05 22:34:43 -05:00