| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add a comment about storing the carry flag | Mattias Andrée | 2016-06-10 | 1 | -0/+5 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | zptest: if n is even, let the witness be 2 | Mattias Andrée | 2016-05-13 | 1 | -1/+1 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Miscellaneous stuff | Mattias Andrée | 2016-05-13 | 5 | -4/+11 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Always satisfy n=qd+r to avoid confusion | Mattias Andrée | 2016-05-11 | 1 | -3/+5 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | zstr_length: do not validate the radix if ZAHL_UNSAFE is used | Mattias Andrée | 2016-05-11 | 1 | -1/+1 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Work on the manual and zstr_length checks that the radix is valid | Mattias Andrée | 2016-05-11 | 1 | -0/+2 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Some small improvements | Mattias Andrée | 2016-05-07 | 2 | -8/+15 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimisations | Mattias Andrée | 2016-05-07 | 10 | -81/+45 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Make zdiv and zmod (calls zdivmod) inline | Mattias Andrée | 2016-05-06 | 2 | -18/+0 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Make zmul and zsqr (calls low-level functions) inline | Mattias Andrée | 2016-05-06 | 5 | -46/+20 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimise ztrunc | Mattias Andrée | 2016-05-05 | 1 | -7/+3 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimisations | Mattias Andrée | 2016-05-05 | 1 | -77/+55 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimise zadd on x86-64 | Mattias Andrée | 2016-05-05 | 1 | -4/+96 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimise zadd | Mattias Andrée | 2016-05-04 | 1 | -11/+17 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimise zlsh | Mattias Andrée | 2016-05-04 | 2 | -10/+44 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimise znot | Mattias Andrée | 2016-05-04 | 5 | -15/+41 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimise zand, zor, and zxor | Mattias Andrée | 2016-05-04 | 4 | -72/+43 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Fix indent | Mattias Andrée | 2016-05-04 | 1 | -1/+1 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | zstr: do not calculate the exact output size, calculate something easier | Mattias Andrée | 2016-05-02 | 1 | -9/+5 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Constants do not need dynamic memory | Mattias Andrée | 2016-05-01 | 3 | -12/+12 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Some optimisations | Mattias Andrée | 2016-04-30 | 6 | -55/+82 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Some optimisations | Mattias Andrée | 2016-04-30 | 1 | -1/+0 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Specify optimisation level on functions in zahl-inlines.h | Mattias Andrée | 2016-04-29 | 1 | -25/+7 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Some optimisations, fix refsheet, and disable const/pure attributes in gmp in benchmark | Mattias Andrée | 2016-04-29 | 6 | -75/+20 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Change UNSAFE to ZAHL_UNSAFE, so it can be used in zahl-inlines.h | Mattias Andrée | 2016-04-29 | 2 | -2/+2 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Fix warnings | Mattias Andrée | 2016-04-28 | 1 | -2/+1 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Error-check implies unlikely branching | Mattias Andrée | 2016-04-27 | 8 | -13/+13 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add option UNSAFE which disables all internal error checks | Mattias Andrée | 2016-04-27 | 11 | -21/+30 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimise zpowu and zmodpowu | Mattias Andrée | 2016-04-27 | 2 | -4/+8 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add error checking to tomsfastmath translation and sort includes | Mattias Andrée | 2016-04-27 | 1 | -2/+2 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Improve library translations | Mattias Andrée | 2016-04-27 | 1 | -0/+1 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Fix possible memory in zstr on failure | Mattias Andrée | 2016-04-27 | 3 | -1/+6 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | zstr: add new parameter, n: the known limit out the length of the output | Mattias Andrée | 2016-04-27 | 1 | -8/+22 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Add, and use, libzahl_memfailure for conciseness, also fix possible unset errno | Mattias Andrée | 2016-04-26 | 4 | -15/+15 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | zzero1 did not guarantee that all arguments were evaulated exactly once, thus made static inline | Mattias Andrée | 2016-04-26 | 1 | -1/+6 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Ensure that failure does not result in memory leak | Mattias Andrée | 2016-04-26 | 5 | -14/+91 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Fix warnings (that were not turned on by default) | Mattias Andrée | 2016-04-08 | 8 | -28/+23 |
| | | | | | 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 | 1 | -19/+13 |
| | | | | | 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 | 1 | -28/+133 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | zrand: add DEFAULT_RANDOM and FASTEST_RANDOM | Mattias Andrée | 2016-03-25 | 1 | -0/+2 |
| | | | | | 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 | 1 | -0/+8 |
| | | | | | 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> | ||||
| * | Optimise zsqr, zmul, zstr, zdivmod, zpow, and zpowu | Mattias Andrée | 2016-03-16 | 7 | -91/+168 |
| | | | | | 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 | 8 | -106/+156 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Optimisations | Mattias Andrée | 2016-03-15 | 10 | -137/+64 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
| * | Mostly optimisations | Mattias Andrée | 2016-03-14 | 15 | -158/+195 |
| | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
