
#9661: Branchless ==# is compiled to branchy code -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.9 Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: Runtime | Related Tickets: performance bug | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by jstolarek): Replying to [comment:9 rwbarton]:
It was not undertaken to give the user control over whether GHC produces branchless code or branching code. Yes, it was undertaken exactly for that reason! Read the original report for #6135 and PrimBool wiki page.
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9661#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler