[GHC] #8590: Reduce code size of CAFs
GHC
ghc-devs at haskell.org
Fri Dec 6 10:02:03 UTC 2013
#8590: Reduce code size of CAFs
-------------------------------------+------------------------------------
Reporter: parcs | Owner: parcs
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Compiler (NCG) | Version: 7.7
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by simonmar):
I think it's a good idea, and it's great that you're finding ways to
squeeze the code size. Keep at it! :)
> jump (%ENTRY_CODE(info)) ()
I think you'll want that to be
{{{
jump (%ENTRY_CODE(info)) (node)
}}}
One other thing you'll need to look at is reverting CAFs, which will need
to put the `stg_CAF_info` back, rather than the saved info pointer.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8590#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list