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/solinas32_2e130m5 | |
parent | e6e1ec43a0c3ce75452d8b754f1b4497c0396f96 (diff) |
Update display logs and c files
Diffstat (limited to 'src/Specific/solinas32_2e130m5')
-rw-r--r-- | src/Specific/solinas32_2e130m5/feadd.c | 18 | ||||
-rw-r--r-- | src/Specific/solinas32_2e130m5/feaddDisplay.log | 7 | ||||
-rw-r--r-- | src/Specific/solinas32_2e130m5/fesub.c | 18 | ||||
-rw-r--r-- | src/Specific/solinas32_2e130m5/fesubDisplay.log | 7 |
4 files changed, 50 insertions, 0 deletions
diff --git a/src/Specific/solinas32_2e130m5/feadd.c b/src/Specific/solinas32_2e130m5/feadd.c new file mode 100644 index 000000000..4db430361 --- /dev/null +++ b/src/Specific/solinas32_2e130m5/feadd.c @@ -0,0 +1,18 @@ +static void feadd(uint32_t out[5], const uint32_t in1[5], const uint32_t in2[5]) { + { const uint32_t x10 = in1[4]; + { const uint32_t x11 = in1[3]; + { const uint32_t x9 = in1[2]; + { const uint32_t x7 = in1[1]; + { const uint32_t x5 = in1[0]; + { const uint32_t x18 = in2[4]; + { const uint32_t x19 = in2[3]; + { const uint32_t x17 = in2[2]; + { const uint32_t x15 = in2[1]; + { const uint32_t x13 = in2[0]; + out[0] = (x5 + x13); + out[1] = (x7 + x15); + out[2] = (x9 + x17); + out[3] = (x11 + x19); + out[4] = (x10 + x18); + }}}}}}}}}} +} diff --git a/src/Specific/solinas32_2e130m5/feaddDisplay.log b/src/Specific/solinas32_2e130m5/feaddDisplay.log new file mode 100644 index 000000000..eaf25ecd1 --- /dev/null +++ b/src/Specific/solinas32_2e130m5/feaddDisplay.log @@ -0,0 +1,7 @@ +λ x x0 : word32 * word32 * word32 * word32 * word32, +Interp-η +(λ var : Syntax.base_type → Type, + λ '(x10, x11, x9, x7, x5, (x18, x19, x17, x15, x13))%core, + ((x10 + x18), (x11 + x19), (x9 + x17), (x7 + x15), (x5 + x13))) +(x, x0)%core + : word32 * word32 * word32 * word32 * word32 → word32 * word32 * word32 * word32 * word32 → ReturnType (uint32_t * uint32_t * uint32_t * uint32_t * uint32_t) diff --git a/src/Specific/solinas32_2e130m5/fesub.c b/src/Specific/solinas32_2e130m5/fesub.c new file mode 100644 index 000000000..3ff5011b6 --- /dev/null +++ b/src/Specific/solinas32_2e130m5/fesub.c @@ -0,0 +1,18 @@ +static void fesub(uint32_t out[5], const uint32_t in1[5], const uint32_t in2[5]) { + { const uint32_t x10 = in1[4]; + { const uint32_t x11 = in1[3]; + { const uint32_t x9 = in1[2]; + { const uint32_t x7 = in1[1]; + { const uint32_t x5 = in1[0]; + { const uint32_t x18 = in2[4]; + { const uint32_t x19 = in2[3]; + { const uint32_t x17 = in2[2]; + { const uint32_t x15 = in2[1]; + { const uint32_t x13 = in2[0]; + out[0] = ((Const 134217718 + x5) - x13); + out[1] = ((0x7fffffe + x7) - x15); + out[2] = ((0x7fffffe + x9) - x17); + out[3] = ((0x7fffffe + x11) - x19); + out[4] = ((0x7fffffe + x10) - x18); + }}}}}}}}}} +} diff --git a/src/Specific/solinas32_2e130m5/fesubDisplay.log b/src/Specific/solinas32_2e130m5/fesubDisplay.log new file mode 100644 index 000000000..f5e24bedf --- /dev/null +++ b/src/Specific/solinas32_2e130m5/fesubDisplay.log @@ -0,0 +1,7 @@ +λ x x0 : word32 * word32 * word32 * word32 * word32, +Interp-η +(λ var : Syntax.base_type → Type, + λ '(x10, x11, x9, x7, x5, (x18, x19, x17, x15, x13))%core, + (((0x7fffffe + x10) - x18), ((0x7fffffe + x11) - x19), ((0x7fffffe + x9) - x17), ((0x7fffffe + x7) - x15), ((Const 134217718 + x5) - x13))) +(x, x0)%core + : word32 * word32 * word32 * word32 * word32 → word32 * word32 * word32 * word32 * word32 → ReturnType (uint32_t * uint32_t * uint32_t * uint32_t * uint32_t) |