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)
commitc6f046a32a51898cc4ce96b3d4954b2133acd75a
tree40039f56a8550b740409df16bbcbdf23c260ed4d
parent3c93d7f61821345f29b9ee8a99346fa464d708a4
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>
GHC/Integer/Type.lhs