diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-01-02 09:31:50 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-01-04 22:17:26 +0100 |
commit | 4b859eeee272b7c2dee92a1aa07d5cad49dd8d79 (patch) | |
tree | 47c8b048b5cc4a19cae095d49e246f3ed0afb017 /libraries/integer-gmp/integer-gmp.buildinfo.in | |
parent | 2a336602fc2ffe6dd7466743b74414e8dc72340b (diff) | |
download | haskell-4b859eeee272b7c2dee92a1aa07d5cad49dd8d79.tar.gz |
Add new `mpz_mul_si`-based primop (re #8647)
This primop helps reducing allocation by being able to pass one `S#`
argument directly to the GMP multiplication primitive without needing to
promote (and thus allocate a `ByteArray#` as well) the `J#` first.
This benefits a few nofib benchmarks wrt to allocations (having most
impact on `kahan` resulting in about 10% less allocations)
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'libraries/integer-gmp/integer-gmp.buildinfo.in')
0 files changed, 0 insertions, 0 deletions