DPH options updated
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Mon, 24 Jan 2011 04:36:17 +0000 (04:36 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Mon, 24 Jan 2011 04:36:17 +0000 (04:36 +0000)
commit9e6e96bdc19d71318ac7fc2fc9381ce57a22e399
treedb1865289a8399505958cd0c89ab1adf6cce5bfe
parenteb3a1aecac72d22c618b4050fb88eac9055b527a
DPH options updated
- '-Odph' is now '-O2 -fsimplifier-phases=3 -fsimplifier-iterations=20'
- The new option '-fdph-none' is the default; it indicates that no DPH
  backend is selected and is the only valid option if the DPH libraries
  are not installed.  If vectorisation is attempted with -fdph-none a
  suitable error message is generated.
- Hence, '-fdph-par' (or '-fdph-seq') needs to be explicitly selected
  when using vectorisation and when linking vectorised code.  (There
  seems to be no elegant way to avoid that.)
compiler/basicTypes/Module.lhs
compiler/main/DynFlags.hs
compiler/main/Packages.lhs