Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : simd
http://hackage.haskell.org/trac/ghc/changeset/6dc4ddf9e9379792b31e1491b48d4520e29c0514 >--------------------------------------------------------------- commit 6dc4ddf9e9379792b31e1491b48d4520e29c0514 Author: Geoffrey Mainland <[email protected]> Date: Fri Nov 11 10:16:12 2011 +0000 Make separate sections for each primitive vector type. >--------------------------------------------------------------- compiler/prelude/primops.txt.pp | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp index 88abdbe..1b1484f 100644 --- a/compiler/prelude/primops.txt.pp +++ b/compiler/prelude/primops.txt.pp @@ -1933,8 +1933,9 @@ primop TraceEventOp "traceEvent#" GenPrimOp out_of_line = True ------------------------------------------------------------------------ -section "SIMD" - {Operations on vectors.} +section "Float SIMD Vectors" + {Operations on SIMD vectors of 4 single-precision (32-bit) + floating-point numbers.} ------------------------------------------------------------------------ primtype FloatX4# @@ -1997,6 +1998,11 @@ primop WriteOffAddrOp_FloatX4 "writeFloatX4OffAddr#" GenPrimOp Addr# -> Int# -> FloatX4# -> State# s -> State# s with has_side_effects = True +------------------------------------------------------------------------ +section "Int32 SIMD Vectors" + {Operations on SIMD vectors of 4 32-bit signed integers.} +------------------------------------------------------------------------ + primtype Int32X4# primop Int32ToInt32X4Op "int32ToInt32X4#" GenPrimOp _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
