From 42493b9778a19797866e32f63e48e44516cd6251 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Mon, 2 Nov 2009 15:09:16 -0600 Subject: [PATCH] update compiler.tree.propagation.simd, and don't load it till math.vectors.simd is loaded --- .../known-words/known-words.factor | 3 +-- .../tree/propagation/simd/simd.factor | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/basis/compiler/tree/propagation/known-words/known-words.factor b/basis/compiler/tree/propagation/known-words/known-words.factor index 5646dca3fb..aa2bc01f9e 100644 --- a/basis/compiler/tree/propagation/known-words/known-words.factor +++ b/basis/compiler/tree/propagation/known-words/known-words.factor @@ -16,8 +16,7 @@ compiler.tree.propagation.slots compiler.tree.propagation.simple compiler.tree.propagation.constraints compiler.tree.propagation.call-effect -compiler.tree.propagation.transforms -compiler.tree.propagation.simd ; +compiler.tree.propagation.transforms ; FROM: alien.c-types => (signed-interval) (unsigned-interval) ; IN: compiler.tree.propagation.known-words diff --git a/basis/compiler/tree/propagation/simd/simd.factor b/basis/compiler/tree/propagation/simd/simd.factor index 1637148b88..1eac88598b 100644 --- a/basis/compiler/tree/propagation/simd/simd.factor +++ b/basis/compiler/tree/propagation/simd/simd.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors byte-arrays combinators fry sequences compiler.tree.propagation.info cpu.architecture kernel words math -math.intervals math.vectors.simd.intrinsics ; +math.intervals math.vectors.simd ; IN: compiler.tree.propagation.simd { @@ -33,14 +33,14 @@ IN: compiler.tree.propagation.simd (simd-hrshift) (simd-vshuffle-bytes) (simd-vshuffle-elements) - (simd-(vmerge-head)) - (simd-(vmerge-tail)) - (simd-(v>float)) - (simd-(v>integer)) - (simd-(vpack-signed)) - (simd-(vpack-unsigned)) - (simd-(vunpack-head)) - (simd-(vunpack-tail)) + (simd-vmerge-head) + (simd-vmerge-tail) + (simd-v>float) + (simd-v>integer) + (simd-vpack-signed) + (simd-vpack-unsigned) + (simd-vunpack-head) + (simd-vunpack-tail) (simd-v<=) (simd-v<) (simd-v=) @@ -51,6 +51,7 @@ IN: compiler.tree.propagation.simd (simd-gather-2) (simd-gather-4) alien-vector + alien-vector-aligned } [ { byte-array } "default-output-classes" set-word-prop ] each : scalar-output-class ( rep -- class )