
#9251: ghc does not expose branchless max/min operations as primops -------------------------------------+------------------------------------- Reporter: carter | Owner: osa1 Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: #9246 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Well, implementing then measuring (and accept the fact that the implementation may be thrown away as a consequence) is one option. However, another option would be to work incrementally: measuring a best- case speed-up in a C (or similar) program. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9251#comment:25 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler