[GHC] #13629: sqrt should use machine instruction on x86_64

GHC ghc-devs at haskell.org
Fri Apr 28 15:05:22 UTC 2017


#13629: sqrt should use machine instruction on x86_64
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.4.1
          Component:  Compiler       |           Version:  8.0.1
  (NCG)                              |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Runtime
  Unknown/Multiple                   |  performance bug
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):  Phab:D3265     |         Wiki Page:
-------------------------------------+-------------------------------------
 The NCG currently implements the square root MachOp with an out-of-line
 call. This resulted in a large performance regression in `n-body` (see
 #13570). Fix this.

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


More information about the ghc-tickets mailing list