Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Set the default way correctly when dynamic-by-default | Ian Lynagh | 2012-10-25 | 2 | -4/+10 |
| | |||||
* | Always use --force when registering packages | Ian Lynagh | 2012-10-25 | 1 | -2/+2 |
| | | | | | When dynamic-by-default, we may only have .dyn_hi files, and ghc-pkg complains if there are no .hi files. | ||||
* | Make it possible to build with only way dyn | Ian Lynagh | 2012-10-24 | 9 | -26/+86 |
| | |||||
* | Remove the kludgy TH dependencies | Ian Lynagh | 2012-10-24 | 1 | -9/+0 |
| | | | | | There are better dependencies for this in the DPH package, where all the TH is. | ||||
* | Merge branch 'master' of http://darcs.haskell.org/ghc | Ian Lynagh | 2012-10-24 | 5 | -7/+39 |
|\ | |||||
| * | typo | Gabor Greif | 2012-10-24 | 1 | -2/+2 |
| | | |||||
| * | fix bug in heap check in putMVar# | Simon Marlow | 2012-10-24 | 1 | -1/+1 |
| | | |||||
| * | Comment to explain why we need to split proc points on x86/Darwin with -fPIC | Simon Marlow | 2012-10-24 | 1 | -1/+31 |
| | | |||||
| * | Add a case for CmmLabelDiffOff to cmmOffsetLit | Simon Marlow | 2012-10-24 | 1 | -0/+2 |
| | | |||||
| * | extend LD_LIBRARY_PATH instead of replacing it | Gabor Greif | 2012-10-24 | 1 | -3/+3 |
| | | |||||
* | | Use Cabal to build mkUserGuidePart | Ian Lynagh | 2012-10-24 | 2 | -5/+20 |
|/ | |||||
* | Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc | Ian Lynagh | 2012-10-23 | 3 | -14/+38 |
|\ | |||||
| * | Small optimisation: always sink/inline reg1 = reg2 assignments | Simon Marlow | 2012-10-23 | 1 | -6/+5 |
| | | |||||
| * | a small -fPIC optimisation | Simon Marlow | 2012-10-23 | 1 | -0/+14 |
| | | | | | | | | (PicBaseReg + lit) + N ==> PicBaseReg + (lit+N) | ||||
| * | removeWay should also unset the wayGeneralFlags | Simon Marlow | 2012-10-23 | 1 | -8/+19 |
| | | | | | | | | | | This means that -static now disables the -fPIC that we're currently getting by default. | ||||
* | | Merge branch 'master' of http://darcs.haskell.org/ghc | Ian Lynagh | 2012-10-23 | 7 | -29/+43 |
|\ \ | |/ | |||||
| * | Avoid calling toInfoLbl on the entry label (#7313) | Simon Marlow | 2012-10-23 | 1 | -20/+23 |
| | | |||||
| * | Use canned heap checks to save a few bytes of code | Simon Marlow | 2012-10-23 | 2 | -2/+5 |
| | | |||||
| * | fix a warning | Simon Marlow | 2012-10-23 | 1 | -2/+2 |
| | | |||||
| * | Fix a silly bug that would cause -xc to print less than useful information | Simon Marlow | 2012-10-23 | 1 | -1/+3 |
| | | |||||
| * | comments only | Gabor Greif | 2012-10-23 | 1 | -3/+3 |
| | | |||||
| * | October 2012 stats | Gabor Greif | 2012-10-23 | 1 | -1/+7 |
| | | |||||
* | | Fix -fPIC on OS X x86 | Ian Lynagh | 2012-10-23 | 1 | -0/+6 |
|/ | |||||
* | Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc | Ian Lynagh | 2012-10-22 | 2 | -3/+18 |
|\ | |||||
| * | Foreign calls can clobber heap & stack memory too | Simon Marlow | 2012-10-22 | 1 | -2/+17 |
| | | | | | | | | | | | | | | We were making an aggressive assumption that foreign calls cannot clobber heap or stack memory, which for the majority of foreign calls is true, but we violate the assumption in the implementation of primops in the RTS. This was causing crashes in some STM tests. | ||||
| * | typo | Simon Marlow | 2012-10-22 | 1 | -1/+1 |
| | | |||||
* | | When DYNAMIC_BY_DEFAULT, make inplace wrappers for everything | Ian Lynagh | 2012-10-22 | 1 | -0/+2 |
|/ | | | | | | Even though e.g. inplace/bin/hpc doesn't normally need a shell wrapper, it does when we are using dynlibs, as we need to set the LD_LIBRARY_PATH so that it can find its libraries. | ||||
* | Use fromRational when pre-computing fromRational literals | Ian Lynagh | 2012-10-21 | 1 | -1/+2 |
| | | | | | This makes it easier to be confident that the optimisation gives the right answer. | ||||
* | add GHC.Float.rationalToFloat, rationalToDouble (fixes #7295) | John Lato | 2012-10-21 | 2 | -0/+42 |
| | | | | | | Adds better support for constant folding of Float/Double literals. - add rationalToFloat, rationalToDouble with associated Name/Id's in PrelNames. - add a matching rule in PrelRules for rationalTo* functions. | ||||
* | Set V = 1 by default, and add info about turning it off to build.mk.sample | Ian Lynagh | 2012-10-21 | 2 | -0/+7 |
| | | | | | This will hopefully make it less likely that we will get bug reports with the pretty output, such as in trac ticket 7225. | ||||
* | Add the p_dyn and thr_p_dyn ways | Ian Lynagh | 2012-10-21 | 1 | -1/+7 |
| | |||||
* | Add a rule for (plusAddr# x 0) == x; fixes #7284 | Ian Lynagh | 2012-10-21 | 1 | -0/+2 |
| | |||||
* | Add some more PrimOp rules | Ian Lynagh | 2012-10-21 | 1 | -0/+7 |
| | |||||
* | Whitespace only in hsSyn/HsExpr.lhs | Ian Lynagh | 2012-10-21 | 1 | -105/+98 |
| | |||||
* | Add some more primop rules; fixes #7286 | Ian Lynagh | 2012-10-21 | 1 | -11/+45 |
| | | | | | As well as the rules mentioned in the ticket, I've also gone through and added some more rules that might be useful in other cases. | ||||
* | Fix typo | Ian Lynagh | 2012-10-20 | 1 | -1/+1 |
| | |||||
* | Whitespace only in simplCore/OccurAnal.lhs | Ian Lynagh | 2012-10-19 | 1 | -256/+249 |
| | |||||
* | Set the way when loading dynamic objects for GHCi | Ian Lynagh | 2012-10-19 | 1 | -0/+5 |
| | | | | | This fixes using TH when building profiled libraries when dynamic-by-default is enabled. | ||||
* | Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc | Ian Lynagh | 2012-10-19 | 44 | -10654/+164 |
|\ | |||||
| * | Remove the old codegen | Simon Marlow | 2012-10-19 | 36 | -10606/+114 |
| | | | | | | | | | | Except for CgUtils.fixStgRegisters that is used in the NCG and LLVM backends, and should probably be moved somewhere else. | ||||
| * | profiling fixes | Simon Marlow | 2012-10-19 | 8 | -48/+50 |
| | | |||||
* | | Whitespace only in nativeGen/PIC.hs | Ian Lynagh | 2012-10-19 | 1 | -282/+275 |
|/ | |||||
* | Follow 'flags' -> 'generalFlags' rename | Ian Lynagh | 2012-10-18 | 1 | -1/+1 |
| | |||||
* | Turn DYNAMIC_BY_DEFAULT off in mk/build.mk.sample | Ian Lynagh | 2012-10-18 | 1 | -0/+1 |
| | | | | | It sets GhcLibWays=v, which doesn't work with DYNAMIC_BY_DEFAULT on as the dynamic libs aren't built. | ||||
* | Refactor the way dump flags are handled | Ian Lynagh | 2012-10-18 | 24 | -98/+141 |
| | | | | | | | | | | | | | We were being inconsistent about how we tested whether dump flags were enabled; in particular, sometimes we also checked the verbosity, and sometimes we didn't. This lead to oddities such as "ghc -v4" printing an "Asm code" section which didn't contain any code, and "-v4" enabled some parts of "-ddump-deriv" but not others. Now all the tests use dopt, which also takes the verbosity into account as appropriate. | ||||
* | Put header and timestamp in dump files | Ian Lynagh | 2012-10-17 | 1 | -6/+8 |
| | |||||
* | Remove unused -ddump flags | Ian Lynagh | 2012-10-17 | 1 | -21/+0 |
| | |||||
* | Fix build on OS X (fix from Duncan Coutts) | Ian Lynagh | 2012-10-16 | 1 | -0/+5 |
| | |||||
* | Some alpha renaming | Ian Lynagh | 2012-10-16 | 99 | -348/+348 |
| | | | | | Mostly d -> g (matching DynFlag -> GeneralFlag). Also renamed if* to when*, matching the Haskell if/when names | ||||
* | Remove a copy of foldM, and use the standard function instead | Ian Lynagh | 2012-10-16 | 1 | -7/+2 |
| |