
#6084: Add stg_ap_pnnv and related call patterns -------------------------------------+------------------------------------ Reporter: SimonMeier | Owner: simonmar Type: feature request | Status: patch Priority: high | Milestone: 7.8.1 Component: Runtime System | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: 8313 | Related Tickets: -------------------------------------+------------------------------------ Comment (by simonmar): Thanks for revising the patch. I spotted one problem: you're referring to `fun` in two places, which might duplicate some code. The original patch put it in a temp variable for this reason. It's a good idea to peer at the Cmm code being generated to see whether it looks as you expect. We'll need a test for this in `testsuite/codeGen`. The nofib results are slightly suspicious: this patch should never increase allocation, but there's a 0.1% increase for `cacheprof`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/6084#comment:30 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler