aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-15 11:40:46 +0100
committerMattias Andrée <maandree@kth.se>2016-03-15 11:40:46 +0100
commitf3b969b6991f154a1fde1ea6b4488320ed0b486f (patch)
treed17fd525c8bcfed5dd218501214330262efb52c0 /TODO
parentOptimisations (diff)
downloadlibzahl-f3b969b6991f154a1fde1ea6b4488320ed0b486f.tar.gz
libzahl-f3b969b6991f154a1fde1ea6b4488320ed0b486f.tar.bz2
libzahl-f3b969b6991f154a1fde1ea6b4488320ed0b486f.tar.xz
Optimise zsetup, zgcd, zmul, and zsqr and add -flto
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'TODO')
-rw-r--r--TODO7
1 files changed, 7 insertions, 0 deletions
diff --git a/TODO b/TODO
index 23edfbf..603fabb 100644
--- a/TODO
+++ b/TODO
@@ -8,3 +8,10 @@ Add zranddist value based on % for fitness to bound
Test big endian
Test always having used > 0 for zero
Test negative/non-negative instead of sign
+
+Test optimisation of zmul:
+ bc = [(Hb * Hc) << (m2 << 1)]
+ + [(Hb * Hc) << m2]
+ - [(Hb - Lb)(Hc - Lc) << m2]
+ + [(Lb * Lc) << m2]
+ + (Lb * Lc)