diff options
Diffstat (limited to 'src/Specific/solinas32_2e174m17')
-rw-r--r-- | src/Specific/solinas32_2e174m17/fesub.c | 18 | ||||
-rw-r--r-- | src/Specific/solinas32_2e174m17/fesubDisplay.log | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/Specific/solinas32_2e174m17/fesub.c b/src/Specific/solinas32_2e174m17/fesub.c index 76d7fcc86..4703a03af 100644 --- a/src/Specific/solinas32_2e174m17/fesub.c +++ b/src/Specific/solinas32_2e174m17/fesub.c @@ -17,14 +17,14 @@ static void fesub(uint32_t out[9], const uint32_t in1[9], const uint32_t in2[9]) { const uint32_t x25 = in2[2]; { const uint32_t x23 = in2[1]; { const uint32_t x21 = in2[0]; - out[0] = ((Const 2097118 + x5) - x21); - out[1] = ((Const 1048574 + x7) - x23); - out[2] = ((Const 1048574 + x9) - x25); - out[3] = ((Const 2097150 + x11) - x27); - out[4] = ((Const 1048574 + x13) - x29); - out[5] = ((Const 1048574 + x15) - x31); - out[6] = ((Const 2097150 + x17) - x33); - out[7] = ((Const 1048574 + x19) - x35); - out[8] = ((Const 1048574 + x18) - x34); + out[0] = ((0x1fffde + x5) - x21); + out[1] = ((0xffffe + x7) - x23); + out[2] = ((0xffffe + x9) - x25); + out[3] = ((0x1ffffe + x11) - x27); + out[4] = ((0xffffe + x13) - x29); + out[5] = ((0xffffe + x15) - x31); + out[6] = ((0x1ffffe + x17) - x33); + out[7] = ((0xffffe + x19) - x35); + out[8] = ((0xffffe + x18) - x34); }}}}}}}}}}}}}}}}}} } diff --git a/src/Specific/solinas32_2e174m17/fesubDisplay.log b/src/Specific/solinas32_2e174m17/fesubDisplay.log index 092c19316..24902e307 100644 --- a/src/Specific/solinas32_2e174m17/fesubDisplay.log +++ b/src/Specific/solinas32_2e174m17/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x18, x19, x17, x15, x13, x11, x9, x7, x5, (x34, x35, x33, x31, x29, x27, x25, x23, x21))%core, - (((Const 1048574 + x18) - x34), ((Const 1048574 + x19) - x35), ((Const 2097150 + x17) - x33), ((Const 1048574 + x15) - x31), ((Const 1048574 + x13) - x29), ((Const 2097150 + x11) - x27), ((Const 1048574 + x9) - x25), ((Const 1048574 + x7) - x23), ((Const 2097118 + x5) - x21))) + (((0xffffe + x18) - x34), ((0xffffe + x19) - x35), ((0x1ffffe + x17) - x33), ((0xffffe + x15) - x31), ((0xffffe + x13) - x29), ((0x1ffffe + x11) - x27), ((0xffffe + x9) - x25), ((0xffffe + x7) - x23), ((0x1fffde + x5) - x21))) (x, x0)%core : 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) |