| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2016-05-04 | Optimise zlsh | Mattias Andrée | 2 | -10/+44 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-05-04 | Optimise znot | Mattias Andrée | 5 | -15/+41 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-05-04 | Optimise zand, zor, and zxor | Mattias Andrée | 4 | -72/+43 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-05-04 | Fix indent | Mattias Andrée | 1 | -1/+1 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-05-02 | zstr: do not calculate the exact output size, calculate something easier | Mattias Andrée | 1 | -9/+5 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-05-01 | Constants do not need dynamic memory | Mattias Andrée | 3 | -12/+12 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-30 | Some optimisations | Mattias Andrée | 6 | -55/+82 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-30 | Some optimisations | Mattias Andrée | 1 | -1/+0 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-29 | Specify optimisation level on functions in zahl-inlines.h | Mattias Andrée | 1 | -25/+7 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-29 | Some optimisations, fix refsheet, and disable const/pure attributes in gmp in benchmark | Mattias Andrée | 6 | -75/+20 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-29 | Change UNSAFE to ZAHL_UNSAFE, so it can be used in zahl-inlines.h | Mattias Andrée | 2 | -2/+2 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-28 | Fix warnings | Mattias Andrée | 1 | -2/+1 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-27 | Error-check implies unlikely branching | Mattias Andrée | 8 | -13/+13 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-27 | Add option UNSAFE which disables all internal error checks | Mattias Andrée | 11 | -21/+30 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-27 | Optimise zpowu and zmodpowu | Mattias Andrée | 2 | -4/+8 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-27 | Add error checking to tomsfastmath translation and sort includes | Mattias Andrée | 1 | -2/+2 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-27 | Improve library translations | Mattias Andrée | 1 | -0/+1 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-27 | Fix possible memory in zstr on failure | Mattias Andrée | 3 | -1/+6 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-27 | zstr: add new parameter, n: the known limit out the length of the output | Mattias Andrée | 1 | -8/+22 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 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 | 5 | -14/+91 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-04-08 | Fix warnings (that were not turned on by default) | Mattias Andrée | 8 | -28/+23 | |
| 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 | 1 | -19/+13 | |
| 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 | 1 | -28/+133 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-25 | zrand: add DEFAULT_RANDOM and FASTEST_RANDOM | Mattias Andrée | 1 | -0/+2 | |
| 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 | 1 | -0/+8 | |
| 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 | Optimise zsqr, zmul, zstr, zdivmod, zpow, and zpowu | Mattias Andrée | 7 | -91/+168 | |
| 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 | 8 | -106/+156 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-15 | Optimisations | Mattias Andrée | 10 | -137/+64 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-14 | Mostly optimisations | Mattias Andrée | 15 | -158/+195 | |
| 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 | 37 | -147/+219 | |
| 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 | 34 | -143/+115 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
| 2016-03-13 | Make zabs, zneg and zswap inline | Mattias Andrée | 3 | -32/+0 | |
| 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 | 4 | -22/+16 | |
| 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-05 | Clean up | Mattias Andrée | 1 | -2/+0 | |
| 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 | 5 | -16/+90 | |
| Signed-off-by: Mattias Andrée <maandree@kth.se> | |||||
