aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-10-21 15:50:08 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-10-21 15:50:08 +0800
commitc6796d12425fdd3878891b09f2ed435e0c73f074 (patch)
tree99aa4bdd5b7d938916db432a0687f053721502bb /src
parent87e81b9780d9a3e061fe3e706c53e4865cd66fb8 (diff)
downloadtangerine-mcl-c6796d12425fdd3878891b09f2ed435e0c73f074.tar.gz
tangerine-mcl-c6796d12425fdd3878891b09f2ed435e0c73f074.tar.zst
tangerine-mcl-c6796d12425fdd3878891b09f2ed435e0c73f074.zip
fix for debug mode
Diffstat (limited to 'src')
-rw-r--r--src/fp_generator.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fp_generator.hpp b/src/fp_generator.hpp
index 392e3ba..581a0de 100644
--- a/src/fp_generator.hpp
+++ b/src/fp_generator.hpp
@@ -1556,9 +1556,9 @@ private:
*/
void mulPackAddShr(const Pack& z, const RegExp& p, const Reg64& H, bool last = false)
{
- assert(n >= 3);
const Reg64& a = rax;
const size_t n = z.size();
+ assert(n >= 3);
// clear CF and OF
xor_(a, a);
const size_t loop = last ? n - 1 : n - 3;