[GHC] #10750: silly assembly for comparing Doubles

GHC ghc-devs at haskell.org
Mon Aug 10 07:25:27 UTC 2015


#10750: silly assembly for comparing Doubles
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.11
  (CodeGen)                          |
      Resolution:  fixed             |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #10137, #10677    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by nomeata):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 > Maybe you built GHC's libraries at too low an optimization level?

 Heh, that’s it. I switched to `quickest` earlier to do a bisect, and did
 not switch back :-)

 Anyways, this produces a `ja` command now:
 {{{
 _c36F:
         movsd 7(%rbx),%xmm0
         xorpd %xmm1,%xmm1
         ucomisd %xmm1,%xmm0
         ja _c36U
 }}}

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


More information about the ghc-tickets mailing list