From 91e46cca8d43c35a52b23056c8b55c1abd110b92 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Fri, 3 Nov 2017 12:53:36 -0400 Subject: python3 generate_parameters.py primes.txt; (cd src/Specific/CurveParameters/; ./remake_curves.sh -f) --- src/Specific/solinas64_2e174m3/compiler.sh | 2 +- src/Specific/solinas64_2e174m3/compilerxx.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Specific/solinas64_2e174m3') diff --git a/src/Specific/solinas64_2e174m3/compiler.sh b/src/Specific/solinas64_2e174m3/compiler.sh index 0e76c3c26..080bc2e69 100755 --- a/src/Specific/solinas64_2e174m3/compiler.sh +++ b/src/Specific/solinas64_2e174m3/compiler.sh @@ -1,4 +1,4 @@ #!/bin/sh set -eu -gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Dmodulus_array='{0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfd}' -Da24_val='12345' -Dlimb_weight_gaps_array='{58,58,58}' -Dq_mpz='(1_mpz<<174) - 3' -Da24_hex='0x3039' -Dlimb_t=uint64_t -Dmodulus_limbs='3' -Dmodulus_bytes_val='22' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' "$@" +gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -DPRIulimb=PRIu64 -Da24_val='12345' -Dq_mpz='(1_mpz<<174) - 3' -Dlimb_t=uint64_t -Dmodulus_bytes_val='22' -Dlimb_weight_gaps_array='{58,58,58}' -Dmodulus_limbs='3' -Dmodulus_array='{0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfd}' -DPRIxlimb=PRIx64 -Da24_hex='0x3039' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' "$@" diff --git a/src/Specific/solinas64_2e174m3/compilerxx.sh b/src/Specific/solinas64_2e174m3/compilerxx.sh index 4c284a0a9..dce29ad8b 100755 --- a/src/Specific/solinas64_2e174m3/compilerxx.sh +++ b/src/Specific/solinas64_2e174m3/compilerxx.sh @@ -1,4 +1,4 @@ #!/bin/sh set -eu -g++ -march=native -mtune=native -std=gnu++11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Dmodulus_array='{0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfd}' -Da24_val='12345' -Dlimb_weight_gaps_array='{58,58,58}' -Dq_mpz='(1_mpz<<174) - 3' -Da24_hex='0x3039' -Dlimb_t=uint64_t -Dmodulus_limbs='3' -Dmodulus_bytes_val='22' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' "$@" +g++ -march=native -mtune=native -std=gnu++11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -DPRIulimb=PRIu64 -Da24_val='12345' -Dq_mpz='(1_mpz<<174) - 3' -Dlimb_t=uint64_t -Dmodulus_bytes_val='22' -Dlimb_weight_gaps_array='{58,58,58}' -Dmodulus_limbs='3' -Dmodulus_array='{0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfd}' -DPRIxlimb=PRIx64 -Da24_hex='0x3039' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' "$@" -- cgit v1.2.3