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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/46fa261eee74c1c1a1be52f9394ff131183024da

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

commit 46fa261eee74c1c1a1be52f9394ff131183024da
Author: Manuel M T Chakravarty <c...@cse.unsw.edu.au>
Date:   Wed Aug 17 14:41:59 2011 +1000

    Add VECTORISE [SCALAR] type pragma
    
    - Pragma to determine how a given type is vectorised
    - At this stage only the VECTORISE SCALAR variant is used by the vectoriser.
    - '{-# VECTORISE SCALAR type t #-}' implies that 't' cannot contain 
parallel arrays and may be used in vectorised code.  However, its constructors 
can only be used in scalar code.  We use this, e.g., for 'Int'.
    - May be used on imported types
    
    See also http://hackage.haskell.org/trac/ghc/wiki/DataParallel/VectPragma

 compiler/coreSyn/CoreFVs.lhs                       |    2 +
 compiler/coreSyn/CoreSubst.lhs                     |    3 +-
 compiler/coreSyn/CoreSyn.lhs                       |    9 +-
 compiler/coreSyn/PprCore.lhs                       |   11 +-
 compiler/deSugar/Desugar.lhs                       |    6 +-
 compiler/hsSyn/HsDecls.lhs                         |   32 +++-
 compiler/parser/Parser.y.pp                        |   14 +-
 compiler/rename/RnSource.lhs                       |   25 ++-
 compiler/typecheck/TcBinds.lhs                     |   14 ++
 compiler/typecheck/TcHsSyn.lhs                     |   17 +-
 compiler/vectorise/Vectorise.hs                    |   24 ++-
 compiler/vectorise/Vectorise/Builtins.hs           |   13 +-
 .../vectorise/Vectorise/Builtins/Initialise.hs     |    7 +-
 compiler/vectorise/Vectorise/Env.hs                |   72 ++++---
 compiler/vectorise/Vectorise/Exp.hs                |   88 ++++----
 compiler/vectorise/Vectorise/Monad/Global.hs       |   71 ++++---
 compiler/vectorise/Vectorise/Type/Classify.hs      |   76 ++++---
 compiler/vectorise/Vectorise/Type/Env.hs           |  224 +++++++++++++-------
 compiler/vectorise/Vectorise/Type/Repr.hs          |   30 ++--
 19 files changed, 449 insertions(+), 289 deletions(-)


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

    git show 46fa261eee74c1c1a1be52f9394ff131183024da

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to