[GHC] #8048: Register spilling produces ineffecient/highly contending code

GHC ghc-devs at haskell.org
Mon Mar 17 10:15:02 UTC 2014


#8048: Register spilling produces ineffecient/highly contending code
-------------------------------------+-------------------------------------
        Reporter:  schyler           |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:  ⊥
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:  register
Operating System:  Unknown/Multiple  |  allocator spill
 Type of failure:  Runtime           |     Architecture:  Unknown/Multiple
  performance bug                    |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+-------------------------------------
Changes (by schyler):

 * component:  Compiler (NCG) => Compiler


Comment:

 Actually simon, I was able to reproduce this with LLVM also and carter can
 confirm. Interestingly, when we fiddled with some flags like -march=native
 and such, llvm seemed to bandaid it somehow by using mmx where the
 rotation happened properly.

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


More information about the ghc-tickets mailing list