Quantcast

[GHC] #13725: Remove false dependency on the destination of the popcnt instruction

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GHC] #13725: Remove false dependency on the destination of the popcnt instruction

GHC - devs mailing list
#13725: Remove false dependency on the destination of the popcnt instruction
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:  (none)
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
           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:D3539     |         Wiki Page:
-------------------------------------+-------------------------------------
 fryguybob writes in Phab:D3539,

 > Some Intel processors appear to have a false dependency on the
 destination of the popcnt instruction. This could lead to poor
 performance. A simple way to prevent this is to clear the destination
 register immediately before the popcnt instruction. Currently I can't
 produce code from GHC where the source and destination registers are not
 the same (perhaps someone is interested in producing a test case that
 does). I'm putting this here in case anyone is interested in investigating
 further.

 I'm opening this ticket so I can bump the diff out of the review queue, in
 hopes that someone might some day pick it up.

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Loading...