aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/solinas32_2e336m3_13limbs
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-11-13 00:51:26 -0500
committerGravatar Jason Gross <jgross@mit.edu>2017-11-13 00:51:26 -0500
commit5d8503a2c300b586efccdf42d7dd6e78c2b240fc (patch)
treefa085c18fc2473154300ef6157e300bfde7dcca2 /src/Specific/solinas32_2e336m3_13limbs
parent2d411951867e21c821bda7ca2a4edee30c13cf3b (diff)
Update display logs and c files
Diffstat (limited to 'src/Specific/solinas32_2e336m3_13limbs')
-rw-r--r--src/Specific/solinas32_2e336m3_13limbs/fesub.c2
-rw-r--r--src/Specific/solinas32_2e336m3_13limbs/fesubDisplay.log2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Specific/solinas32_2e336m3_13limbs/fesub.c b/src/Specific/solinas32_2e336m3_13limbs/fesub.c
index a07602403..c015e849b 100644
--- a/src/Specific/solinas32_2e336m3_13limbs/fesub.c
+++ b/src/Specific/solinas32_2e336m3_13limbs/fesub.c
@@ -25,7 +25,7 @@ static void fesub(uint32_t out[13], const uint32_t in1[13], const uint32_t in2[1
{ const uint32_t x33 = in2[2];
{ const uint32_t x31 = in2[1];
{ const uint32_t x29 = in2[0];
- out[0] = ((Const 134217722 + x5) - x29);
+ out[0] = ((0x7fffffa + x5) - x29);
out[1] = ((0x7fffffe + x7) - x31);
out[2] = ((0x7fffffe + x9) - x33);
out[3] = ((0x7fffffe + x11) - x35);
diff --git a/src/Specific/solinas32_2e336m3_13limbs/fesubDisplay.log b/src/Specific/solinas32_2e336m3_13limbs/fesubDisplay.log
index e9825a5a8..3245f5189 100644
--- a/src/Specific/solinas32_2e336m3_13limbs/fesubDisplay.log
+++ b/src/Specific/solinas32_2e336m3_13limbs/fesubDisplay.log
@@ -2,6 +2,6 @@
Interp-η
(λ var : Syntax.base_type → Type,
λ '(x26, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x50, x51, x49, x47, x45, x43, x41, x39, x37, x35, x33, x31, x29))%core,
- (((0x3fffffe + x26) - x50), ((0x7fffffe + x27) - x51), ((0x7fffffe + x25) - x49), ((0x7fffffe + x23) - x47), ((0x7fffffe + x21) - x45), ((0x7fffffe + x19) - x43), ((0x3fffffe + x17) - x41), ((0x7fffffe + x15) - x39), ((0x7fffffe + x13) - x37), ((0x7fffffe + x11) - x35), ((0x7fffffe + x9) - x33), ((0x7fffffe + x7) - x31), ((Const 134217722 + x5) - x29)))
+ (((0x3fffffe + x26) - x50), ((0x7fffffe + x27) - x51), ((0x7fffffe + x25) - x49), ((0x7fffffe + x23) - x47), ((0x7fffffe + x21) - x45), ((0x7fffffe + x19) - x43), ((0x3fffffe + x17) - x41), ((0x7fffffe + x15) - x39), ((0x7fffffe + x13) - x37), ((0x7fffffe + x11) - x35), ((0x7fffffe + x9) - x33), ((0x7fffffe + x7) - x31), ((0x7fffffa + x5) - x29)))
(x, x0)%core
: word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 → word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 → ReturnType (uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t)