diff options
author | Jason Gross <jgross@mit.edu> | 2017-11-02 03:11:38 -0400 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-11-02 03:11:38 -0400 |
commit | c17d449d001239930418c04160ddb168239295ea (patch) | |
tree | 83ed43994584c4c3ab856d902ad19167bcef6a44 /src/Specific/solinas32_2e521m1/compilerxx.sh | |
parent | 498a7dab48c80497a9173d7c94e9e4dde75b73d8 (diff) |
Add -D compiler arguments for gmpxx.cpp
Diffstat (limited to 'src/Specific/solinas32_2e521m1/compilerxx.sh')
-rwxr-xr-x | src/Specific/solinas32_2e521m1/compilerxx.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Specific/solinas32_2e521m1/compilerxx.sh b/src/Specific/solinas32_2e521m1/compilerxx.sh new file mode 100755 index 000000000..5352a2a8d --- /dev/null +++ b/src/Specific/solinas32_2e521m1/compilerxx.sh @@ -0,0 +1,4 @@ +#!/bin/sh +set -eu + +g++ -march=native -mtune=native -std=gnu++11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Dq_mpz='(1_mpz<<521) - 1 ' -Dmodulus_bytes_val='26 + 1/20' "$@" |