[GHC] #8272: testing if SpLim=$rbp and Sp=$rsp changed performance at all

GHC ghc-devs at haskell.org
Thu Sep 12 07:45:51 CEST 2013


#8272: testing if SpLim=$rbp and Sp=$rsp changed performance at all
----------------------------------------------+----------------------------
       Reporter:  carter                      |             Owner:  carter
           Type:  task                        |            Status:  new
       Priority:  normal                      |         Milestone:  7.10.1
      Component:  Compiler                    |           Version:  7.7
       Keywords:  callingConvention           |  Operating System:
   Architecture:  x86_64 (amd64)              |  Unknown/Multiple
     Difficulty:  Project (more than a week)  |   Type of failure:
     Blocked By:                              |  None/Unknown
Related Tickets:                              |         Test Case:
                                              |          Blocking:
----------------------------------------------+----------------------------
 testing if SpLim=$rbp and Sp=$rsp changed performance at all

  would need a stack check but then push could be used to spill to the
 stack

 Idea via Nathan Howell.

 At the very least, the x86 PUSH instruction has a more succinct encoding
 than MOV.

 worth hacking out to see if this can measurable shift ghc perf on nofib or
 not.

 this would be part of a larger effort to explore ways to improve GHC's
 calling convention for modern hardware

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



More information about the ghc-tickets mailing list