Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : simd

http://hackage.haskell.org/trac/ghc/changeset/e42746d07239888c74e937046fadf93655b44b65

>---------------------------------------------------------------

commit e42746d07239888c74e937046fadf93655b44b65
Author: Geoffrey Mainland <[email protected]>
Date:   Wed Nov 16 00:46:52 2011 +0000

    Add primops for accessing base type arrays at vector types.
    
    We often want to index into a Float array and pull out a FloatX4 where our 
index
    n represents n Float's rather than n FloatX4's. This patch adds primops for
    indexing/reading/writing addresses and byte arrays.

 compiler/codeGen/CgPrimOp.hs    |  323 +++++++++++++++++++++++----------------
 compiler/prelude/primops.txt.pp |   88 +++++++++++
 2 files changed, 276 insertions(+), 135 deletions(-)


Diff suppressed because of size. To see it, use:

    git show e42746d07239888c74e937046fadf93655b44b65

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to