diff options
author | Jason Gross <jgross@mit.edu> | 2017-11-02 05:13:17 -0400 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-11-02 05:13:17 -0400 |
commit | 6d6182029f07de1fbe081e862fa7991eee7e0fdb (patch) | |
tree | b2428823c68e07afc1eac544ff61cb448734abfe /src/Specific/solinas64_2e196m15 | |
parent | e6e1ec43a0c3ce75452d8b754f1b4497c0396f96 (diff) |
Update display logs and c files
Diffstat (limited to 'src/Specific/solinas64_2e196m15')
-rw-r--r-- | src/Specific/solinas64_2e196m15/feadd.c | 15 | ||||
-rw-r--r-- | src/Specific/solinas64_2e196m15/feaddDisplay.log | 7 | ||||
-rw-r--r-- | src/Specific/solinas64_2e196m15/fesub.c | 15 | ||||
-rw-r--r-- | src/Specific/solinas64_2e196m15/fesubDisplay.log | 7 |
4 files changed, 44 insertions, 0 deletions
diff --git a/src/Specific/solinas64_2e196m15/feadd.c b/src/Specific/solinas64_2e196m15/feadd.c new file mode 100644 index 000000000..d304c298a --- /dev/null +++ b/src/Specific/solinas64_2e196m15/feadd.c @@ -0,0 +1,15 @@ +static void feadd(uint64_t out[4], const uint64_t in1[4], const uint64_t in2[4]) { + { const uint64_t x8 = in1[3]; + { const uint64_t x9 = in1[2]; + { const uint64_t x7 = in1[1]; + { const uint64_t x5 = in1[0]; + { const uint64_t x14 = in2[3]; + { const uint64_t x15 = in2[2]; + { const uint64_t x13 = in2[1]; + { const uint64_t x11 = in2[0]; + out[0] = (x5 + x11); + out[1] = (x7 + x13); + out[2] = (x9 + x15); + out[3] = (x8 + x14); + }}}}}}}} +} diff --git a/src/Specific/solinas64_2e196m15/feaddDisplay.log b/src/Specific/solinas64_2e196m15/feaddDisplay.log new file mode 100644 index 000000000..d42ef91c3 --- /dev/null +++ b/src/Specific/solinas64_2e196m15/feaddDisplay.log @@ -0,0 +1,7 @@ +λ x x0 : word64 * word64 * word64 * word64, +Interp-η +(λ var : Syntax.base_type → Type, + λ '(x8, x9, x7, x5, (x14, x15, x13, x11))%core, + ((x8 + x14), (x9 + x15), (x7 + x13), (x5 + x11))) +(x, x0)%core + : word64 * word64 * word64 * word64 → word64 * word64 * word64 * word64 → ReturnType (uint64_t * uint64_t * uint64_t * uint64_t) diff --git a/src/Specific/solinas64_2e196m15/fesub.c b/src/Specific/solinas64_2e196m15/fesub.c new file mode 100644 index 000000000..700f5d341 --- /dev/null +++ b/src/Specific/solinas64_2e196m15/fesub.c @@ -0,0 +1,15 @@ +static void fesub(uint64_t out[4], const uint64_t in1[4], const uint64_t in2[4]) { + { const uint64_t x8 = in1[3]; + { const uint64_t x9 = in1[2]; + { const uint64_t x7 = in1[1]; + { const uint64_t x5 = in1[0]; + { const uint64_t x14 = in2[3]; + { const uint64_t x15 = in2[2]; + { const uint64_t x13 = in2[1]; + { const uint64_t x11 = in2[0]; + out[0] = ((Const 1125899906842594 + x5) - x11); + out[1] = ((Const 1125899906842622 + x7) - x13); + out[2] = ((Const 1125899906842622 + x9) - x15); + out[3] = ((Const 1125899906842622 + x8) - x14); + }}}}}}}} +} diff --git a/src/Specific/solinas64_2e196m15/fesubDisplay.log b/src/Specific/solinas64_2e196m15/fesubDisplay.log new file mode 100644 index 000000000..0314e70e1 --- /dev/null +++ b/src/Specific/solinas64_2e196m15/fesubDisplay.log @@ -0,0 +1,7 @@ +λ x x0 : word64 * word64 * word64 * word64, +Interp-η +(λ var : Syntax.base_type → Type, + λ '(x8, x9, x7, x5, (x14, x15, x13, x11))%core, + (((Const 1125899906842622 + x8) - x14), ((Const 1125899906842622 + x9) - x15), ((Const 1125899906842622 + x7) - x13), ((Const 1125899906842594 + x5) - x11))) +(x, x0)%core + : word64 * word64 * word64 * word64 → word64 * word64 * word64 * word64 → ReturnType (uint64_t * uint64_t * uint64_t * uint64_t) |