diff options
18 files changed, 18 insertions, 18 deletions
diff --git a/src/Specific/solinas32_2e321m9/fesub.c b/src/Specific/solinas32_2e321m9/fesub.c index a9a76e05d..a0aa648f0 100644 --- a/src/Specific/solinas32_2e321m9/fesub.c +++ b/src/Specific/solinas32_2e321m9/fesub.c @@ -31,7 +31,7 @@ static void fesub(uint32_t out[16], const uint32_t in1[16], const uint32_t in2[1 { const uint32_t x39 = in2[2]; { const uint32_t x37 = in2[1]; { const uint32_t x35 = in2[0]; - out[0] = ((Const 4194286 + x5) - x35); + out[0] = ((0x3fffee + x5) - x35); out[1] = ((0x1ffffe + x7) - x37); out[2] = ((0x1ffffe + x9) - x39); out[3] = ((0x1ffffe + x11) - x41); diff --git a/src/Specific/solinas32_2e321m9/fesubDisplay.log b/src/Specific/solinas32_2e321m9/fesubDisplay.log index 9ceead157..8b160df53 100644 --- a/src/Specific/solinas32_2e321m9/fesubDisplay.log +++ b/src/Specific/solinas32_2e321m9/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x32, x33, x31, x29, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x62, x63, x61, x59, x57, x55, x53, x51, x49, x47, x45, x43, x41, x39, x37, x35))%core, - (((0x1ffffe + x32) - x62), ((0x1ffffe + x33) - x63), ((0x1ffffe + x31) - x61), ((0x1ffffe + x29) - x59), ((0x1ffffe + x27) - x57), ((0x1ffffe + x25) - x55), ((0x1ffffe + x23) - x53), ((0x1ffffe + x21) - x51), ((0x1ffffe + x19) - x49), ((0x1ffffe + x17) - x47), ((0x1ffffe + x15) - x45), ((0x1ffffe + x13) - x43), ((0x1ffffe + x11) - x41), ((0x1ffffe + x9) - x39), ((0x1ffffe + x7) - x37), ((Const 4194286 + x5) - x35))) + (((0x1ffffe + x32) - x62), ((0x1ffffe + x33) - x63), ((0x1ffffe + x31) - x61), ((0x1ffffe + x29) - x59), ((0x1ffffe + x27) - x57), ((0x1ffffe + x25) - x55), ((0x1ffffe + x23) - x53), ((0x1ffffe + x21) - x51), ((0x1ffffe + x19) - x49), ((0x1ffffe + x17) - x47), ((0x1ffffe + x15) - x45), ((0x1ffffe + x13) - x43), ((0x1ffffe + x11) - x41), ((0x1ffffe + x9) - x39), ((0x1ffffe + x7) - x37), ((0x3fffee + x5) - x35))) (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 * 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 * uint32_t * uint32_t * uint32_t) diff --git a/src/Specific/solinas32_2e369m25/fesub.c b/src/Specific/solinas32_2e369m25/fesub.c index b307b05e9..62ea61d39 100644 --- a/src/Specific/solinas32_2e369m25/fesub.c +++ b/src/Specific/solinas32_2e369m25/fesub.c @@ -31,7 +31,7 @@ static void fesub(uint32_t out[16], const uint32_t in1[16], const uint32_t in2[1 { const uint32_t x39 = in2[2]; { const uint32_t x37 = in2[1]; { const uint32_t x35 = in2[0]; - out[0] = ((Const 33554382 + x5) - x35); + out[0] = ((0x1ffffce + x5) - x35); out[1] = ((0xfffffe + x7) - x37); out[2] = ((0xfffffe + x9) - x39); out[3] = ((0xfffffe + x11) - x41); diff --git a/src/Specific/solinas32_2e369m25/fesubDisplay.log b/src/Specific/solinas32_2e369m25/fesubDisplay.log index b37924332..861f7676b 100644 --- a/src/Specific/solinas32_2e369m25/fesubDisplay.log +++ b/src/Specific/solinas32_2e369m25/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x32, x33, x31, x29, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x62, x63, x61, x59, x57, x55, x53, x51, x49, x47, x45, x43, x41, x39, x37, x35))%core, - (((0xfffffe + x32) - x62), ((0xfffffe + x33) - x63), ((0xfffffe + x31) - x61), ((0xfffffe + x29) - x59), ((0xfffffe + x27) - x57), ((0xfffffe + x25) - x55), ((0xfffffe + x23) - x53), ((0xfffffe + x21) - x51), ((0xfffffe + x19) - x49), ((0xfffffe + x17) - x47), ((0xfffffe + x15) - x45), ((0xfffffe + x13) - x43), ((0xfffffe + x11) - x41), ((0xfffffe + x9) - x39), ((0xfffffe + x7) - x37), ((Const 33554382 + x5) - x35))) + (((0xfffffe + x32) - x62), ((0xfffffe + x33) - x63), ((0xfffffe + x31) - x61), ((0xfffffe + x29) - x59), ((0xfffffe + x27) - x57), ((0xfffffe + x25) - x55), ((0xfffffe + x23) - x53), ((0xfffffe + x21) - x51), ((0xfffffe + x19) - x49), ((0xfffffe + x17) - x47), ((0xfffffe + x15) - x45), ((0xfffffe + x13) - x43), ((0xfffffe + x11) - x41), ((0xfffffe + x9) - x39), ((0xfffffe + x7) - x37), ((0x1ffffce + x5) - x35))) (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 * 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 * uint32_t * uint32_t * uint32_t) diff --git a/src/Specific/solinas32_2e384m5x2e368m1/fesub.c b/src/Specific/solinas32_2e384m5x2e368m1/fesub.c index 747a7d9b8..d1cca060f 100644 --- a/src/Specific/solinas32_2e384m5x2e368m1/fesub.c +++ b/src/Specific/solinas32_2e384m5x2e368m1/fesub.c @@ -46,6 +46,6 @@ static void fesub(uint32_t out[16], const uint32_t in1[16], const uint32_t in2[1 out[12] = ((0x1fffffe + x29) - x59); out[13] = ((0x1fffffe + x31) - x61); out[14] = ((0x1fffffe + x33) - x63); - out[15] = ((Const 33551870 + x32) - x62); + out[15] = ((0x1fff5fe + x32) - x62); }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} } diff --git a/src/Specific/solinas32_2e384m5x2e368m1/fesubDisplay.log b/src/Specific/solinas32_2e384m5x2e368m1/fesubDisplay.log index 00c1d73b3..c095061d4 100644 --- a/src/Specific/solinas32_2e384m5x2e368m1/fesubDisplay.log +++ b/src/Specific/solinas32_2e384m5x2e368m1/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x32, x33, x31, x29, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x62, x63, x61, x59, x57, x55, x53, x51, x49, x47, x45, x43, x41, x39, x37, x35))%core, - (((Const 33551870 + x32) - x62), ((0x1fffffe + x33) - x63), ((0x1fffffe + x31) - x61), ((0x1fffffe + x29) - x59), ((0x1fffffe + x27) - x57), ((0x1fffffe + x25) - x55), ((0x1fffffe + x23) - x53), ((0x1fffffe + x21) - x51), ((0x1fffffe + x19) - x49), ((0x1fffffe + x17) - x47), ((0x1fffffe + x15) - x45), ((0x1fffffe + x13) - x43), ((0x1fffffe + x11) - x41), ((0x1fffffe + x9) - x39), ((0x1fffffe + x7) - x37), ((0x1fffffe + x5) - x35))) + (((0x1fff5fe + x32) - x62), ((0x1fffffe + x33) - x63), ((0x1fffffe + x31) - x61), ((0x1fffffe + x29) - x59), ((0x1fffffe + x27) - x57), ((0x1fffffe + x25) - x55), ((0x1fffffe + x23) - x53), ((0x1fffffe + x21) - x51), ((0x1fffffe + x19) - x49), ((0x1fffffe + x17) - x47), ((0x1fffffe + x15) - x45), ((0x1fffffe + x13) - x43), ((0x1fffffe + x11) - x41), ((0x1fffffe + x9) - x39), ((0x1fffffe + x7) - x37), ((0x1fffffe + x5) - x35))) (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 * 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 * uint32_t * uint32_t * uint32_t) diff --git a/src/Specific/solinas32_2e384m79x2e376m1/fesub.c b/src/Specific/solinas32_2e384m79x2e376m1/fesub.c index 6eb5e68f0..87c8fbea0 100644 --- a/src/Specific/solinas32_2e384m79x2e376m1/fesub.c +++ b/src/Specific/solinas32_2e384m79x2e376m1/fesub.c @@ -46,6 +46,6 @@ static void fesub(uint32_t out[16], const uint32_t in1[16], const uint32_t in2[1 out[12] = ((0x1fffffe + x29) - x59); out[13] = ((0x1fffffe + x31) - x61); out[14] = ((0x1fffffe + x33) - x63); - out[15] = ((Const 23199742 + x32) - x62); + out[15] = ((0x161fffe + x32) - x62); }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} } diff --git a/src/Specific/solinas32_2e384m79x2e376m1/fesubDisplay.log b/src/Specific/solinas32_2e384m79x2e376m1/fesubDisplay.log index e977bc991..6ed1b090d 100644 --- a/src/Specific/solinas32_2e384m79x2e376m1/fesubDisplay.log +++ b/src/Specific/solinas32_2e384m79x2e376m1/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x32, x33, x31, x29, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x62, x63, x61, x59, x57, x55, x53, x51, x49, x47, x45, x43, x41, x39, x37, x35))%core, - (((Const 23199742 + x32) - x62), ((0x1fffffe + x33) - x63), ((0x1fffffe + x31) - x61), ((0x1fffffe + x29) - x59), ((0x1fffffe + x27) - x57), ((0x1fffffe + x25) - x55), ((0x1fffffe + x23) - x53), ((0x1fffffe + x21) - x51), ((0x1fffffe + x19) - x49), ((0x1fffffe + x17) - x47), ((0x1fffffe + x15) - x45), ((0x1fffffe + x13) - x43), ((0x1fffffe + x11) - x41), ((0x1fffffe + x9) - x39), ((0x1fffffe + x7) - x37), ((0x1fffffe + x5) - x35))) + (((0x161fffe + x32) - x62), ((0x1fffffe + x33) - x63), ((0x1fffffe + x31) - x61), ((0x1fffffe + x29) - x59), ((0x1fffffe + x27) - x57), ((0x1fffffe + x25) - x55), ((0x1fffffe + x23) - x53), ((0x1fffffe + x21) - x51), ((0x1fffffe + x19) - x49), ((0x1fffffe + x17) - x47), ((0x1fffffe + x15) - x45), ((0x1fffffe + x13) - x43), ((0x1fffffe + x11) - x41), ((0x1fffffe + x9) - x39), ((0x1fffffe + x7) - x37), ((0x1fffffe + x5) - x35))) (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 * 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 * uint32_t * uint32_t * uint32_t) diff --git a/src/Specific/solinas32_2e401m31/fesub.c b/src/Specific/solinas32_2e401m31/fesub.c index 28f7376bc..f6e2353b7 100644 --- a/src/Specific/solinas32_2e401m31/fesub.c +++ b/src/Specific/solinas32_2e401m31/fesub.c @@ -31,7 +31,7 @@ static void fesub(uint32_t out[16], const uint32_t in1[16], const uint32_t in2[1 { const uint32_t x39 = in2[2]; { const uint32_t x37 = in2[1]; { const uint32_t x35 = in2[0]; - out[0] = ((Const 134217666 + x5) - x35); + out[0] = ((0x7ffffc2 + x5) - x35); out[1] = ((0x3fffffe + x7) - x37); out[2] = ((0x3fffffe + x9) - x39); out[3] = ((0x3fffffe + x11) - x41); diff --git a/src/Specific/solinas32_2e401m31/fesubDisplay.log b/src/Specific/solinas32_2e401m31/fesubDisplay.log index 70240c88f..97718ab84 100644 --- a/src/Specific/solinas32_2e401m31/fesubDisplay.log +++ b/src/Specific/solinas32_2e401m31/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x32, x33, x31, x29, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x62, x63, x61, x59, x57, x55, x53, x51, x49, x47, x45, x43, x41, x39, x37, x35))%core, - (((0x3fffffe + x32) - x62), ((0x3fffffe + x33) - x63), ((0x3fffffe + x31) - x61), ((0x3fffffe + x29) - x59), ((0x3fffffe + x27) - x57), ((0x3fffffe + x25) - x55), ((0x3fffffe + x23) - x53), ((0x3fffffe + x21) - x51), ((0x3fffffe + x19) - x49), ((0x3fffffe + x17) - x47), ((0x3fffffe + x15) - x45), ((0x3fffffe + x13) - x43), ((0x3fffffe + x11) - x41), ((0x3fffffe + x9) - x39), ((0x3fffffe + x7) - x37), ((Const 134217666 + x5) - x35))) + (((0x3fffffe + x32) - x62), ((0x3fffffe + x33) - x63), ((0x3fffffe + x31) - x61), ((0x3fffffe + x29) - x59), ((0x3fffffe + x27) - x57), ((0x3fffffe + x25) - x55), ((0x3fffffe + x23) - x53), ((0x3fffffe + x21) - x51), ((0x3fffffe + x19) - x49), ((0x3fffffe + x17) - x47), ((0x3fffffe + x15) - x45), ((0x3fffffe + x13) - x43), ((0x3fffffe + x11) - x41), ((0x3fffffe + x9) - x39), ((0x3fffffe + x7) - x37), ((0x7ffffc2 + x5) - x35))) (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 * 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 * uint32_t * uint32_t * uint32_t) diff --git a/src/Specific/solinas32_2e416m2e208m1/fesub.c b/src/Specific/solinas32_2e416m2e208m1/fesub.c index db233695a..2dbde5ca0 100644 --- a/src/Specific/solinas32_2e416m2e208m1/fesub.c +++ b/src/Specific/solinas32_2e416m2e208m1/fesub.c @@ -39,7 +39,7 @@ static void fesub(uint32_t out[16], const uint32_t in1[16], const uint32_t in2[1 out[5] = ((0x7fffffe + x15) - x45); out[6] = ((0x7fffffe + x17) - x47); out[7] = ((0x7fffffe + x19) - x49); - out[8] = ((Const 134217724 + x21) - x51); + out[8] = ((0x7fffffc + x21) - x51); out[9] = ((0x7fffffe + x23) - x53); out[10] = ((0x7fffffe + x25) - x55); out[11] = ((0x7fffffe + x27) - x57); diff --git a/src/Specific/solinas32_2e416m2e208m1/fesubDisplay.log b/src/Specific/solinas32_2e416m2e208m1/fesubDisplay.log index f940d6d0b..b2bdd0bf6 100644 --- a/src/Specific/solinas32_2e416m2e208m1/fesubDisplay.log +++ b/src/Specific/solinas32_2e416m2e208m1/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x32, x33, x31, x29, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x62, x63, x61, x59, x57, x55, x53, x51, x49, x47, x45, x43, x41, x39, x37, x35))%core, - (((0x7fffffe + x32) - x62), ((0x7fffffe + x33) - x63), ((0x7fffffe + x31) - x61), ((0x7fffffe + x29) - x59), ((0x7fffffe + x27) - x57), ((0x7fffffe + x25) - x55), ((0x7fffffe + x23) - x53), ((Const 134217724 + x21) - x51), ((0x7fffffe + x19) - x49), ((0x7fffffe + x17) - x47), ((0x7fffffe + x15) - x45), ((0x7fffffe + x13) - x43), ((0x7fffffe + x11) - x41), ((0x7fffffe + x9) - x39), ((0x7fffffe + x7) - x37), ((0x7fffffe + x5) - x35))) + (((0x7fffffe + x32) - x62), ((0x7fffffe + x33) - x63), ((0x7fffffe + x31) - x61), ((0x7fffffe + x29) - x59), ((0x7fffffe + x27) - x57), ((0x7fffffe + x25) - x55), ((0x7fffffe + x23) - x53), ((0x7fffffc + x21) - x51), ((0x7fffffe + x19) - x49), ((0x7fffffe + x17) - x47), ((0x7fffffe + x15) - x45), ((0x7fffffe + x13) - x43), ((0x7fffffe + x11) - x41), ((0x7fffffe + x9) - x39), ((0x7fffffe + x7) - x37), ((0x7fffffe + x5) - x35))) (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 * 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 * uint32_t * uint32_t * uint32_t) diff --git a/src/Specific/solinas32_2e448m2e224m1/fesub.c b/src/Specific/solinas32_2e448m2e224m1/fesub.c index 0385245b5..387cc589e 100644 --- a/src/Specific/solinas32_2e448m2e224m1/fesub.c +++ b/src/Specific/solinas32_2e448m2e224m1/fesub.c @@ -39,7 +39,7 @@ static void fesub(uint32_t out[16], const uint32_t in1[16], const uint32_t in2[1 out[5] = ((0x1ffffffe + x15) - x45); out[6] = ((0x1ffffffe + x17) - x47); out[7] = ((0x1ffffffe + x19) - x49); - out[8] = ((Const 536870908 + x21) - x51); + out[8] = ((0x1ffffffc + x21) - x51); out[9] = ((0x1ffffffe + x23) - x53); out[10] = ((0x1ffffffe + x25) - x55); out[11] = ((0x1ffffffe + x27) - x57); diff --git a/src/Specific/solinas32_2e448m2e224m1/fesubDisplay.log b/src/Specific/solinas32_2e448m2e224m1/fesubDisplay.log index 906f9306f..3007e8715 100644 --- a/src/Specific/solinas32_2e448m2e224m1/fesubDisplay.log +++ b/src/Specific/solinas32_2e448m2e224m1/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x32, x33, x31, x29, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x62, x63, x61, x59, x57, x55, x53, x51, x49, x47, x45, x43, x41, x39, x37, x35))%core, - (((0x1ffffffe + x32) - x62), ((0x1ffffffe + x33) - x63), ((0x1ffffffe + x31) - x61), ((0x1ffffffe + x29) - x59), ((0x1ffffffe + x27) - x57), ((0x1ffffffe + x25) - x55), ((0x1ffffffe + x23) - x53), ((Const 536870908 + x21) - x51), ((0x1ffffffe + x19) - x49), ((0x1ffffffe + x17) - x47), ((0x1ffffffe + x15) - x45), ((0x1ffffffe + x13) - x43), ((0x1ffffffe + x11) - x41), ((0x1ffffffe + x9) - x39), ((0x1ffffffe + x7) - x37), ((0x1ffffffe + x5) - x35))) + (((0x1ffffffe + x32) - x62), ((0x1ffffffe + x33) - x63), ((0x1ffffffe + x31) - x61), ((0x1ffffffe + x29) - x59), ((0x1ffffffe + x27) - x57), ((0x1ffffffe + x25) - x55), ((0x1ffffffe + x23) - x53), ((0x1ffffffc + x21) - x51), ((0x1ffffffe + x19) - x49), ((0x1ffffffe + x17) - x47), ((0x1ffffffe + x15) - x45), ((0x1ffffffe + x13) - x43), ((0x1ffffffe + x11) - x41), ((0x1ffffffe + x9) - x39), ((0x1ffffffe + x7) - x37), ((0x1ffffffe + x5) - x35))) (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 * 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 * uint32_t * uint32_t * uint32_t) diff --git a/src/Specific/solinas32_2e480m2e240m1/fesub.c b/src/Specific/solinas32_2e480m2e240m1/fesub.c index 50d2ba125..cf5e2784d 100644 --- a/src/Specific/solinas32_2e480m2e240m1/fesub.c +++ b/src/Specific/solinas32_2e480m2e240m1/fesub.c @@ -39,7 +39,7 @@ static void fesub(uint32_t out[16], const uint32_t in1[16], const uint32_t in2[1 out[5] = ((0x7ffffffe + x15) - x45); out[6] = ((0x7ffffffe + x17) - x47); out[7] = ((0x7ffffffe + x19) - x49); - out[8] = ((Const 2147483644 + x21) - x51); + out[8] = ((0x7ffffffc + x21) - x51); out[9] = ((0x7ffffffe + x23) - x53); out[10] = ((0x7ffffffe + x25) - x55); out[11] = ((0x7ffffffe + x27) - x57); diff --git a/src/Specific/solinas32_2e480m2e240m1/fesubDisplay.log b/src/Specific/solinas32_2e480m2e240m1/fesubDisplay.log index fb087ccf8..05074fe42 100644 --- a/src/Specific/solinas32_2e480m2e240m1/fesubDisplay.log +++ b/src/Specific/solinas32_2e480m2e240m1/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x32, x33, x31, x29, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x62, x63, x61, x59, x57, x55, x53, x51, x49, x47, x45, x43, x41, x39, x37, x35))%core, - (((0x7ffffffe + x32) - x62), ((0x7ffffffe + x33) - x63), ((0x7ffffffe + x31) - x61), ((0x7ffffffe + x29) - x59), ((0x7ffffffe + x27) - x57), ((0x7ffffffe + x25) - x55), ((0x7ffffffe + x23) - x53), ((Const 2147483644 + x21) - x51), ((0x7ffffffe + x19) - x49), ((0x7ffffffe + x17) - x47), ((0x7ffffffe + x15) - x45), ((0x7ffffffe + x13) - x43), ((0x7ffffffe + x11) - x41), ((0x7ffffffe + x9) - x39), ((0x7ffffffe + x7) - x37), ((0x7ffffffe + x5) - x35))) + (((0x7ffffffe + x32) - x62), ((0x7ffffffe + x33) - x63), ((0x7ffffffe + x31) - x61), ((0x7ffffffe + x29) - x59), ((0x7ffffffe + x27) - x57), ((0x7ffffffe + x25) - x55), ((0x7ffffffe + x23) - x53), ((0x7ffffffc + x21) - x51), ((0x7ffffffe + x19) - x49), ((0x7ffffffe + x17) - x47), ((0x7ffffffe + x15) - x45), ((0x7ffffffe + x13) - x43), ((0x7ffffffe + x11) - x41), ((0x7ffffffe + x9) - x39), ((0x7ffffffe + x7) - x37), ((0x7ffffffe + x5) - x35))) (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 * 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 * uint32_t * uint32_t * uint32_t) diff --git a/src/Specific/solinas64_2e488m17/fesub.c b/src/Specific/solinas64_2e488m17/fesub.c index b32e02aff..3e98205f4 100644 --- a/src/Specific/solinas64_2e488m17/fesub.c +++ b/src/Specific/solinas64_2e488m17/fesub.c @@ -31,7 +31,7 @@ static void fesub(uint64_t out[16], const uint64_t in1[16], const uint64_t in2[1 { const uint64_t x39 = in2[2]; { const uint64_t x37 = in2[1]; { const uint64_t x35 = in2[0]; - out[0] = ((Const 4294967262 + x5) - x35); + out[0] = ((0xffffffde + x5) - x35); out[1] = ((0x7ffffffe + x7) - x37); out[2] = ((0xfffffffe + x9) - x39); out[3] = ((0x7ffffffe + x11) - x41); diff --git a/src/Specific/solinas64_2e488m17/fesubDisplay.log b/src/Specific/solinas64_2e488m17/fesubDisplay.log index c3515ecdb..dfd59f0ff 100644 --- a/src/Specific/solinas64_2e488m17/fesubDisplay.log +++ b/src/Specific/solinas64_2e488m17/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x32, x33, x31, x29, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x62, x63, x61, x59, x57, x55, x53, x51, x49, x47, x45, x43, x41, x39, x37, x35))%core, - (((0x7ffffffe + x32) - x62), ((0xfffffffe + x33) - x63), ((0x7ffffffe + x31) - x61), ((0xfffffffe + x29) - x59), ((0x7ffffffe + x27) - x57), ((0xfffffffe + x25) - x55), ((0x7ffffffe + x23) - x53), ((0xfffffffe + x21) - x51), ((0x7ffffffe + x19) - x49), ((0xfffffffe + x17) - x47), ((0x7ffffffe + x15) - x45), ((0xfffffffe + x13) - x43), ((0x7ffffffe + x11) - x41), ((0xfffffffe + x9) - x39), ((0x7ffffffe + x7) - x37), ((Const 4294967262 + x5) - x35))) + (((0x7ffffffe + x32) - x62), ((0xfffffffe + x33) - x63), ((0x7ffffffe + x31) - x61), ((0xfffffffe + x29) - x59), ((0x7ffffffe + x27) - x57), ((0xfffffffe + x25) - x55), ((0x7ffffffe + x23) - x53), ((0xfffffffe + x21) - x51), ((0x7ffffffe + x19) - x49), ((0xfffffffe + x17) - x47), ((0x7ffffffe + x15) - x45), ((0xfffffffe + x13) - x43), ((0x7ffffffe + x11) - x41), ((0xfffffffe + x9) - x39), ((0x7ffffffe + x7) - x37), ((0xffffffde + x5) - x35))) (x, x0)%core : word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 → word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 * word64 → ReturnType (uint64_t * uint64_t * uint64_t * uint64_t * uint64_t * uint64_t * uint64_t * uint64_t * uint64_t * uint64_t * uint64_t * uint64_t * uint64_t * uint64_t * uint64_t * uint64_t) |