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

GHC ghc-devs at haskell.org
Thu Sep 12 09:06:32 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:           |          Version:  7.7
  Compiler                  |         Keywords:  callingConvention
      Resolution:           |     Architecture:  x86_64 (amd64)
Operating System:           |       Difficulty:  Project (more than a week)
  Unknown/Multiple          |       Blocked By:
 Type of failure:           |  Related Tickets:
  None/Unknown              |
       Test Case:           |
        Blocking:           |
----------------------------+----------------------------------------------

Comment (by ezyang):

 Sorry, I misspoke. I am actually speaking of CALL/RET, and the problem is
 described in "Faster Laziness Using Dynamic Pointer Tagging." There is one
 more problem with setting Sp=$rsp, and that is that the register is
 already taken: execution maintains both a Haskell stack and a C stack. The
 C stack is used for register spills by the register allocator.

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



More information about the ghc-tickets mailing list