#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:"ed56c023e3e2e3d2a9fe18a17e2131d9a55c69a5/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="ed56c023e3e2e3d2a9fe18a17e2131d9a55c69a5" Use {bit,popCount}Integer for `Bits Integer` The primops are implemented in the `integer-gmp2` (#9281) backend and are already used for the `Bits Natural` instance but aren't used yet for the `Bits Integer` instace. This commit fixes that. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9281#comment:23> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler