remove SIMD:s
parent
c916c7c856
commit
4027002db7
|
@ -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 ["
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 )
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 ( -- )
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 + ]
|
||||
|
|
Loading…
Reference in New Issue