Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Comparison primops return Int# (Fixes #6135) | Jan Stolarek | 2013-07-19 | 4 | -44/+70 | |
| | | | | | For a deatiled discussion of this changes please visit the wiki page: http://hackage.haskell.org/trac/ghc/wiki/PrimBool | |||||
* | Follow GHC build system changes | Ian Lynagh | 2013-07-03 | 1 | -1/+1 | |
| | ||||||
* | Run "sh ./configure" rather than "sh configure"; part of #7992 | Ian Lynagh | 2013-06-22 | 1 | -2/+2 | |
| | | | | This fixes a bug with how configure re-execs itself. | |||||
* | Handle dependencies for .cmm files properly | Ian Lynagh | 2013-05-09 | 1 | -6/+2 | |
| | ||||||
* | Fix build when gmp isn't installed | Ian Lynagh | 2013-04-28 | 1 | -0/+6 | |
| | ||||||
* | Build system refactoring | Ian Lynagh | 2013-04-20 | 6 | -14/+52 | |
| | ||||||
* | integer-gmp: mpn_gcd_1 allocate one Word on stack instead of 'sizeof ↵ | Sergei Trofimovich | 2013-03-17 | 1 | -2/+2 | |
| | | | | | | | | | (__mpz_struct)' gmp.h defines 'mpn_gcd_1' as following: mp_limb_t mpn_gcd_1 (mp_srcptr /* aka 'mp_limb_t *' */, mp_size_t, mp_limb_t); Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> | |||||
* | Follow changes in GHC's build system | Ian Lynagh | 2013-03-01 | 1 | -1/+1 | |
| | ||||||
* | Fix GMP_PREFER_FRAMEWORK | Ian Lynagh | 2013-02-09 | 1 | -5/+5 | |
| | | | | It doesn't look like the old code could have worked | |||||
* | Never try to use the system gmp on Windows | Ian Lynagh | 2013-02-09 | 3 | -6/+21 | |
| | | | | | Apparently building on Windows failed when there is a system gmp available. | |||||
* | Revert "integer-gmp: improve cross-compiling support GmpDerivedConstants.h" | Simon Marlow | 2013-01-26 | 5 | -34/+87 | |
| | | | | | | | This reverts commit 860f2fa9a1f1ca4f8d94388723687f90d122ae81. People reported problems with it on the mailing list, so reverting until we can figure out the cause. | |||||
* | integer-gmp: improve cross-compiling support GmpDerivedConstants.h | Sergei Trofimovich | 2013-01-24 | 5 | -87/+34 | |
| | | | | | | | | | | Before the patch GmpDerivedConstants.h was generated by running mkGmpDerivedConstants on target. Now it's generated only with help of autoconf macros. Tested on --target=ia64-unknown-linux-gnu. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> | |||||
* | Fix configure when we don't have a gmp library | Ian Lynagh | 2013-01-01 | 1 | -1/+1 | |
| | ||||||
* | Provide a way for OS X users to indicate a preference for the GMP framework | Ian Lynagh | 2013-01-01 | 3 | -27/+65 | |
| | | | | | | | | We used to always use the framework if it existed. Now the make variable GMP_PREFER_FRAMEWORK can be used to control whether the library or the framework is preferred. Fixes #7466. | |||||
* | zap obsolete FIXME, fix typos | Gabor Greif | 2012-12-14 | 1 | -5/+3 | |
| | ||||||
* | Bump version number following new policy | Ian Lynagh | 2012-11-30 | 1 | -1/+1 | |
| | | | | | We now keep the HEAD version numbers as values which would be suitable for immediate release. | |||||
* | Add comment to .cabal file saying what GHC 7.6.1 shipped with | Ian Lynagh | 2012-11-30 | 1 | -0/+1 | |
| | ||||||
* | fix type mismatch in result of integer_cmm_testBitIntegerzh | Simon Marlow | 2012-10-22 | 1 | -1/+1 | |
| | ||||||
* | Adapt to new Cmm syntax | Simon Marlow | 2012-10-04 | 1 | -244/+182 | |
| | ||||||
* | Fix building on Windows | Ian Lynagh | 2012-08-07 | 1 | -0/+1 | |
| | ||||||
* | Define testBitInteger; part of #3489 | Ian Lynagh | 2012-08-05 | 4 | -2/+44 | |
| | | | | Based on a patch from pumpkingod@gmail.com | |||||
* | Whitespace only: Line some things up better | Ian Lynagh | 2012-08-05 | 1 | -18/+18 | |
| | ||||||
* | Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/integer-gmp | Ian Lynagh | 2012-07-19 | 1 | -1/+1 | |
|\ | ||||||
| * | Bump version to 0.5.0.0 | Paolo Capriotti | 2012-07-19 | 1 | -1/+1 | |
| | | ||||||
* | | Simplify how gcd @ Int is implemented | Ian Lynagh | 2012-07-18 | 2 | -11/+2 | |
| | | ||||||
* | | Move some rules into PrelRules | Ian Lynagh | 2012-07-18 | 1 | -10/+0 | |
|/ | ||||||
* | Add another gcdInteger rule | Ian Lynagh | 2012-07-13 | 1 | -3/+8 | |
| | | | | This one is better when the result is converted to an Int | |||||
* | Tweak RULEs; fixes #7041 | Ian Lynagh | 2012-07-13 | 1 | -6/+3 | |
| | | | | | | | In particular, the gcd rule now uses smallInteger rather than S#, which means that it actually fires. Also fixed a bug when the result is minBound :: Int. | |||||
* | Add missing imports. | Paolo Capriotti | 2012-06-27 | 1 | -0/+2 | |
| | ||||||
* | Use CLong, not CInt, for mp_bitcnt_t value; fixes #5965 | Ian Lynagh | 2012-06-20 | 1 | -2/+2 | |
| | | | | | | | | The GMP docs say: Counts of bits of a multi-precision number are represented in the C type mp_bitcnt_t. Currently this is always an unsigned long, but on some systems it will be an unsigned long long in the future. | |||||
* | Add divInteger and modInteger functions | Ian Lynagh | 2012-06-19 | 4 | -2/+35 | |
| | | | | | Now that divModInteger isn't inlined, we were getting allocations for both results even if we're just going to throw one away. | |||||
* | Use divInt#/modInt# from ghc-prim | Ian Lynagh | 2012-06-19 | 1 | -16/+1 | |
| | ||||||
* | Fix compilation under LLVM backend. (#5965) | David Terei | 2012-03-28 | 1 | -1/+1 | |
| | | | | Recent change means ul is truncate to an int, not a long anymore. | |||||
* | Fix building libgmp on cygwin | Ian Lynagh | 2012-03-16 | 1 | -0/+6 | |
| | ||||||
* | Win64 fix | Ian Lynagh | 2012-03-15 | 1 | -1/+1 | |
| | ||||||
* | Update .gitignore. | Paolo Capriotti | 2012-03-06 | 1 | -0/+11 | |
| | ||||||
* | Updated to a newer version of gmp; fixes #5810 | Ian Lynagh | 2012-02-03 | 1 | -0/+0 | |
| | | | | | | | | I didn't diagnose the problem, but with the newer GMP the problem seems fixed. There are a couple of things that look like candidates for the bug: * A few minor bugs related to portability fixed. * A bug in division code possibly causing incorrect computation was fixed. | |||||
* | Add some rules; fixes #5767 | Ian Lynagh | 2012-01-26 | 1 | -0/+10 | |
| | | | | | | | | We now have rules for integerToInt (smallInteger x) = x integerToWord (wordToInteger x) = x integerToInt64 (int64ToInteger x) = x integerToWord64 (word64ToInteger x) = x | |||||
* | Use the mingw touch program on Windows | Ian Lynagh | 2011-12-02 | 1 | -1/+1 | |
| | ||||||
* | Track changes to the way we reference CCCS in GHC (was: W_[CCCS], now: CCCS) | Simon Marlow | 2011-12-01 | 1 | -5/+5 | |
| | ||||||
* | update to track changes to CCCS in the RTS | Simon Marlow | 2011-11-29 | 1 | -2/+4 | |
| | ||||||
* | Follow GHC build system change to the way we call rm | Ian Lynagh | 2011-11-19 | 1 | -2/+2 | |
| | ||||||
* | Eliminate intermediate overflow for encodeFloat, fixes #5524 | Daniel Fischer | 2011-10-01 | 1 | -4/+90 | |
| | ||||||
* | Untabify cbits/float.c | Daniel Fischer | 2011-10-01 | 1 | -35/+35 | |
| | ||||||
* | Define mkInteger | Ian Lynagh | 2011-09-17 | 2 | -1/+11 | |
| | | | | Now used by GHC to generate Integer literals. | |||||
* | Export GMP-only functions from the Internals module | Ian Lynagh | 2011-09-13 | 1 | -1/+1 | |
| | ||||||
* | NOINLINE a couple more functions | Ian Lynagh | 2011-09-13 | 1 | -2/+2 | |
| | | | | | We don't need them to be inlined at all, following changes in how GHC handles Integers. | |||||
* | Don't export gcdInteger, lcmInteger from GHC.Integer | Ian Lynagh | 2011-09-13 | 1 | -1/+1 | |
| | | | | integer-simple doesn't export them | |||||
* | Follow ghc-prim changes | Ian Lynagh | 2011-08-26 | 1 | -1/+0 | |
| | ||||||
* | Export Integer(..) from GHC.Integer.GMP.Internals again; fixes #5419 | Ian Lynagh | 2011-08-25 | 4 | -194/+201 | |
| | | | | The GMP primitives are now in GHC.Integer.GMP.Prim instead. |