[GHC] #9281: Rewrite `integer-gmp` to use only non-allocating GMP functions

GHC ghc-devs at haskell.org
Sat Nov 22 12:23:33 UTC 2014


#9281: Rewrite `integer-gmp` to use only non-allocating GMP functions
-------------------------------------+-------------------------------------
              Reporter:  hvr         |            Owner:  hvr
                  Type:  task        |           Status:  patch
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Core        |          Version:
  Libraries                          |         Keywords:  integer-gmp
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:  #8647
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:  Phab:D82    |
-------------------------------------+-------------------------------------

Comment (by Herbert Valerio Riedel <hvr@…>):

 In [changeset:"be7fb7e58c70cd9b0a933fb26cd5f2607d6dc4b2/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="be7fb7e58c70cd9b0a933fb26cd5f2607d6dc4b2"
 integer-gmp2: export `Word`-counterpart of gcdInt

 It's trivial for `integer-gmp2` (#9281) to provide it, and it'll be
 useful for a future 'Natural'-related commit, as well as providing a
 `Word` optimised `gcd`-RULE.
 }}}

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


More information about the ghc-tickets mailing list