Commit Graph

17874 Commits (8be2f764a342eba336764eb48e9f15ceeac35067)

Author SHA1 Message Date
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
Joe Groff 9282000cd4 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-03 21:02:21 -05:00
Joe Groff a233acf1b2 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 2d6d9dd46c update docs for stream-tell 2009-10-03 19:39:06 -05:00
Doug Coleman 0db130d05a better tests for stream-tell 2009-10-03 19:33:54 -05:00
Doug Coleman bcbe7a2e97 fix stream-tell 2009-10-03 19:26:59 -05:00
Doug Coleman eab8dc195d take the buffer position into account on buffered-port stream-tell 2009-10-03 19:15:56 -05:00
Doug Coleman 60145e983e add unit test for c stream-tell 2009-10-03 19:07:16 -05:00
Doug Coleman 8907addf3b Merge branch 'master' of git://factorcode.org/git/factor 2009-10-03 18:27:38 -05:00
Doug Coleman 9a777b0969 support limited-streams correctly for seekable streams 2009-10-03 18:27:09 -05:00
Doug Coleman 6d451ac9d8 add ftell primitive 2009-10-03 18:20:35 -05:00
Joe Groff 6c79f8e1e5 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-03 11:48:56 -05:00
Joe Groff 16cccffb71 sprinkle some NaNs onto math.vectors.simd fuzz tests to improve flavor 2009-10-03 11:47:02 -05:00
Joe Groff 335df20713 add intrinsics for v<=, v<, v=, v>, v>=, vunordered? 2009-10-03 11:29:34 -05:00
Slava Pestov 5dfe721e0c 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 14a97b6a05 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-03 10:02:26 -05:00
Slava Pestov d30ebc6213 vm.hpp: fix typo 2009-10-03 09:47:06 -05:00
Slava Pestov 3887292543 Big VM cleanup
- Move forward declarations of 'struct factor_vm' to one place
- Rename template parameters from T and TYPE to descriptive names. New convention: CamelCase for template parameters
- Change some higher-order functions taking function pointers into templates, and define classes overriding operator(). There's a bit of new boilerplate here but its more consistent than the old mish-mash approaches
- Put GC state into a gc_state struct
- Use exceptions instead of longjmp for non-local control transfer in GC
- In code GC, instead of interleaving code block tracing with copying, add code blocks which need to be revisited to an std::set stored in the gc_state
2009-10-03 08:47:05 -05:00
Slava Pestov cda7a445ac Fix deploy tests and update command-line docs a bit 2009-10-03 06:53:23 -05:00
Joe Groff b1ec36a324 extend x86 %compare-vector to cover all comparison codes, sometimes stupidly for now 2009-10-02 23:19:56 -05:00
Slava Pestov 918aeeca55 Allow access to command line arguments in deployed apps 2009-10-02 21:00:12 -05:00
Slava Pestov fd01b95f8e vm: cleanup in os-genunix.cpp 2009-10-02 20:36:19 -05:00
Slava Pestov dba965486c cpu.arm.assembler: dust it off, update to work with contemporary Factor, and clean it up a bit 2009-10-02 20:18:34 -05:00
Joe Groff e2e75c6b3a add intrinsic for vnot/vbitnot 2009-10-02 20:04:28 -05:00
Doug Coleman 73e8fe834e Merge branch 'klazuka' 2009-10-02 16:22:10 -05:00
Doug Coleman 3a0f67b229 move verbose-tests? out of private, change decode-test word to set the verbose mode itself, use images.pam in images test vocabs 2009-10-02 16:20:33 -05:00
Doug Coleman 4b1b3ffbc7 i messed up a merge. weird 2009-10-02 16:05:00 -05:00
Doug Coleman ff3ed1a3de Merge branch 'master' of git://factorcode.org/git/factor into klazuka
Conflicts:
	basis/math/vectors/vectors-docs.factor
2009-10-02 15:59:19 -05:00
Doug Coleman c10b6d4ba7 Merge branch 'docs' of git://github.com/klazuka/factor into klazuka
Conflicts:
	basis/math/vectors/vectors-docs.factor
2009-10-02 15:58:45 -05:00
Doug Coleman cf956a1d2d Merge branch 'master' of git://factorcode.org/git/factor 2009-10-02 15:55:07 -05:00
Doug Coleman 28612bdf09 fix bitmap tests path 2009-10-02 15:54:39 -05:00
Doug Coleman b6949f15a8 Merge branch 'images' of git://github.com/klazuka/factor into klazuka 2009-10-02 15:42:47 -05:00
Joe Groff 271e6ddde5 give math.vectors shuffle words their own docs subsection in anticipation of having more ops in there 2009-10-02 15:37:49 -05:00
Joe Groff 147a73441f proofreading math.vectors docs 2009-10-02 15:18:42 -05:00
Joe Groff a4f8f87a21 add notes to math.vectors docs about simd booleans 2009-10-02 15:11:06 -05:00
Joe Groff e153d544eb implement vand, vor, vandn, and vxor as bitwise intrinsics for simd types 2009-10-02 14:17:01 -05:00
Joe Groff 8edde0ffeb keep a map of thread ids to vm pointers. use this to look up the correct VM to handle mach exceptions on os x 2009-10-02 12:03:05 -05:00
Keith Lazuka 44097e854c tools.crossref: Added $subsection to 'M: link uses' markup list 2009-10-02 12:18:33 -04:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Joe Groff 30dca04b81 import std::tr1/boost ::unordered_map into the factor namespace instead of using #define 2009-10-02 11:13:27 -05:00
Joe Groff 0c5a1de5ae don't leak startargs in start_standalone_factor_in_new_thread 2009-10-02 11:11:17 -05:00
Slava Pestov 0497ade10b vm: add assertions to tls_vm() 2009-10-02 09:37:04 -05:00
Slava Pestov 06736767f4 vm: fix register clobberage in PowerPC c_to_factor (untested) 2009-10-02 09:19:31 -05:00
Slava Pestov 0030f6c493 vm: fix register clobberage in x86 c_to_factor 2009-10-02 09:12:09 -05:00