summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Set the default way correctly when dynamic-by-defaultIan Lynagh2012-10-252-4/+10
|
* Always use --force when registering packagesIan Lynagh2012-10-251-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 dynIan Lynagh2012-10-249-26/+86
|
* Remove the kludgy TH dependenciesIan Lynagh2012-10-241-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/ghcIan Lynagh2012-10-245-7/+39
|\
| * typoGabor Greif2012-10-241-2/+2
| |
| * fix bug in heap check in putMVar#Simon Marlow2012-10-241-1/+1
| |
| * Comment to explain why we need to split proc points on x86/Darwin with -fPICSimon Marlow2012-10-241-1/+31
| |
| * Add a case for CmmLabelDiffOff to cmmOffsetLitSimon Marlow2012-10-241-0/+2
| |
| * extend LD_LIBRARY_PATH instead of replacing itGabor Greif2012-10-241-3/+3
| |
* | Use Cabal to build mkUserGuidePartIan Lynagh2012-10-242-5/+20
|/
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-10-233-14/+38
|\
| * Small optimisation: always sink/inline reg1 = reg2 assignmentsSimon Marlow2012-10-231-6/+5
| |
| * a small -fPIC optimisationSimon Marlow2012-10-231-0/+14
| | | | | | | | (PicBaseReg + lit) + N ==> PicBaseReg + (lit+N)
| * removeWay should also unset the wayGeneralFlagsSimon Marlow2012-10-231-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/ghcIan Lynagh2012-10-237-29/+43
|\ \ | |/
| * Avoid calling toInfoLbl on the entry label (#7313)Simon Marlow2012-10-231-20/+23
| |
| * Use canned heap checks to save a few bytes of codeSimon Marlow2012-10-232-2/+5
| |
| * fix a warningSimon Marlow2012-10-231-2/+2
| |
| * Fix a silly bug that would cause -xc to print less than useful informationSimon Marlow2012-10-231-1/+3
| |
| * comments onlyGabor Greif2012-10-231-3/+3
| |
| * October 2012 statsGabor Greif2012-10-231-1/+7
| |
* | Fix -fPIC on OS X x86Ian Lynagh2012-10-231-0/+6
|/
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-10-222-3/+18
|\
| * Foreign calls can clobber heap & stack memory tooSimon Marlow2012-10-221-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.
| * typoSimon Marlow2012-10-221-1/+1
| |
* | When DYNAMIC_BY_DEFAULT, make inplace wrappers for everythingIan Lynagh2012-10-221-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 literalsIan Lynagh2012-10-211-1/+2
| | | | | This makes it easier to be confident that the optimisation gives the right answer.
* add GHC.Float.rationalToFloat, rationalToDouble (fixes #7295)John Lato2012-10-212-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.sampleIan Lynagh2012-10-212-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 waysIan Lynagh2012-10-211-1/+7
|
* Add a rule for (plusAddr# x 0) == x; fixes #7284Ian Lynagh2012-10-211-0/+2
|
* Add some more PrimOp rulesIan Lynagh2012-10-211-0/+7
|
* Whitespace only in hsSyn/HsExpr.lhsIan Lynagh2012-10-211-105/+98
|
* Add some more primop rules; fixes #7286Ian Lynagh2012-10-211-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 typoIan Lynagh2012-10-201-1/+1
|
* Whitespace only in simplCore/OccurAnal.lhsIan Lynagh2012-10-191-256/+249
|
* Set the way when loading dynamic objects for GHCiIan Lynagh2012-10-191-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//ghcIan Lynagh2012-10-1944-10654/+164
|\
| * Remove the old codegenSimon Marlow2012-10-1936-10606/+114
| | | | | | | | | | Except for CgUtils.fixStgRegisters that is used in the NCG and LLVM backends, and should probably be moved somewhere else.
| * profiling fixesSimon Marlow2012-10-198-48/+50
| |
* | Whitespace only in nativeGen/PIC.hsIan Lynagh2012-10-191-282/+275
|/
* Follow 'flags' -> 'generalFlags' renameIan Lynagh2012-10-181-1/+1
|
* Turn DYNAMIC_BY_DEFAULT off in mk/build.mk.sampleIan Lynagh2012-10-181-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 handledIan Lynagh2012-10-1824-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 filesIan Lynagh2012-10-171-6/+8
|
* Remove unused -ddump flagsIan Lynagh2012-10-171-21/+0
|
* Fix build on OS X (fix from Duncan Coutts)Ian Lynagh2012-10-161-0/+5
|
* Some alpha renamingIan Lynagh2012-10-1699-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 insteadIan Lynagh2012-10-161-7/+2
|