#8647: Reduce allocations in `integer-gmp` --------------------------------------------+------------------------------ Reporter: hvr | Owner: Type: task | Status: patch Priority: normal | Milestone: 7.8.1 Component: libraries (other) | Version: 7.6.3 Resolution: | Keywords: integer- Operating System: Unknown/Multiple | gmp Type of failure: Runtime performance bug | Architecture: x86_64 Test Case: | (amd64) Blocking: | Difficulty: Unknown | Blocked By: | Related Tickets: #8638 --------------------------------------------+------------------------------ Comment (by Herbert Valerio Riedel <hvr@…>): In [changeset:"a3878d172b358b896b3c8302e58199958479d8e5/integer-gmp"]: {{{ #!CommitTicketReference repository="integer-gmp" revision="a3878d172b358b896b3c8302e58199958479d8e5" Temporary disable `mpz_gmpz_tdiv_qr_ui` to workaround #8661 I still need to investigated, but for some reason not yet obvious to me, commit [af2ba9c8/integer-gmp] (re #8647) seems to have triggered #8661 on linux/32 This commit disables the use of the `quotRemIntegerWord#` primop on 32bit (which seems to trigger the issue). Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org> }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8647#comment:10> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler