Commit Graph

17918 Commits (43b51ef2ebf970df7f6c1915253c1097c7f81346)

Author SHA1 Message Date
Joe Groff 43b51ef2eb 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
Joe Groff 0dfeb74176 typo in convert-to-fill-vector? 2009-10-07 12:53:10 -05:00
Joe Groff 2d79729193 fix ##load-constant/##scalar>vector folding when constant is a fixnum 2009-10-07 12:46:08 -05:00
Joe Groff aee85401af convert all-ones vector ##load-reference/##load-constant to a ##fill-vector insn 2009-10-07 12:35:21 -05:00
Joe Groff 5152c3b06d sse doesn't actually have an unsigned->unsigned pack instruction 2009-10-07 12:00:31 -05:00
Joe Groff a13e75f4f4 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 867cc3e310 fix math.vectors.simd test load failure 2009-10-07 11:56:57 -05:00
Joe Groff 9500976d29 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
Joe Groff 444624e79f fix x86 %unpack-vector insns 2009-10-06 20:38:51 -05:00
Joe Groff 9c823b877b add some math.vectors.conversion tests to cover some failing cases 2009-10-06 20:21:08 -05:00
Joe Groff 96cb1d5038 glue conversion intrinsics to instructions 2009-10-06 20:13:38 -05:00
Joe Groff 2edccca0bb oops...PACKUSDW is sse4 only 2009-10-06 20:09:50 -05:00
Joe Groff f103018580 assert that vconvert's inputs are of the right type 2009-10-06 17:42:36 -05:00
Joe Groff 58af97c05c Merge branch 'master' of git://factorcode.org/git/factor 2009-10-06 16:53:25 -05:00
Joe Groff 0cbae3362f 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 425ea05529 %float>integer-vector should truncate 2009-10-06 13:57:54 -05:00
Joe Groff 2ccda822b4 give cords a shot of red bull 2009-10-06 11:53:24 -05:00
Slava Pestov 2058b31b5b vm: minor tweaks which reduce image size by ~300kb 2009-10-06 01:31:39 -05:00
Joe Groff c0423d2f3f Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 22:34:41 -05:00
Joe Groff 84ecb1266d add insns for vector pack, unpack, integer>float, and float>integer 2009-10-05 22:34:14 -05:00
Doug Coleman cf385baa69 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 18:34:58 -05:00
Doug Coleman 05dce6c755 fix indentation, revert [ ] [ ] bi -> [ ] keep when second quotation consumes more than one object 2009-10-05 18:33:24 -05:00
Slava Pestov 42f60d457f Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-10-05 18:29:31 -05:00
Slava Pestov a6953ec9ee Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 18:22:09 -05:00
Slava Pestov ee7cfeba7b compiler.cfg.linear-scan: fix unit test 2009-10-05 18:21:58 -05:00
Joe Groff 12feea1988 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 17:56:43 -05:00
Joe Groff 3e44e0bb02 rename SIMD vmerge and kids to (vmerge), make new vmerge more generally useful 2009-10-05 17:55:39 -05:00
Doug Coleman 38072ffe51 clarify behavior of seekable/nonseekable limited streams 2009-10-05 16:16:59 -05:00
Doug Coleman bd31538cd4 fix using 2009-10-05 13:18:45 -05:00
Doug Coleman a802da6cbe Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 12:34:56 -05:00
Doug Coleman ded9e6eb56 define tell-handle on windows nt 2009-10-05 12:34:34 -05:00
Joe Groff 2d13aa8e6f typo in vmerge-head, vmerge-tail docs 2009-10-05 11:14:14 -05:00
Slava Pestov 8f012f0f96 math.matrices.simd: add an inline declaration 2009-10-05 05:29:30 -05:00
Slava Pestov 931107397c compiler.cfg: remove _gc instruction, it doesn't need to exist, and change GC checks to ensure that the right amount of space is available instead of blindly checking for 1Kb 2009-10-05 05:27:49 -05:00
Slava Pestov d6bd25d8e4 vm: fix VM constructor 2009-10-05 04:31:35 -05:00
Slava Pestov 5ad19c0b10 vm: remove debug message 2009-10-05 03:28:36 -05:00
Slava Pestov 83d21310f2 Change C++ exception usage back into a longjmp() due to GCC bugs 2009-10-05 03:27:28 -05:00
Joe Groff 3406380d44 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-04 20:30:03 -05:00
Doug Coleman 1f0f72b4c0 use 1&& in a few places, clean up some more ui code 2009-10-04 17:50:34 -05:00
Doug Coleman 02687d92a6 fully clean up gadgets.editors 2009-10-04 17:23:23 -05:00
Doug Coleman 4542a86ed2 cleaning up some ui code 2009-10-04 16:43:00 -05:00
Joe Groff 6e5af1fe29 clean up frustum-matrix4 2009-10-04 16:29:03 -05:00
Joe Groff 6379e30ab0 cleaner implementation of translation-matrix4 2009-10-04 15:37:22 -05:00
Doug Coleman 8be2f764a3 fix typo in unix.statfs.freebsd 2009-10-04 15:31:19 -05:00
Doug Coleman ec1e48076e let's work with cygwin here..._ftelli64 -> ftello64 on cygwin. fine i guess 2009-10-04 06:10:57 -05:00
Joe Groff f8a4469c5f go back to using random instead of uniform-random-float in math.vectors.simd tests because the software and SIMD implementations of norm and v. can sporadically diverge when their different operation orders lead to cancellation of catastrophically small inputs 2009-10-03 22:57:04 -05:00
Joe Groff f565df3a85 rice out transpose-matrix4 and diagonal-matrix4 using vmerge 2009-10-03 22:48:41 -05:00
Joe Groff c5993dbb39 fix v? software fallback 2009-10-03 22:37:45 -05:00
Joe Groff dca9d3e535 add %merge-vector-head and %merge-vector-tail instructions to back vmerge 2009-10-03 21:48:53 -05:00
Joe Groff 398b460263 link vmerge into math.vectors docs 2009-10-03 21:48:16 -05:00