]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoFix conflicts
Slava Pestov [Tue, 8 Sep 2009 04:51:25 +0000 (23:51 -0500)]
Fix conflicts

14 years agocompiler.tree.propagation: type check inputs to unsafe foldable words manually, so...
Slava Pestov [Tue, 8 Sep 2009 04:40:23 +0000 (23:40 -0500)]
compiler.tree.propagation: type check inputs to unsafe foldable words manually, so that stuff like [ "Hi" { } fixnum+fast ] doesn't crash in the compiler

14 years agotools.deploy: fix facepalm
Slava Pestov [Tue, 8 Sep 2009 03:48:57 +0000 (22:48 -0500)]
tools.deploy: fix facepalm

14 years agotools.deploy: add unit test to ensure Cocoa binding works in deployed apps
Slava Pestov [Mon, 7 Sep 2009 22:59:34 +0000 (17:59 -0500)]
tools.deploy: add unit test to ensure Cocoa binding works in deployed apps

14 years agocompiler.tree.propagation.call-effect: stronger call( inlining; now can inline 'a...
Slava Pestov [Mon, 7 Sep 2009 22:45:03 +0000 (17:45 -0500)]
compiler.tree.propagation.call-effect: stronger call( inlining; now can inline 'a [ b ] curry call(' where 'a' is literal, [ b ] doesn't infer, but [ a b ] does infer. This simplifies classes.struct:memory>struct

14 years agoFix documentation errors
Jon Harper [Sun, 6 Sep 2009 10:00:03 +0000 (19:00 +0900)]
Fix documentation errors

14 years agoUse new-style structs for overlapped struct on Windows
Slava Pestov [Sat, 5 Sep 2009 21:20:58 +0000 (16:20 -0500)]
Use new-style structs for overlapped struct on Windows

14 years agowindows.com.prettyprint: add unportable tag
Slava Pestov [Sat, 5 Sep 2009 15:59:40 +0000 (10:59 -0500)]
windows.com.prettyprint: add unportable tag

14 years agoMerge branch 'master' of git://github.com/killy971/factor
Slava Pestov [Sat, 5 Sep 2009 15:58:17 +0000 (10:58 -0500)]
Merge branch 'master' of git://github.com/killy971/factor

14 years agoMerge branch 'master' of git://github.com/Blei/factor
Slava Pestov [Sat, 5 Sep 2009 15:54:02 +0000 (10:54 -0500)]
Merge branch 'master' of git://github.com/Blei/factor

14 years agoFix unit tests for specialized-arrays.direct change
Slava Pestov [Sat, 5 Sep 2009 07:26:06 +0000 (02:26 -0500)]
Fix unit tests for specialized-arrays.direct change

14 years agospecialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabula...
Slava Pestov [Sat, 5 Sep 2009 03:01:55 +0000 (22:01 -0500)]
specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor

14 years agowindows.com: split off prettyprinting into windows.com.prettyprint
Slava Pestov [Sat, 5 Sep 2009 03:00:23 +0000 (22:00 -0500)]
windows.com: split off prettyprinting into windows.com.prettyprint

14 years agotools.deploy.shaker: strip out struct slot info
Slava Pestov [Sat, 5 Sep 2009 02:59:49 +0000 (21:59 -0500)]
tools.deploy.shaker: strip out struct slot info

14 years agoio.launcher.windows.nt: make tests more robust
Slava Pestov [Sat, 5 Sep 2009 02:59:11 +0000 (21:59 -0500)]
io.launcher.windows.nt: make tests more robust

14 years agoSolution to Project Euler problem 85
Guillaume Nargeot [Sat, 5 Sep 2009 01:59:04 +0000 (10:59 +0900)]
Solution to Project Euler problem 85

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 4 Sep 2009 17:30:48 +0000 (12:30 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoi had comisd/ucomisd backwards on x86
Joe Groff [Fri, 4 Sep 2009 17:30:30 +0000 (12:30 -0500)]
i had comisd/ucomisd backwards on x86

14 years agoui.backend.x11: fix set-fullscreen
Slava Pestov [Fri, 4 Sep 2009 16:35:45 +0000 (12:35 -0400)]
ui.backend.x11: fix set-fullscreen

14 years agofix some typos in cpu.ppc
Slava Pestov [Fri, 4 Sep 2009 16:18:41 +0000 (11:18 -0500)]
fix some typos in cpu.ppc

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into ppc-float-compare
Slava Pestov [Fri, 4 Sep 2009 15:58:50 +0000 (10:58 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor into ppc-float-compare

14 years agoupdate powerpc compiler to generate correct float comparisons
Joe Groff [Fri, 4 Sep 2009 15:51:12 +0000 (10:51 -0500)]
update powerpc compiler to generate correct float comparisons

14 years agosequences.product: product-each and product-map
Philipp Brüschweiler [Fri, 4 Sep 2009 14:40:47 +0000 (16:40 +0200)]
sequences.product: product-each and product-map
misc/vim.syntax.fgen: small fix for quotation highlighting

14 years agoio.backend.windows: fix for deployment
Slava Pestov [Fri, 4 Sep 2009 14:27:46 +0000 (09:27 -0500)]
io.backend.windows: fix for deployment

14 years agoio.backend.windows.nt.privileges: fix make-token-privileges
Slava Pestov [Fri, 4 Sep 2009 14:08:04 +0000 (09:08 -0500)]
io.backend.windows.nt.privileges: fix make-token-privileges

14 years agoopengl.glu: fix missing library error on Windows and Linux
Slava Pestov [Fri, 4 Sep 2009 12:57:48 +0000 (07:57 -0500)]
opengl.glu: fix missing library error on Windows and Linux

14 years agocpu.ppc: fix typo
Slava Pestov [Fri, 4 Sep 2009 11:41:33 +0000 (06:41 -0500)]
cpu.ppc: fix typo

14 years agomatch: cleanup
Slava Pestov [Fri, 4 Sep 2009 11:11:28 +0000 (06:11 -0500)]
match: cleanup

14 years agoFix sockets on Windows, and re-organize things so that windows.winsock doesn't get...
Slava Pestov [Fri, 4 Sep 2009 10:02:33 +0000 (05:02 -0500)]
Fix sockets on Windows, and re-organize things so that windows.winsock doesn't get loaded by default

14 years agoio.sockets: fix to work in deployed apps
Slava Pestov [Fri, 4 Sep 2009 08:57:57 +0000 (03:57 -0500)]
io.sockets: fix to work in deployed apps

14 years agocompiler.cfg.value-numbering: update tests for Joe's condition code changes
Slava Pestov [Fri, 4 Sep 2009 08:11:56 +0000 (03:11 -0500)]
compiler.cfg.value-numbering: update tests for Joe's condition code changes

14 years agobenchmark.nbody-simd: use map-reduce instead of reduce
Slava Pestov [Fri, 4 Sep 2009 08:01:41 +0000 (03:01 -0500)]
benchmark.nbody-simd: use map-reduce instead of reduce

14 years agocompiler: tweak generated code
Slava Pestov [Fri, 4 Sep 2009 08:01:18 +0000 (03:01 -0500)]
compiler: tweak generated code

14 years agomath.vectors.simd: allow punning SIMD vectors between types
Slava Pestov [Fri, 4 Sep 2009 07:35:58 +0000 (02:35 -0500)]
math.vectors.simd: allow punning SIMD vectors between types

14 years agomath.vectors.simd: slightly faster 'sum' on 256-bit vectors: add the two components...
Slava Pestov [Fri, 4 Sep 2009 07:23:25 +0000 (02:23 -0500)]
math.vectors.simd: slightly faster 'sum' on 256-bit vectors: add the two components then do horizontal add, instead of doing a horizontal add on each one and adding the results

14 years agocompiler.cfg.intrinsics: fix type detection on the alien type for vector accessors
Slava Pestov [Fri, 4 Sep 2009 07:22:54 +0000 (02:22 -0500)]
compiler.cfg.intrinsics: fix type detection on the alien type for vector accessors

14 years agomath.vectors.simd: docs
Slava Pestov [Fri, 4 Sep 2009 06:22:18 +0000 (01:22 -0500)]
math.vectors.simd: docs

14 years agofunctors: support private words with DEFINES-PRIVATE; use this to make some words...
Slava Pestov [Fri, 4 Sep 2009 06:21:59 +0000 (01:21 -0500)]
functors: support private words with DEFINES-PRIVATE; use this to make some words generated by math.vectors.simd.functor private

14 years agomake struct-mirror an instance of assoc
Joe Groff [Fri, 4 Sep 2009 03:31:55 +0000 (22:31 -0500)]
make struct-mirror an instance of assoc

14 years agomath.vectors.simd: define fallbacks for all vector constructors so that code can...
Slava Pestov [Fri, 4 Sep 2009 02:37:55 +0000 (21:37 -0500)]
math.vectors.simd: define fallbacks for all vector constructors so that code can still work even if SIMD is not available

14 years agocompiler: clean up code generation for alien boxing/unboxing a bit
Slava Pestov [Fri, 4 Sep 2009 02:22:43 +0000 (21:22 -0500)]
compiler: clean up code generation for alien boxing/unboxing a bit

14 years agoconvert comparison branch code in compiler to use locals
Joe Groff [Fri, 4 Sep 2009 02:19:39 +0000 (21:19 -0500)]
convert comparison branch code in compiler to use locals

14 years agobenchmark.nbody-simd: new benchmark; a version of benchmark.nbody that uses math...
Slava Pestov [Fri, 4 Sep 2009 01:59:49 +0000 (20:59 -0500)]
benchmark.nbody-simd: new benchmark; a version of benchmark.nbody that uses math.vectors.simd:double-4 instead of double-arrays

14 years agoMore SIMD work
Slava Pestov [Fri, 4 Sep 2009 01:58:56 +0000 (20:58 -0500)]
More SIMD work
- Rename SIMD types and register representations: <type>-<count> rather than <count><type>-array
- Make a functor to define 256-bit vector types, use it to define float-8 type
- Make SIMD instructions pure-insns so that they participate in value numbering

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 4 Sep 2009 01:32:27 +0000 (20:32 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd compiler comparison codes for floating-point unordered comparisons; update x86...
Joe Groff [Fri, 4 Sep 2009 01:32:05 +0000 (20:32 -0500)]
add compiler comparison codes for floating-point unordered comparisons; update x86 backend to generate proper code for all floating-point comparisons

14 years agoadd unit tests for comparisons against nan
Joe Groff [Thu, 3 Sep 2009 22:27:06 +0000 (17:27 -0500)]
add unit tests for comparisons against nan

14 years agoWHAMMY! convert io.sockets.unix
Doug Coleman [Thu, 3 Sep 2009 22:08:54 +0000 (17:08 -0500)]
WHAMMY!  convert io.sockets.unix

14 years agoupdate network structs. NO WHAMMY, NO WHAMMY, NO WHAMMY...STOP!!!
Doug Coleman [Thu, 3 Sep 2009 21:57:36 +0000 (16:57 -0500)]
update network structs.  NO WHAMMY, NO WHAMMY, NO WHAMMY...STOP!!!

14 years agoforget the old struct class when redefining a struct class so the old accessors get...
Joe Groff [Thu, 3 Sep 2009 16:12:58 +0000 (11:12 -0500)]
forget the old struct class when redefining a struct class so the old accessors get purged

14 years agoMerge branch 'master' into simd
Slava Pestov [Thu, 3 Sep 2009 08:45:58 +0000 (03:45 -0500)]
Merge branch 'master' into simd

14 years agomath.vectors.simd: split off intrinsics into a sub-vocabulary, to avoid loading most...
Slava Pestov [Thu, 3 Sep 2009 08:43:43 +0000 (03:43 -0500)]
math.vectors.simd: split off intrinsics into a sub-vocabulary, to avoid loading most of the SIMD code on bootstrap

14 years agoDetect SSE version and enable the correct set of SIMD intrinsics
Slava Pestov [Thu, 3 Sep 2009 08:28:38 +0000 (03:28 -0500)]
Detect SSE version and enable the correct set of SIMD intrinsics

14 years agocompiler.tree.propagation: type function for clone had an issue, sometimes clone...
Slava Pestov [Thu, 3 Sep 2009 07:40:18 +0000 (02:40 -0500)]
compiler.tree.propagation: type function for clone had an issue, sometimes clone would get optimized out because of incorrect constant folding

14 years agoInitial implementation of SSE vector intrinsics:
Slava Pestov [Thu, 3 Sep 2009 07:33:07 +0000 (02:33 -0500)]
Initial implementation of SSE vector intrinsics:
- cpu.architecture: add SSE vector representations
- compiler.cfg.intrinsics.alien: remove an attempt at optimization that value numbering handles now
- compiler.cfg.representations: support instructions where the representation is set in the 'rep' slot, and support conversions between single and double floats
- alien-float, set-alien-float now use the single float representation, and the conversion is implicit; this fixes a long-standing bug where a register could get clobbered because of how %set-alien-float was defined on x86
- math.vectors.specialization: add support for SIMD specialization (where the vector word's body is replaced by another quotation), also specialize the 'sum' word
- math.vectors.simd: 4float-array, 2double-array, 4double-array types, and specializers for the math.vectors words

14 years agobenchmark.raytracer: replace hard-coded constant with self-documenting code
Slava Pestov [Thu, 3 Sep 2009 07:24:32 +0000 (02:24 -0500)]
benchmark.raytracer: replace hard-coded constant with self-documenting code

14 years agospecialized-arrays: fix clone method
Slava Pestov [Thu, 3 Sep 2009 07:24:03 +0000 (02:24 -0500)]
specialized-arrays: fix clone method

14 years agostruct-arrays: fix new-sequence method
Slava Pestov [Thu, 3 Sep 2009 07:23:37 +0000 (02:23 -0500)]
struct-arrays: fix new-sequence method

14 years agomath.constants: add single float epsilon value
Slava Pestov [Thu, 3 Sep 2009 07:23:22 +0000 (02:23 -0500)]
math.constants: add single float epsilon value

14 years agoi suck at reading tech docs--those were m64 instructions, not mm instructions
Joe Groff [Wed, 2 Sep 2009 17:58:35 +0000 (12:58 -0500)]
i suck at reading tech docs--those were m64 instructions, not mm instructions

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 2 Sep 2009 16:07:07 +0000 (11:07 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoget rid of useless mm->xmm instructions in cpu.x86.assembler, add MOVHLPS and MOVLHPS
Joe Groff [Wed, 2 Sep 2009 16:06:08 +0000 (11:06 -0500)]
get rid of useless mm->xmm instructions in cpu.x86.assembler, add MOVHLPS and MOVLHPS

14 years agoFix tree shaker again, gah
Slava Pestov [Wed, 2 Sep 2009 12:28:40 +0000 (07:28 -0500)]
Fix tree shaker again, gah

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Wed, 2 Sep 2009 11:22:44 +0000 (06:22 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler: eliminate boilerplate by centralizing info in declarative INSN: syntax
Slava Pestov [Wed, 2 Sep 2009 11:22:37 +0000 (06:22 -0500)]
compiler: eliminate boilerplate by centralizing info in declarative INSN: syntax

14 years agoclasses.tuple: don't run out of memory inside 'instances' quotation if optimizing...
Slava Pestov [Wed, 2 Sep 2009 10:19:20 +0000 (05:19 -0500)]
classes.tuple: don't run out of memory inside 'instances' quotation if optimizing compiler is off

14 years agotools.deploy.shaker: fix snafu
Slava Pestov [Wed, 2 Sep 2009 09:30:29 +0000 (04:30 -0500)]
tools.deploy.shaker: fix snafu

14 years agolet's not forget about hex literals
Joe Groff [Wed, 2 Sep 2009 02:28:23 +0000 (21:28 -0500)]
let's not forget about hex literals

14 years agorequire numeric literals to begin and end with a digit/decimal point so that stuff...
Joe Groff [Wed, 2 Sep 2009 02:14:26 +0000 (21:14 -0500)]
require numeric literals to begin and end with a digit/decimal point so that stuff like "," and "1," don't parse as numbers

14 years agoadd using to windows.com.wrapper
Doug Coleman [Tue, 1 Sep 2009 23:16:57 +0000 (18:16 -0500)]
add using to windows.com.wrapper

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 1 Sep 2009 23:16:31 +0000 (18:16 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 1 Sep 2009 20:51:37 +0000 (15:51 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agonoise: don't use math.private words
Slava Pestov [Tue, 1 Sep 2009 20:50:56 +0000 (15:50 -0500)]
noise: don't use math.private words

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 1 Sep 2009 20:38:52 +0000 (15:38 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocpu.ppc: implement fast float function calls; 3x speedup on benchmark.struct-arrays...
Slava Pestov [Tue, 1 Sep 2009 20:19:26 +0000 (15:19 -0500)]
cpu.ppc: implement fast float function calls; 3x speedup on benchmark.struct-arrays on PowerPC

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 1 Sep 2009 20:00:22 +0000 (15:00 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agostruct-arrays: fix help lint, throw error if class parameter is not a struct class
Slava Pestov [Tue, 1 Sep 2009 19:58:49 +0000 (14:58 -0500)]
struct-arrays: fix help lint, throw error if class parameter is not a struct class

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 1 Sep 2009 19:47:06 +0000 (14:47 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agostruct-vectors: update unit test to use new structs
Slava Pestov [Tue, 1 Sep 2009 19:47:04 +0000 (14:47 -0500)]
struct-vectors: update unit test to use new structs

14 years agostruct-arrays: remove support for arrays of old-style structs
Slava Pestov [Tue, 1 Sep 2009 19:46:24 +0000 (14:46 -0500)]
struct-arrays: remove support for arrays of old-style structs

14 years agoio.backend.unix.multiplexers.epoll: update for STRUCT:
Slava Pestov [Tue, 1 Sep 2009 19:46:08 +0000 (14:46 -0500)]
io.backend.unix.multiplexers.epoll: update for STRUCT:

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 1 Sep 2009 19:19:49 +0000 (14:19 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoopenbsd defined a struct with freebsd in the name. oops.....
Doug Coleman [Tue, 1 Sep 2009 19:18:29 +0000 (14:18 -0500)]
openbsd defined a struct with freebsd in the name.  oops.....

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
erg [Tue, 1 Sep 2009 18:17:05 +0000 (13:17 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix file-systems on the bsds
erg [Tue, 1 Sep 2009 18:16:37 +0000 (13:16 -0500)]
fix file-systems on the bsds

14 years agofix help lint failures
Joe Groff [Tue, 1 Sep 2009 18:04:00 +0000 (13:04 -0500)]
fix help lint failures

14 years agofix another tuple definition bug
Doug Coleman [Tue, 1 Sep 2009 16:36:06 +0000 (11:36 -0500)]
fix another tuple definition bug

14 years agoinheriting from itself would hang a tuple definition. only breaks if tuple is being...
Doug Coleman [Tue, 1 Sep 2009 09:02:44 +0000 (04:02 -0500)]
inheriting from itself would hang a tuple definition.  only breaks if tuple is being redefined

14 years agoput a more useful mirror over structs
Joe Groff [Tue, 1 Sep 2009 03:26:03 +0000 (22:26 -0500)]
put a more useful mirror over structs

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 1 Sep 2009 01:51:27 +0000 (20:51 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoupdate classes.struct tests, and make struct prettyprinting work again
Joe Groff [Tue, 1 Sep 2009 01:46:33 +0000 (20:46 -0500)]
update classes.struct tests, and make struct prettyprinting work again

14 years agoclean up the bootstrap mess by moving the struct summary and make-mirror methods...
Joe Groff [Tue, 1 Sep 2009 01:32:00 +0000 (20:32 -0500)]
clean up the bootstrap mess by moving the struct summary and make-mirror methods to classes.struct.prettyprint

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 1 Sep 2009 01:13:19 +0000 (20:13 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agorestore pprint stack when c-object pprinters fail so that the fallback pprint syntax...
Joe Groff [Tue, 1 Sep 2009 01:10:51 +0000 (20:10 -0500)]
restore pprint stack when c-object pprinters fail so that the fallback pprint syntax is still clickable

14 years agotake advantage of pprint-prefix in c-object-pointer prettyprinters
Joe Groff [Tue, 1 Sep 2009 00:56:36 +0000 (19:56 -0500)]
take advantage of pprint-prefix in c-object-pointer prettyprinters

14 years agomirrors on structs again, add summary method for structs
Doug Coleman [Tue, 1 Sep 2009 00:27:29 +0000 (19:27 -0500)]
mirrors on structs again, add summary method for structs

14 years agostruct mirrors were not ready yet
Doug Coleman [Tue, 1 Sep 2009 00:10:48 +0000 (19:10 -0500)]
struct mirrors were not ready yet

14 years agoshow c-type instead of factor type
Doug Coleman [Mon, 31 Aug 2009 23:58:42 +0000 (18:58 -0500)]
show c-type instead of factor type

14 years agobetter keys in sturct mirrors
Doug Coleman [Mon, 31 Aug 2009 23:57:03 +0000 (18:57 -0500)]
better keys in sturct mirrors

14 years agomake-mirror method on structs. fix typo on struct-slots stack effect. don't filter...
Doug Coleman [Mon, 31 Aug 2009 23:51:47 +0000 (18:51 -0500)]
make-mirror method on structs.  fix typo on struct-slots stack effect.  don't filter initial values in struct>assoc because structs are more low-level and you want to see the entire layout of the struct you're working with, imo.