Make use of `quotRemInt#` primop in `quotRemInteger`
authorHerbert Valerio Riedel <hvr@gnu.org>
Fri, 3 Jan 2014 21:42:33 +0000 (22:42 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Fri, 3 Jan 2014 21:49:05 +0000 (22:49 +0100)
commit4cc6785ab434e781be40e88b27a36c490d257323
tree2f22fc1fa2343ccf9b67952ef2446251450b980a
parentfc8e15b8aca01608c79a42021c7b1efb878e680d
Make use of `quotRemInt#` primop in `quotRemInteger`

Otoh, `divModInt#` is not a proper primop (it's implemented as wrapper
around `quotRemInt#` in `GHC.Base`), so we can't do the same for
`divModInteger` yet.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
libraries/integer-gmp/GHC/Integer/Type.lhs