Commit Graph

17969 Commits (baf754236fca75382bc57691d7284826014acdfa)

Author SHA1 Message Date
Daniel Ehrenberg baf754236f Merge branch 'master' of git://factorcode.org/git/factor into bitfields 2009-10-08 14:19:20 -05:00
Daniel Ehrenberg 891b7c9804 Cleaning up classes.struct.bit-accessors code 2009-10-08 14:01:43 -05:00
Daniel Ehrenberg 8841969ca1 Refactoring bitfield accessors to eliminate code duplication 2009-10-08 13:45:52 -05:00
Daniel Ehrenberg db927ff0ad Making struct bitfield writers fast 2009-10-08 13:10:51 -05:00
Joe Groff b150deeb11 refactor so that generalizations reuses the stub versions of nsequence, firstn, and n*quot needed by memoize 2009-10-08 12:55:52 -05:00
Joe Groff 63842c7dc9 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-08 12:39:02 -05:00
Doug Coleman 1d320f4270 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-08 12:30:54 -05:00
Doug Coleman 9a09c3ced8 fix using 2009-10-08 12:30:43 -05:00
Joe Groff 27c5ab9cc3 shatter the four-argument barrier in memoize 2009-10-08 12:24:15 -05:00
Joe Groff 1bb8a99368 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-08 11:37:12 -05:00
Joe Groff 531cfa1c33 refactor math.vectors.conversion 2009-10-08 11:35:40 -05:00
Joe Groff 5a2a99128b add an "nspin" generalization 2009-10-08 11:34:20 -05:00
Doug Coleman f321243bb3 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-08 05:03:53 -05:00
Doug Coleman 09e8484777 fix using 2009-10-08 05:03:40 -05:00
Slava Pestov 9357ee378e cpu.architecture: move dummy -reps words here, from cpu.ppc 2009-10-08 03:48:03 -05:00
Daniel Ehrenberg 2db25b937e Doing constant folding on ##neg and ##not in value numbering 2009-10-08 01:57:54 -05:00
Doug Coleman fcc53d174c move game-* to game.* and update all usages 2009-10-08 01:42:54 -05:00
Daniel Ehrenberg eb31589092 Adding identity to propagation to remove some redundant bitands 2009-10-08 00:59:15 -05:00
Daniel Ehrenberg 3179dacb3e Making struct bitfield readers fast 2009-10-07 23:51:18 -05:00
Slava Pestov 1f8495a62f vm/os-netbsd.cpp: fix double-free error 2009-10-07 21:49:04 -05:00
Daniel Ehrenberg 8ba295d8a8 Merge branch 'master' of git://factorcode.org/git/factor into bitfields 2009-10-07 21:42:37 -05:00
Daniel Ehrenberg 4e1aa8f638 Modifying the struct prettyprinter to display bits 2009-10-07 21:42:15 -05:00
Doug Coleman 21c9da7c5f revert loading sfmt by default 2009-10-07 21:41:12 -05:00
Daniel Ehrenberg 1a2c137e41 Refactoring bitfields to not use number tower 2009-10-07 21:35:12 -05:00
Doug Coleman 429dd933c7 fix using 2009-10-07 21:07:56 -05:00
Doug Coleman 535fb5d45b add a lagged-fibonacci generator to extra/random 2009-10-07 21:06:44 -05:00
Doug Coleman 83bc4907d4 load random.sfmt by default, and use it as default random-generator if sse2 is present 2009-10-07 21:05:51 -05:00
Doug Coleman e758d4061a Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 20:53:04 -05:00
Doug Coleman 8ad1bab8ad fix seed-random for cmwc 2009-10-07 20:25:00 -05:00
Doug Coleman 357bd0b3ec fix seed-random for cmwc 2009-10-07 20:21:09 -05:00
Doug Coleman 0fd2027900 add cmwc rng to extra 2009-10-07 20:06:39 -05:00
Joe Groff 3a1bb22618 delete malloc-file-contents 'cause it sucks and nobody likes it 2009-10-07 19:30:06 -05:00
Doug Coleman 3ff8db48f6 speed up mt benchmarks considerably by doing less iterations 2009-10-07 18:48:23 -05:00
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
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
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
Daniel Ehrenberg e0408b9b10 Adding bit fields to STRUCT: 2009-10-07 01:43:32 -05: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