[GHC] #9246: GHC generates poor code for repeated uses of min/max
GHC
ghc-devs at haskell.org
Sun Jun 29 18:47:51 UTC 2014
#9246: GHC generates poor code for repeated uses of min/max
--------------------------------------------+------------------------------
Reporter: arotenberg | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.10.1
Component: Compiler | Version: 7.8.2
Resolution: | Keywords:
Operating System: Windows | Architecture: x86_64
Type of failure: Runtime performance bug | (amd64)
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets: #6135
--------------------------------------------+------------------------------
Comment (by carter):
I think your foo## operations can be safely marked INLINE, rather than
NOINLINE. Was there a reason for the NOINLINE? the code loos pretty darn
pure, so i don't see how NOINLINE would be needed, and that lack of
inlining would explain why the branchless stuff was slower
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9246#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list