Sun Feb 20 02:50:32 PST 2011 Manuel M T Chakravarty <[email protected]>
* 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
M ./compiler/coreSyn/CoreSyn.lhs -1 +18
M ./compiler/deSugar/Desugar.lhs -16 +42
M ./compiler/deSugar/DsExpr.lhs -3 +3
M ./compiler/deSugar/DsListComp.lhs -8 +8
M ./compiler/deSugar/DsMonad.lhs -9 +26
M ./compiler/deSugar/DsUtils.lhs -2 +2
M ./compiler/hsSyn/HsBinds.lhs -4 +4
M ./compiler/hsSyn/HsDecls.lhs -38 +89
M ./compiler/hsSyn/HsUtils.lhs -2 +5
M ./compiler/main/DynFlags.hs -11 +11
M ./compiler/main/HscMain.lhs -8 +10
M ./compiler/main/HscTypes.lhs -3 +5
M ./compiler/parser/Lexer.x -3 +7
M ./compiler/parser/Parser.y.pp +4
M ./compiler/prelude/PrelInfo.lhs -11 +11
M ./compiler/prelude/PrelNames.lhs -28 +48
M ./compiler/prelude/TysWiredIn.lhs -3 +5
M ./compiler/rename/RnSource.lhs -7 +31
M ./compiler/simplCore/CoreMonad.lhs -12 +11
M ./compiler/simplCore/SimplCore.lhs -2 +2
M ./compiler/typecheck/TcBinds.lhs -2 +61
M ./compiler/typecheck/TcExpr.lhs -2 +3
M ./compiler/typecheck/TcHsSyn.lhs -13 +30
M ./compiler/typecheck/TcInteract.lhs -22 +24
M ./compiler/typecheck/TcRnDriver.lhs -47 +60
M ./compiler/typecheck/TcRnMonad.lhs -5 +6
M ./compiler/typecheck/TcRnTypes.lhs -9 +11
M ./compiler/utils/Bag.lhs -1 +7
M ./compiler/vectorise/Vectorise.hs -84 +133
M ./compiler/vectorise/Vectorise/Builtins.hs -1 +1
M ./compiler/vectorise/Vectorise/Builtins/Initialise.hs -9 +10
M ./compiler/vectorise/Vectorise/Builtins/Prelude.hs -23 +24
M ./compiler/vectorise/Vectorise/Env.hs -27 +36
M ./compiler/vectorise/Vectorise/Exp.hs -17 +12
M ./compiler/vectorise/Vectorise/Monad.hs -49 +59
M ./compiler/vectorise/Vectorise/Monad/Base.hs -1 +49
M ./compiler/vectorise/Vectorise/Monad/Global.hs -7 +23
M ./compiler/vectorise/Vectorise/Type/Env.hs -18 +10
M ./compiler/vectorise/Vectorise/Type/Type.hs -2 +3
M ./docs/users_guide/debugging.xml -5 +27
M ./docs/users_guide/flags.xml -12 +24
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110220105032-6295e-520475837ee7759ff302568060d33aa279839817.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc