Commit Graph

6929 Commits (fd6f370119b336a046b4d974206f603d178a768c)

Author SHA1 Message Date
Joe Groff fd6f370119 typo in convert-to-fill-vector? 2009-10-07 12:53:10 -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
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
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
Joe Groff 879fe9a665 fix x86 %unpack-vector insns 2009-10-06 20:38:51 -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
Joe Groff 4456b1f3f9 assert that vconvert's inputs are of the right type 2009-10-06 17:42:36 -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
Joe Groff fb8eeb6065 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 22:34:41 -05:00
Joe Groff 529c444e32 add insns for vector pack, unpack, integer>float, and float>integer 2009-10-05 22:34:14 -05:00
Doug Coleman f800285327 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 18:34:58 -05:00
Doug Coleman 3460383cda fix indentation, revert [ ] [ ] bi -> [ ] keep when second quotation consumes more than one object 2009-10-05 18:33:24 -05:00
Slava Pestov 55fe25ebd1 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 18:22:09 -05:00
Slava Pestov 5b40fc6533 compiler.cfg.linear-scan: fix unit test 2009-10-05 18:21:58 -05:00
Joe Groff b1d52517c5 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 17:56:43 -05:00
Joe Groff fbe810fc3b rename SIMD vmerge and kids to (vmerge), make new vmerge more generally useful 2009-10-05 17:55:39 -05:00
Doug Coleman 81e342e755 clarify behavior of seekable/nonseekable limited streams 2009-10-05 16:16:59 -05:00
Doug Coleman 317c3f82d5 fix using 2009-10-05 13:18:45 -05:00
Doug Coleman 23288da694 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 12:34:56 -05:00
Doug Coleman 88e2ba8f31 define tell-handle on windows nt 2009-10-05 12:34:34 -05:00
Joe Groff cf4df7eb66 typo in vmerge-head, vmerge-tail docs 2009-10-05 11:14:14 -05:00
Slava Pestov b4e36608da 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
Doug Coleman 474e02020c use 1&& in a few places, clean up some more ui code 2009-10-04 17:50:34 -05:00
Doug Coleman a273cbb68e fully clean up gadgets.editors 2009-10-04 17:23:23 -05:00
Doug Coleman 41e6c8f3be cleaning up some ui code 2009-10-04 16:43:00 -05:00
Doug Coleman 1ca81c3130 fix typo in unix.statfs.freebsd 2009-10-04 15:31:19 -05:00
Joe Groff 7ed8f00b0f 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 626954a071 fix v? software fallback 2009-10-03 22:37:45 -05:00
Joe Groff 0c9c3d4859 add %merge-vector-head and %merge-vector-tail instructions to back vmerge 2009-10-03 21:48:53 -05:00
Joe Groff 05c722ea0c link vmerge into math.vectors docs 2009-10-03 21:48:16 -05:00
Joe Groff 26ddc44dc0 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-03 21:02:21 -05:00
Joe Groff d3c51baf91 software version of vmerge word (to be backed by UNPCK instructions on x86 and VMRG instructions on ppc) 2009-10-03 20:22:37 -05:00
Doug Coleman 84fd08d86b update docs for stream-tell 2009-10-03 19:39:06 -05:00
Doug Coleman 770405359e better tests for stream-tell 2009-10-03 19:33:54 -05:00
Doug Coleman ed1636a0c0 fix stream-tell 2009-10-03 19:26:59 -05:00
Doug Coleman aa37a57b9a take the buffer position into account on buffered-port stream-tell 2009-10-03 19:15:56 -05:00
Doug Coleman 00efd780c9 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-03 18:27:38 -05:00
Doug Coleman 098fd0248a support limited-streams correctly for seekable streams 2009-10-03 18:27:09 -05:00
Joe Groff 9e61c433f1 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-03 11:48:56 -05:00
Joe Groff 426e560a6b sprinkle some NaNs onto math.vectors.simd fuzz tests to improve flavor 2009-10-03 11:47:02 -05:00
Joe Groff 04bb03bb61 add intrinsics for v<=, v<, v=, v>, v>=, vunordered? 2009-10-03 11:29:34 -05:00
Slava Pestov 8a7e9740c9 math.floats.env: disable trap tests on OpenBSD i386 for now, until The World's Most Secure Operating System fixes a local DoS exploit 2009-10-03 10:59:54 -05:00
Joe Groff 74f15cfe8c Merge branch 'master' of git://factorcode.org/git/factor 2009-10-03 10:02:26 -05:00