[GHC] #10677: slightly silly assembly for testing whether a Word# is 0##

GHC ghc-devs at haskell.org
Mon Aug 10 11:05:31 UTC 2015


#10677: slightly silly assembly for testing whether a Word# is 0##
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  low               |               Milestone:
       Component:  Compiler          |                 Version:  7.11
  (CodeGen)                          |
      Resolution:  fixed             |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:  x86_64
 Type of failure:  Runtime           |  (amd64)
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #10750            |  Differential Revisions:  Phab:D1137
-------------------------------------+-------------------------------------

Comment (by nomeata):

 This causes a `+ 15.08%` runtime regression in fannkuch-redux:

 https://perf.haskell.org/ghc/#graph/nofib/time/fannkuch-
 redux;hl=92f35cd9829db7555397aa3dc8cd243d17694fee

 This is a bit strange... is this just a possible reordering of basic
 blocks?

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


More information about the ghc-tickets mailing list