Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch :
http://hackage.haskell.org/trac/ghc/changeset/f2aaae9757e7532485c97f6c9a9ed5437542d1dd >--------------------------------------------------------------- commit f2aaae9757e7532485c97f6c9a9ed5437542d1dd Author: Manuel M T Chakravarty <[email protected]> Date: Sun Feb 20 10:50:32 2011 +0000 Added a VECTORISE pragma - Added a pragma {-# VECTORISE var = exp #-} that prevents the vectoriser from vectorising the definition of 'var'. Instead it uses the binding '$v_var = exp' to vectorise 'var'. The vectoriser checks that the Core type of 'exp' matches the vectorised Core type of 'var'. (It would be quite complicated to perform that check in the type checker as the vectorisation of a type needs the state of the VM monad.) - Added parts of a related VECTORISE SCALAR pragma - Documented -ddump-vect - Added -ddump-vt-trace - Some clean up compiler/coreSyn/CoreSyn.lhs | 19 ++- compiler/deSugar/Desugar.lhs | 58 ++++-- compiler/deSugar/DsExpr.lhs | 6 +- compiler/deSugar/DsListComp.lhs | 16 +- compiler/deSugar/DsMonad.lhs | 35 +++- compiler/deSugar/DsUtils.lhs | 4 +- compiler/hsSyn/HsBinds.lhs | 8 +- compiler/hsSyn/HsDecls.lhs | 127 ++++++++---- compiler/hsSyn/HsUtils.lhs | 7 +- compiler/main/DynFlags.hs | 22 +- compiler/main/HscMain.lhs | 18 +- compiler/main/HscTypes.lhs | 8 +- compiler/parser/Lexer.x | 10 +- compiler/parser/Parser.y.pp | 4 + compiler/prelude/PrelInfo.lhs | 20 +- compiler/prelude/PrelNames.lhs | 76 +++++--- compiler/prelude/TysWiredIn.lhs | 8 +- compiler/rename/RnSource.lhs | 38 +++- compiler/simplCore/CoreMonad.lhs | 23 +- compiler/simplCore/SimplCore.lhs | 4 +- compiler/typecheck/TcBinds.lhs | 63 ++++++- compiler/typecheck/TcExpr.lhs | 5 +- compiler/typecheck/TcHsSyn.lhs | 43 +++-- compiler/typecheck/TcInteract.lhs | 46 +++-- compiler/typecheck/TcRnDriver.lhs | 103 +++++---- compiler/typecheck/TcRnMonad.lhs | 11 +- compiler/typecheck/TcRnTypes.lhs | 20 +- compiler/utils/Bag.lhs | 8 +- compiler/vectorise/Vectorise.hs | 219 ++++++++++++-------- compiler/vectorise/Vectorise/Builtins.hs | 2 +- .../vectorise/Vectorise/Builtins/Initialise.hs | 19 +- compiler/vectorise/Vectorise/Builtins/Prelude.hs | 47 +++-- compiler/vectorise/Vectorise/Env.hs | 63 ++++--- compiler/vectorise/Vectorise/Exp.hs | 29 +-- compiler/vectorise/Vectorise/Monad.hs | 114 ++++++----- compiler/vectorise/Vectorise/Monad/Base.hs | 48 +++++ compiler/vectorise/Vectorise/Monad/Global.hs | 28 ++- compiler/vectorise/Vectorise/Type/Env.hs | 28 +-- compiler/vectorise/Vectorise/Type/Type.hs | 5 +- docs/users_guide/debugging.xml | 32 +++- docs/users_guide/flags.xml | 36 +++- 41 files changed, 954 insertions(+), 526 deletions(-) Diff suppressed because of size. To see it, use: git show f2aaae9757e7532485c97f6c9a9ed5437542d1dd _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
