Slava Pestov
906a0d212a
Detect SSE version and enable the correct set of SIMD intrinsics
2009-09-03 03:28:38 -05:00
Slava Pestov
ae051e0c9a
compiler.tree.propagation: type function for clone had an issue, sometimes clone would get optimized out because of incorrect constant folding
2009-09-03 02:40:18 -05:00
Slava Pestov
ff8c70dbe0
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
2009-09-03 02:33:07 -05:00
Slava Pestov
c719b92363
benchmark.raytracer: replace hard-coded constant with self-documenting code
2009-09-03 02:24:32 -05:00
Slava Pestov
10297b66ce
specialized-arrays: fix clone method
2009-09-03 02:24:03 -05:00
Slava Pestov
edbe9c4279
struct-arrays: fix new-sequence method
2009-09-03 02:23:37 -05:00
Slava Pestov
e86a76a7d8
math.constants: add single float epsilon value
2009-09-03 02:23:22 -05:00
Slava Pestov
e3b967fe67
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-02 06:22:44 -05:00
Slava Pestov
85a2bfab6c
compiler: eliminate boilerplate by centralizing info in declarative INSN: syntax
2009-09-02 06:22:37 -05:00
Slava Pestov
389f47086a
classes.tuple: don't run out of memory inside 'instances' quotation if optimizing compiler is off
2009-09-02 05:19:20 -05:00
Slava Pestov
e3f5452502
tools.deploy.shaker: fix snafu
2009-09-02 04:30:29 -05:00
Joe Groff
1106fb10f1
let's not forget about hex literals
2009-09-01 21:28:23 -05:00
Joe Groff
1a04bc1124
require numeric literals to begin and end with a digit/decimal point so that stuff like "," and "1," don't parse as numbers
2009-09-01 21:14:26 -05:00
Doug Coleman
d2bef9e32a
add using to windows.com.wrapper
2009-09-01 18:16:57 -05:00
Doug Coleman
b282dd9eac
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 18:16:31 -05:00
Slava Pestov
988d845c61
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 15:51:37 -05:00
Slava Pestov
c9113c03cf
noise: don't use math.private words
2009-09-01 15:50:56 -05:00
Doug Coleman
9ad468f449
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 15:38:52 -05:00
Slava Pestov
f91b539c31
cpu.ppc: implement fast float function calls; 3x speedup on benchmark.struct-arrays on PowerPC
2009-09-01 15:19:26 -05:00
Slava Pestov
cbaeda3195
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 15:00:22 -05:00
Slava Pestov
b8aa894960
struct-arrays: fix help lint, throw error if class parameter is not a struct class
2009-09-01 14:58:49 -05:00
Slava Pestov
3c4dc6d4de
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 14:47:06 -05:00
Slava Pestov
1efcf36083
struct-vectors: update unit test to use new structs
2009-09-01 14:47:04 -05:00
Slava Pestov
7bdd819d51
struct-arrays: remove support for arrays of old-style structs
2009-09-01 14:46:24 -05:00
Slava Pestov
2037667473
io.backend.unix.multiplexers.epoll: update for STRUCT:
2009-09-01 14:46:08 -05:00
Slava Pestov
7f25139cca
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 14:19:49 -05:00
Doug Coleman
eb98b49d74
openbsd defined a struct with freebsd in the name. oops.....
2009-09-01 14:18:29 -05:00
erg
6f7dbb1014
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 13:17:05 -05:00
erg
4c354581a9
fix file-systems on the bsds
2009-09-01 13:16:37 -05:00
Joe Groff
522f426ba7
fix help lint failures
2009-09-01 13:04:00 -05:00
Doug Coleman
26cc551049
fix another tuple definition bug
2009-09-01 11:36:06 -05:00
Doug Coleman
d46d063f5f
inheriting from itself would hang a tuple definition. only breaks if tuple is being redefined
2009-09-01 04:02:44 -05:00
Joe Groff
d893f3cdb7
put a more useful mirror over structs
2009-08-31 22:26:03 -05:00
Slava Pestov
fdb3cd22cd
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 20:51:27 -05:00
Joe Groff
4cbd4d4b5c
update classes.struct tests, and make struct prettyprinting work again
2009-08-31 20:46:33 -05:00
Joe Groff
f3768b5361
clean up the bootstrap mess by moving the struct summary and make-mirror methods to classes.struct.prettyprint
2009-08-31 20:32:00 -05:00
Joe Groff
badbfef890
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 20:13:19 -05:00
Joe Groff
52a5a22b9d
restore pprint stack when c-object pprinters fail so that the fallback pprint syntax is still clickable
2009-08-31 20:10:51 -05:00
Joe Groff
79be927371
take advantage of pprint-prefix in c-object-pointer prettyprinters
2009-08-31 19:56:36 -05:00
Doug Coleman
f0e14d1c3c
mirrors on structs again, add summary method for structs
2009-08-31 19:27:29 -05:00
Doug Coleman
3d975ea7ab
struct mirrors were not ready yet
2009-08-31 19:10:48 -05:00
Doug Coleman
80e2feacd9
show c-type instead of factor type
2009-08-31 18:58:42 -05:00
Doug Coleman
1732bd730a
better keys in sturct mirrors
2009-08-31 18:57:03 -05:00
Doug Coleman
fee0953cc4
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.
2009-08-31 18:51:47 -05:00
Joe Groff
3ea364bc80
suppress "no such C type" warnings from cocoa for "?" and private apple types
2009-08-31 18:10:35 -05:00
Joe Groff
f6c6593579
fix struct-arrays USING:
2009-08-31 18:04:29 -05:00
Joe Groff
0a7b62177b
link S{ and S@ docs in classes.struct
2009-08-31 18:04:09 -05:00
Joe Groff
0834b8270c
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 17:49:55 -05:00
Joe Groff
84adb4cb55
"struct-array-on" word to easily promote a struct over memory to a struct-array over the same memory. buff up the struct-arrays docs
2009-08-31 17:49:45 -05:00
Slava Pestov
f6da4856b4
benchmark.yuv-to-rgb: fix hints
2009-08-31 17:07:24 -05:00