[GHC] #9251: ghc does not expose branchless max/min operations as primops

GHC ghc-devs at haskell.org
Thu Oct 4 23:16:24 UTC 2018


#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 ulysses4ever):

 I agree with measure-first reasoning. How would one compare the
 performance of the current code with the one using primop which we haven't
 defined yet, though?

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9251#comment:23>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list