| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2016-04-26 | Add, and use, libzahl_memfailure for conciseness, also fix possible unset errno | Mattias Andrée | 4 | -15/+15 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-26 | zzero1 did not guarantee that all arguments were evaulated exactly once, thus made static inline | Mattias Andrée | 1 | -1/+6 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-26 | Ensure that failure does not result in memory leak | Mattias Andrée | 7 | -24/+102 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-24 | Zahl[en] is spelled with upper case Z | Mattias Andrée | 2 | -3/+3 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-24 | Add more functions to benchmark-func | Mattias Andrée | 1 | -3/+3 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-24 | bench/benchmark-func.c: add support for more functions | Mattias Andrée | 1 | -44/+44 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-24 | bench/benchmark-func.c | Mattias Andrée | 10 | -2/+405 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-23 | Add support for benchmark against hebimath | Mattias Andrée | 3 | -36/+405 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-22 | Add support for benchmark against TomsFastMath | Mattias Andrée | 3 | -3/+305 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-20 | Unlist fixed entry from the todo-list | Mattias Andrée | 1 | -1/+0 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-08 | Fix warnings (that were not turned on by default) | Mattias Andrée | 11 | -36/+32 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-08 | Some improvements: | Mattias Andrée | 5 | -21/+82 | |
| - Improve .gitignore - Improve portability of the makefile - Bring the translations, for gmp and tommath, used by the benchmark up to date Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-08 | gitignore: blacklist _/, for private files | Mattias Andrée | 1 | -0/+1 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-07 | Split out zahl-inlines.h zahl-internals.h from zahl.h to hide uninteresting stuff | Mattias Andrée | 5 | -274/+287 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-07 | zptest: use DEFAULT_RANDOM | Mattias Andrée | 1 | -1/+1 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-27 | Add rand(3), lrand(3), and random(3) to zrand | Mattias Andrée | 8 | -32/+211 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-25 | zrand: add DEFAULT_RANDOM and FASTEST_RANDOM | Mattias Andrée | 4 | -8/+35 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-25 | zrand: add MODUNIFORM and add tests for QUASIUNIFORM and MODUNIFORM | Mattias Andrée | 4 | -1/+57 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-25 | Rename zsplit_unsigned_fast_small_tainted to zsplit_unsigned_fast_small_auto | Mattias Andrée | 2 | -2/+2 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-16 | Add note on performance of commutative functions with assignment to operand | Mattias Andrée | 1 | -0/+15 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-16 | Optimise zsqr, zmul, zstr, zdivmod, zpow, and zpowu | Mattias Andrée | 8 | -91/+172 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-15 | Fix bug in libzahl_msb_nz_* and optimise and simplify libzahl_realloc | Mattias Andrée | 2 | -17/+11 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-15 | Remove unnecessary trim | Mattias Andrée | 1 | -1/+0 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-15 | Optimise zsqr, and optimise zmul a little | Mattias Andrée | 3 | -55/+112 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-15 | Optimise zsetup, zgcd, zmul, and zsqr and add -flto | Mattias Andrée | 12 | -107/+171 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-15 | Optimisations | Mattias Andrée | 13 | -149/+214 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-14 | Optimise zswap | Mattias Andrée | 1 | -1/+19 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-14 | Mostly optimisations | Mattias Andrée | 24 | -251/+337 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-14 | Fix so that no workaround is required. | Mattias Andrée | 1 | -6/+1 | |
| Thanks to Alexis Megas. Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-14 | Cleaner workaround for clang bug | Mattias Andrée | 1 | -32/+15 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-14 | Add reference to clang bug report | Mattias Andrée | 1 | -0/+1 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-13 | Multiple changes: | Mattias Andrée | 41 | -152/+277 | |
| 1) Compile test with -O0, it takes too long otherwise. 2) Add error codes: ZERROR_0_POW_0, ZERROR_0_DIV_0, ZERROR_DIV_0, ZERROR_NEGATIVE. 3) Add workaround for a bug in clang (src/allocator.c). 4) Cleanups. 5) Minor optimisations. 6) Add inclusion guard for zahl.h. Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-13 | Optimisations | Mattias Andrée | 38 | -151/+194 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-13 | Make zabs, zneg and zswap inline | Mattias Andrée | 5 | -46/+14 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-13 | Add possibility to compare against libgmp | Mattias Andrée | 3 | -0/+196 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-12 | Add possibility to compare against libtommath | Mattias Andrée | 3 | -1/+202 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-12 | 64 bits (severely) outshines 16 bits and 8 bits in performance: do some cleanup | Mattias Andrée | 2 | -20/+0 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-12 | 64-bit chars out-perform 32-bit chars on almost all operations, and on all expensive operations | Mattias Andrée | 5 | -23/+17 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-09 | Add simple benchmarker | Mattias Andrée | 3 | -0/+136 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-07 | A brief description of exponentiation by squaring | Mattias Andrée | 1 | -0/+6 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-07 | Fix another typo | Mattias Andrée | 1 | -1/+1 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-06 | Fix typo | Mattias Andrée | 1 | -1/+1 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-06 | A description of the Karatsuba algorithm | Mattias Andrée | 1 | -0/+6 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-06 | -O3 seem to produce fastest binary1.0 | Mattias Andrée | 1 | -1/+1 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-05 | Clean up | Mattias Andrée | 1 | -2/+0 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-05 | Makefile: add install and uninstall | Mattias Andrée | 2 | -3/+20 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-05 | Add memory pool, also let the user know that libzahl is not designed for cryptography | Mattias Andrée | 9 | -18/+98 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-05 | zinit is now an inline function | Mattias Andrée | 3 | -14/+12 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-05 | Improve zsub, only copy to temp when necessary | Mattias Andrée | 2 | -15/+15 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-05 | Fix bugs and add a randomised testing | Mattias Andrée | 14 | -55/+892 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
