
#8971: Native Code Generator for 7.8 is not as optimized as 7.6.3... --------------------------------------------+------------------------------ Reporter: GordonBGood | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Compiler (NCG) | Version: 7.8.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime performance bug | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: --------------------------------------------+------------------------------ Comment (by GordonBGood): Replying to [comment:17 simonmar]:
The short version is that this isn't going to be easy to fix, and I recommend using LLVM.
In fact, I prefer LLVM because it is more consistent for timing, but of course that brings us to that other bug for 64-bit Windows where 64-bit GHC 7.8.2 still doesn't work with LLVM (3.4/3.5) at least for mingw as per the distrubuted binary, although it does under 64-bit Linux. The above test program runs under LLVM for a 32-bit compile but crashes on run for 64-bit, both on Windows. Or perhaps there is something wrong with my compile of 64-bit LLVM even though I followed the exact same procedure as generating the 32-bit version from trunk. Don Stewart's entry that working LLVM should really be distributed with GHC is a very good one. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8971#comment:19 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler