aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/solinas64_2e255m19_5limbs/freeze.c
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-11-12 20:37:52 -0500
committerGravatar Jason Gross <jgross@mit.edu>2017-11-12 20:37:52 -0500
commit3441856432d451a3d5e807bea7d6e7c500942c12 (patch)
tree338ba4e518452daeaead9301fe06dc6ebe5040a6 /src/Specific/solinas64_2e255m19_5limbs/freeze.c
parente5efbf51add38c90d7bbdde6d1887762fa1ecc8f (diff)
Update display logs and c files
Diffstat (limited to 'src/Specific/solinas64_2e255m19_5limbs/freeze.c')
-rw-r--r--src/Specific/solinas64_2e255m19_5limbs/freeze.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Specific/solinas64_2e255m19_5limbs/freeze.c b/src/Specific/solinas64_2e255m19_5limbs/freeze.c
new file mode 100644
index 000000000..b52fd54f9
--- /dev/null
+++ b/src/Specific/solinas64_2e255m19_5limbs/freeze.c
@@ -0,0 +1,29 @@
+static void freeze(uint64_t out[5], const uint64_t in1[5]) {
+ { const uint64_t x7 = in1[4];
+ { const uint64_t x8 = in1[3];
+ { const uint64_t x6 = in1[2];
+ { const uint64_t x4 = in1[1];
+ { const uint64_t x2 = in1[0];
+ { uint64_t x10; uint8_t x11 = _subborrow_u51(0x0, x2, 0x7ffffffffffed, &x10);
+ { uint64_t x13; uint8_t x14 = _subborrow_u51(x11, x4, 0x7ffffffffffff, &x13);
+ { uint64_t x16; uint8_t x17 = _subborrow_u51(x14, x6, 0x7ffffffffffff, &x16);
+ { uint64_t x19; uint8_t x20 = _subborrow_u51(x17, x8, 0x7ffffffffffff, &x19);
+ { uint64_t x22; uint8_t x23 = _subborrow_u51(x20, x7, 0x7ffffffffffff, &x22);
+ { uint64_t x24 = cmovznz64(x23, 0x0, 0xffffffffffffffffL);
+ { uint64_t x25 = (x24 & 0x7ffffffffffed);
+ { uint64_t x27; uint8_t x28 = _addcarryx_u51(0x0, x10, x25, &x27);
+ { uint64_t x29 = (x24 & 0x7ffffffffffff);
+ { uint64_t x31; uint8_t x32 = _addcarryx_u51(x28, x13, x29, &x31);
+ { uint64_t x33 = (x24 & 0x7ffffffffffff);
+ { uint64_t x35; uint8_t x36 = _addcarryx_u51(x32, x16, x33, &x35);
+ { uint64_t x37 = (x24 & 0x7ffffffffffff);
+ { uint64_t x39; uint8_t x40 = _addcarryx_u51(x36, x19, x37, &x39);
+ { uint64_t x41 = (x24 & 0x7ffffffffffff);
+ { uint64_t x43; uint8_t _ = _addcarryx_u51(x40, x22, x41, &x43);
+ out[0] = x27;
+ out[1] = x31;
+ out[2] = x35;
+ out[3] = x39;
+ out[4] = x43;
+ }}}}}}}}}}}}}}}}}}}}}
+}