[GHC] #5615: ghc produces poor code for `div` with constant powers of 2.

GHC ghc-devs at haskell.org
Fri Aug 26 07:25:15 UTC 2016


#5615: ghc produces poor code for `div` with constant powers of 2.
-------------------------------------+-------------------------------------
        Reporter:  Lennart           |                Owner:
                                     |  daniel.is.fischer
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.4.1-rc1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86
 Type of failure:  Runtime           |            Test Case:
  performance bug                    |
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Looks like it!

 I'd look carefully at comment:19 and its links.

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


More information about the ghc-tickets mailing list