[GHC] #8971: Native Code Generator for 7.8 is not as optimized as 7.6.3...

GHC ghc-devs at haskell.org
Fri May 16 05:06:05 UTC 2014


#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 awson):

 Replying to [comment:19 GordonBGood]:
 > 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.

 This is #8974. My patch there makes your program work on 64-bit Windows
 (although I don't like it because it uses mangler). It is compatible with
 existing 64-bit LLVM-3.4, distributed by MSYS2 (mingw-w64) project. We
 could pack this LLVM distro along with 64-bit GHC binary and configure ghc
 to use it (then also #7143 would be solved, and I have the patch for this
 ready) - just like we go with gcc/binutils/perl in all windows distros.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8971#comment:20>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list