aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/solinas64_2e243m9
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-11-02 05:36:23 -0400
committerGravatar Jason Gross <jgross@mit.edu>2017-11-02 05:36:23 -0400
commit44853295a1ef5088fd120e8a647bbd567bd0b7c9 (patch)
tree62b8b0b258dc753a225a8ff0c996288780158344 /src/Specific/solinas64_2e243m9
parenta9e57799aeec40648b19dbe4931aa6415b71da1c (diff)
Update display logs and c files
Diffstat (limited to 'src/Specific/solinas64_2e243m9')
-rw-r--r--src/Specific/solinas64_2e243m9/feadd.c21
-rw-r--r--src/Specific/solinas64_2e243m9/feaddDisplay.log7
-rw-r--r--src/Specific/solinas64_2e243m9/fesub.c21
-rw-r--r--src/Specific/solinas64_2e243m9/fesubDisplay.log7
4 files changed, 56 insertions, 0 deletions
diff --git a/src/Specific/solinas64_2e243m9/feadd.c b/src/Specific/solinas64_2e243m9/feadd.c
new file mode 100644
index 000000000..4a6bfb999
--- /dev/null
+++ b/src/Specific/solinas64_2e243m9/feadd.c
@@ -0,0 +1,21 @@
+static void feadd(uint64_t out[6], const uint64_t in1[6], const uint64_t in2[6]) {
+ { const uint64_t x12 = in1[5];
+ { const uint64_t x13 = in1[4];
+ { const uint64_t x11 = in1[3];
+ { const uint64_t x9 = in1[2];
+ { const uint64_t x7 = in1[1];
+ { const uint64_t x5 = in1[0];
+ { const uint64_t x22 = in2[5];
+ { const uint64_t x23 = in2[4];
+ { const uint64_t x21 = in2[3];
+ { const uint64_t x19 = in2[2];
+ { const uint64_t x17 = in2[1];
+ { const uint64_t x15 = in2[0];
+ out[0] = (x5 + x15);
+ out[1] = (x7 + x17);
+ out[2] = (x9 + x19);
+ out[3] = (x11 + x21);
+ out[4] = (x13 + x23);
+ out[5] = (x12 + x22);
+ }}}}}}}}}}}}
+}
diff --git a/src/Specific/solinas64_2e243m9/feaddDisplay.log b/src/Specific/solinas64_2e243m9/feaddDisplay.log
new file mode 100644
index 000000000..e32995a81
--- /dev/null
+++ b/src/Specific/solinas64_2e243m9/feaddDisplay.log
@@ -0,0 +1,7 @@
+λ x x0 : word64 * word64 * word64 * word64 * word64 * word64,
+Interp-η
+(λ var : Syntax.base_type → Type,
+ λ '(x12, x13, x11, x9, x7, x5, (x22, x23, x21, x19, x17, x15))%core,
+ ((x12 + x22), (x13 + x23), (x11 + x21), (x9 + x19), (x7 + x17), (x5 + x15)))
+(x, x0)%core
+ : 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)
diff --git a/src/Specific/solinas64_2e243m9/fesub.c b/src/Specific/solinas64_2e243m9/fesub.c
new file mode 100644
index 000000000..08c38f69f
--- /dev/null
+++ b/src/Specific/solinas64_2e243m9/fesub.c
@@ -0,0 +1,21 @@
+static void fesub(uint64_t out[6], const uint64_t in1[6], const uint64_t in2[6]) {
+ { const uint64_t x12 = in1[5];
+ { const uint64_t x13 = in1[4];
+ { const uint64_t x11 = in1[3];
+ { const uint64_t x9 = in1[2];
+ { const uint64_t x7 = in1[1];
+ { const uint64_t x5 = in1[0];
+ { const uint64_t x22 = in2[5];
+ { const uint64_t x23 = in2[4];
+ { const uint64_t x21 = in2[3];
+ { const uint64_t x19 = in2[2];
+ { const uint64_t x17 = in2[1];
+ { const uint64_t x15 = in2[0];
+ out[0] = ((Const 4398046511086 + x5) - x15);
+ out[1] = ((0x1fffffffffe + x7) - x17);
+ out[2] = ((Const 4398046511102 + x9) - x19);
+ out[3] = ((0x1fffffffffe + x11) - x21);
+ out[4] = ((Const 4398046511102 + x13) - x23);
+ out[5] = ((0x1fffffffffe + x12) - x22);
+ }}}}}}}}}}}}
+}
diff --git a/src/Specific/solinas64_2e243m9/fesubDisplay.log b/src/Specific/solinas64_2e243m9/fesubDisplay.log
new file mode 100644
index 000000000..4b7921d1f
--- /dev/null
+++ b/src/Specific/solinas64_2e243m9/fesubDisplay.log
@@ -0,0 +1,7 @@
+λ x x0 : word64 * word64 * word64 * word64 * word64 * word64,
+Interp-η
+(λ var : Syntax.base_type → Type,
+ λ '(x12, x13, x11, x9, x7, x5, (x22, x23, x21, x19, x17, x15))%core,
+ (((0x1fffffffffe + x12) - x22), ((Const 4398046511102 + x13) - x23), ((0x1fffffffffe + x11) - x21), ((Const 4398046511102 + x9) - x19), ((0x1fffffffffe + x7) - x17), ((Const 4398046511086 + x5) - x15)))
+(x, x0)%core
+ : 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)