]> gitweb.factorcode.org Git - factor.git/commitdiff
remove SIMD:s
authorJoe Groff <arcata@gmail.com>
Thu, 26 Nov 2009 04:21:54 +0000 (20:21 -0800)
committerJoe Groff <arcata@gmail.com>
Thu, 26 Nov 2009 04:21:54 +0000 (20:21 -0800)
basis/io/mmap/mmap-docs.factor
basis/math/bitwise/bitwise-tests.factor
basis/math/vectors/simd/simd-docs.factor
extra/benchmark/3d-matrix-vector/3d-matrix-vector.factor
extra/benchmark/simd-1/simd-1.factor
extra/benchmark/terrain-generation/terrain-generation.factor
extra/gpu/demos/bunny/bunny.factor
extra/grid-meshes/grid-meshes.factor
extra/math/matrices/simd/simd-tests.factor
extra/math/matrices/simd/simd.factor
extra/terrain/terrain.factor

index 33ba6850a531ce900935db4d7b37295fb99a897d..3eabfc4e7f488ffcfaba331647bca810e6c91eba 100644 (file)
@@ -87,7 +87,6 @@ ARTICLE: "io.mmap.examples" "Memory-mapped file examples"
 "Normalize a file containing packed quadrupes of floats:"
 { $code
     "USING: kernel io.mmap math.vectors math.vectors.simd" "sequences specialized-arrays ;"
-    "SIMD: float"
     "SPECIALIZED-ARRAY: float-4"
     ""
     "\"mydata.dat\" float-4 ["
index d10e4ccc87df42a1f1599e01191420bd93a2f81a..a5919d3ec30bedca953e789e698b4ac60a4422e2 100644 (file)
@@ -41,7 +41,6 @@ CONSTANT: b 2
 [ 0 ] [ BIN: 0 bit-count ] unit-test
 [ 1 ] [ BIN: 1 bit-count ] unit-test
 
-SIMD: uint
 SPECIALIZED-ARRAY: uint
 SPECIALIZED-ARRAY: uint-4
 
index 98a7b9273ca917d28dbca683adb59463ae829b47..540838bdd5b1705b8970a64a4f84c1ad1b4cf731 100644 (file)
@@ -74,7 +74,6 @@ $nl
 { $code
 """USING: compiler.tree.debugger math.vectors
 math.vectors.simd ;
-SIMD: double
 SYMBOLS: x y ;
 
 [
@@ -86,7 +85,6 @@ SYMBOLS: x y ;
 { $code
 """USING: compiler.tree.debugger kernel.private
 math.vectors math.vectors.simd ;
-SIMD: float
 IN: simd-demo
 
 : interpolate ( v a b -- w )
@@ -100,7 +98,6 @@ $nl
 { $code
 """USING: compiler.tree.debugger hints
 math.vectors math.vectors.simd ;
-SIMD: float
 IN: simd-demo
 
 : interpolate ( v a b -- w )
@@ -116,7 +113,6 @@ $nl
 "In the " { $snippet "interpolate" } " word, there is still a call to the " { $link <tuple-boa> } " primitive, because the return value at the end is being boxed on the heap. In the next example, no memory allocation occurs at all because the SIMD vectors are stored inside a struct class (see " { $link "classes.struct" } "); also note the use of inlining:"
 { $code
 """USING: compiler.tree.debugger math.vectors math.vectors.simd ;
-SIMD: float
 IN: simd-demo
 
 STRUCT: actor
index 1b57bb902f27882db31e11b53095a648d716c6f5..563bf4558ce8648b5db9fb83f99427935c92c233 100644 (file)
@@ -1,7 +1,6 @@
 USING: kernel locals math math.matrices.simd math.order math.vectors
 math.vectors.simd prettyprint sequences typed ;
 QUALIFIED-WITH: alien.c-types c
-SIMD: c:float
 IN: benchmark.3d-matrix-vector
 
 : v2min ( xy -- xx )
index ff0cb98a0096171c35569313c5c11450e7a7004c..e20b82c3c4907112424cd4e0420a11061a3c027f 100644 (file)
@@ -3,7 +3,6 @@
 USING: kernel io math math.functions math.parser math.vectors
 math.vectors.simd sequences specialized-arrays ;
 QUALIFIED-WITH: alien.c-types c
-SIMD: c:float
 SPECIALIZED-ARRAY: float-4
 IN: benchmark.simd-1
 
index b158dba5dd0ad751c20eb05cf5c17c9ad498888e..41c1152cbd64dc6255d8348f8a8733b4186f240c 100644 (file)
@@ -1,7 +1,6 @@
 ! (c)Joe Groff bsd license
 USING: io kernel math.vectors.simd terrain.generation threads ;
 FROM: alien.c-types => float ;
-SIMD: float
 IN: benchmark.terrain-generation
 
 : terrain-generation-benchmark ( -- )
index 09853263ce58a8ce882e6a9b34ec9fd8e2891cca..ea91e226a85557fe9fc1dc9b58ca0b7e3f9682a2 100755 (executable)
@@ -11,7 +11,6 @@ specialized-vectors ;
 FROM: alien.c-types => float ;
 SPECIALIZED-ARRAY: float
 SPECIALIZED-VECTOR: uint
-SIMD: float
 IN: gpu.demos.bunny
 
 GLSL-SHADER-FILE: bunny-vertex-shader vertex-shader "bunny.v.glsl"
index ebde0b26416d340c6fcf81b9d227afecb7933320..47f649868ea4ec3ef7d5c0b6d99d6a720fda71c6 100644 (file)
@@ -3,7 +3,6 @@ USING: accessors alien.data.map arrays destructors fry grouping
 kernel math math.ranges math.vectors.simd opengl opengl.gl sequences
 sequences.product specialized-arrays ;
 FROM: alien.c-types => float ;
-SIMD: float
 SPECIALIZED-ARRAY: float-4
 IN: grid-meshes
 
index 25482c8e1ea60b5c1d292495e95a8d2c66a2d924..b27abcae67cf796d1fc91ced2097f7735a7b4c52 100644 (file)
@@ -3,7 +3,6 @@ USING: classes.struct math.matrices.simd math.vectors.simd math
 literals math.constants math.functions specialized-arrays tools.test ;
 QUALIFIED-WITH: alien.c-types c
 FROM: math.matrices => m~ ;
-SIMD: c:float
 SPECIALIZED-ARRAY: float-4
 IN: math.matrices.simd.tests
 
index 97290964eb62e53029459aece396d7980bd05435..4e1fd0e96ce4962e94495cdc0270fe4015ce1171 100644 (file)
@@ -4,7 +4,6 @@ math math.combinatorics math.functions math.matrices.simd math.vectors
 math.vectors.simd sequences sequences.private specialized-arrays
 typed ;
 QUALIFIED-WITH: alien.c-types c
-SIMD: c:float
 SPECIALIZED-ARRAY: float-4
 IN: math.matrices.simd
 
index f1da877c3e0ce04c5eff7d1ccd54860b131b32bb..55d54d3be1dd3cfaf385bc8cd88351b7599f8b1d 100644 (file)
@@ -11,7 +11,6 @@ math.matrices.simd noise ui.gestures combinators.short-circuit
 destructors grid-meshes math.vectors.simd ;
 QUALIFIED-WITH: alien.c-types c
 SPECIALIZED-ARRAY: c:float
-SIMD: c:float
 IN: terrain
 
 CONSTANT: FOV $[ 2.0 sqrt 1 + ]