diff options
author | Jason Gross <jgross@mit.edu> | 2017-11-12 21:04:21 -0500 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-11-12 21:04:21 -0500 |
commit | 87f39543ffd547772d6f31d313ae64be50fe3515 (patch) | |
tree | 6be2757afc450cd4586b30aa31045f441e019eca /src/Specific/solinas64_2e130m5_4limbs | |
parent | c3279e03ecac28252d8b3aaed9af876bf8e8e55f (diff) |
Update display logs and c files
Diffstat (limited to 'src/Specific/solinas64_2e130m5_4limbs')
-rw-r--r-- | src/Specific/solinas64_2e130m5_4limbs/fesub.c | 8 | ||||
-rw-r--r-- | src/Specific/solinas64_2e130m5_4limbs/fesubDisplay.log | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Specific/solinas64_2e130m5_4limbs/fesub.c b/src/Specific/solinas64_2e130m5_4limbs/fesub.c index 8b94725d5..776a276d7 100644 --- a/src/Specific/solinas64_2e130m5_4limbs/fesub.c +++ b/src/Specific/solinas64_2e130m5_4limbs/fesub.c @@ -7,9 +7,9 @@ static void fesub(uint64_t out[4], const uint64_t in1[4], const uint64_t in2[4]) { const uint64_t x15 = in2[2]; { const uint64_t x13 = in2[1]; { const uint64_t x11 = in2[0]; - out[0] = ((Const 17179869174 + x5) - x11); - out[1] = ((Const 8589934590 + x7) - x13); - out[2] = ((Const 17179869182 + x9) - x15); - out[3] = ((Const 8589934590 + x8) - x14); + out[0] = ((0x3fffffff6 + x5) - x11); + out[1] = ((0x1fffffffe + x7) - x13); + out[2] = ((0x3fffffffe + x9) - x15); + out[3] = ((0x1fffffffe + x8) - x14); }}}}}}}} } diff --git a/src/Specific/solinas64_2e130m5_4limbs/fesubDisplay.log b/src/Specific/solinas64_2e130m5_4limbs/fesubDisplay.log index 80b79f572..dec95f014 100644 --- a/src/Specific/solinas64_2e130m5_4limbs/fesubDisplay.log +++ b/src/Specific/solinas64_2e130m5_4limbs/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x8, x9, x7, x5, (x14, x15, x13, x11))%core, - (((Const 8589934590 + x8) - x14), ((Const 17179869182 + x9) - x15), ((Const 8589934590 + x7) - x13), ((Const 17179869174 + x5) - x11))) + (((0x1fffffffe + x8) - x14), ((0x3fffffffe + x9) - x15), ((0x1fffffffe + x7) - x13), ((0x3fffffff6 + x5) - x11))) (x, x0)%core : word64 * word64 * word64 * word64 → word64 * word64 * word64 * word64 → ReturnType (uint64_t * uint64_t * uint64_t * uint64_t) |