| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Some improvements: | Mattias Andrée | 2016-04-08 | 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> | ||||
| * | gitignore: blacklist _/, for private files | Mattias Andrée | 2016-04-08 | 1 | -0/+1 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Split out zahl-inlines.h zahl-internals.h from zahl.h to hide uninteresting stuff | Mattias Andrée | 2016-04-07 | 5 | -274/+287 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | zptest: use DEFAULT_RANDOM | Mattias Andrée | 2016-04-07 | 1 | -1/+1 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add rand(3), lrand(3), and random(3) to zrand | Mattias Andrée | 2016-03-27 | 8 | -32/+211 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | zrand: add DEFAULT_RANDOM and FASTEST_RANDOM | Mattias Andrée | 2016-03-25 | 4 | -8/+35 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | zrand: add MODUNIFORM and add tests for QUASIUNIFORM and MODUNIFORM | Mattias Andrée | 2016-03-25 | 4 | -1/+57 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Rename zsplit_unsigned_fast_small_tainted to zsplit_unsigned_fast_small_auto | Mattias Andrée | 2016-03-25 | 2 | -2/+2 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add note on performance of commutative functions with assignment to operand | Mattias Andrée | 2016-03-16 | 1 | -0/+15 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimise zsqr, zmul, zstr, zdivmod, zpow, and zpowu | Mattias Andrée | 2016-03-16 | 8 | -91/+172 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Fix bug in libzahl_msb_nz_* and optimise and simplify libzahl_realloc | Mattias Andrée | 2016-03-15 | 2 | -17/+11 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Remove unnecessary trim | Mattias Andrée | 2016-03-15 | 1 | -1/+0 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimise zsqr, and optimise zmul a little | Mattias Andrée | 2016-03-15 | 3 | -55/+112 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimise zsetup, zgcd, zmul, and zsqr and add -flto | Mattias Andrée | 2016-03-15 | 12 | -107/+171 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimisations | Mattias Andrée | 2016-03-15 | 13 | -149/+214 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimise zswap | Mattias Andrée | 2016-03-14 | 1 | -1/+19 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Mostly optimisations | Mattias Andrée | 2016-03-14 | 24 | -251/+337 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Fix so that no workaround is required. | Mattias Andrée | 2016-03-14 | 1 | -6/+1 |
| | | | | | | | Thanks to Alexis Megas. Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Cleaner workaround for clang bug | Mattias Andrée | 2016-03-14 | 1 | -32/+15 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add reference to clang bug report | Mattias Andrée | 2016-03-14 | 1 | -0/+1 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Multiple changes: | Mattias Andrée | 2016-03-13 | 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> | ||||
| * | Optimisations | Mattias Andrée | 2016-03-13 | 38 | -151/+194 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Make zabs, zneg and zswap inline | Mattias Andrée | 2016-03-13 | 5 | -46/+14 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add possibility to compare against libgmp | Mattias Andrée | 2016-03-13 | 3 | -0/+196 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add possibility to compare against libtommath | Mattias Andrée | 2016-03-12 | 3 | -1/+202 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | 64 bits (severely) outshines 16 bits and 8 bits in performance: do some cleanup | Mattias Andrée | 2016-03-12 | 2 | -20/+0 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | 64-bit chars out-perform 32-bit chars on almost all operations, and on all expensive operations | Mattias Andrée | 2016-03-12 | 5 | -23/+17 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add simple benchmarker | Mattias Andrée | 2016-03-09 | 3 | -0/+136 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | A brief description of exponentiation by squaring | Mattias Andrée | 2016-03-07 | 1 | -0/+6 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Fix another typo | Mattias Andrée | 2016-03-07 | 1 | -1/+1 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Fix typo | Mattias Andrée | 2016-03-06 | 1 | -1/+1 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | A description of the Karatsuba algorithm | Mattias Andrée | 2016-03-06 | 1 | -0/+6 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | -O3 seem to produce fastest binary1.0 | Mattias Andrée | 2016-03-06 | 1 | -1/+1 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Clean up | Mattias Andrée | 2016-03-05 | 1 | -2/+0 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Makefile: add install and uninstall | Mattias Andrée | 2016-03-05 | 2 | -3/+20 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add memory pool, also let the user know that libzahl is not designed for cryptography | Mattias Andrée | 2016-03-05 | 9 | -18/+98 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | zinit is now an inline function | Mattias Andrée | 2016-03-05 | 3 | -14/+12 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Improve zsub, only copy to temp when necessary | Mattias Andrée | 2016-03-05 | 2 | -15/+15 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Fix bugs and add a randomised testing | Mattias Andrée | 2016-03-05 | 14 | -55/+892 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | More detailed description of division and modulus | Mattias Andrée | 2016-03-05 | 7 | -4/+35 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Makefile: add check rule | Mattias Andrée | 2016-03-04 | 1 | -1/+4 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Clean up, add zerror and zperror, fix bugs and add more tests | Mattias Andrée | 2016-03-04 | 29 | -119/+533 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Clean up, fix a few bugs, and add a test | Mattias Andrée | 2016-03-04 | 20 | -49/+792 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add makefile and fix errors | Mattias Andrée | 2016-03-04 | 51 | -98/+178 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add zptest | Mattias Andrée | 2016-03-03 | 3 | -2/+82 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add zrand | Mattias Andrée | 2016-03-03 | 2 | -1/+97 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Cleanup and fix bug in ztrunc | Mattias Andrée | 2016-03-03 | 23 | -193/+134 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | zsets: minor optimisation | Mattias Andrée | 2016-03-03 | 1 | -1/+4 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add zmul and zsqr | Mattias Andrée | 2016-03-03 | 2 | -0/+171 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimised zdivmod | Mattias Andrée | 2016-03-03 | 4 | -10/+39 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
