[GHC] #10962: Improved arithmetic primops

GHC ghc-devs at haskell.org
Mon Oct 12 21:40:39 UTC 2015


#10962: Improved arithmetic primops
-------------------------------------+-------------------------------------
        Reporter:  nkaretnikov       |                Owner:  nkaretnikov
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
  wiki:ImprovedArithmeticPrimops     |
-------------------------------------+-------------------------------------
Description changed by thoughtpolice:

Old description:

> See the todo list on the wiki page.

New description:

 There are a few primops that report arithmetic overflow, which work on
 `Int`s and a couple or so for `Word`s. But that's not enough! Let's add
 more and clean up the existing code (e.g., make overflow-reporting helpers
 proper primops) on the go. See the wiki page for the proposal.

--

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


More information about the ghc-tickets mailing list