diff options
Diffstat (limited to 'src/Specific/montgomery64_2e140m27')
-rwxr-xr-x | src/Specific/montgomery64_2e140m27/compiler.sh | 2 | ||||
-rwxr-xr-x | src/Specific/montgomery64_2e140m27/compilerxx.sh | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/Specific/montgomery64_2e140m27/compiler.sh b/src/Specific/montgomery64_2e140m27/compiler.sh index 518f95765..a8421352a 100755 --- a/src/Specific/montgomery64_2e140m27/compiler.sh +++ b/src/Specific/montgomery64_2e140m27/compiler.sh @@ -1,4 +1,4 @@ #!/bin/sh set -eu -gcc -fno-peephole2 `#GCC BUG 81300` -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Wno-incompatible-pointer-types -fno-strict-aliasing "$@" +gcc -fno-peephole2 `#GCC BUG 81300` -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Wno-incompatible-pointer-types -fno-strict-aliasing -Dq_mpz='(1_mpz<<140) - 27' -Dmodulus_bytes_val='64' "$@" diff --git a/src/Specific/montgomery64_2e140m27/compilerxx.sh b/src/Specific/montgomery64_2e140m27/compilerxx.sh new file mode 100755 index 000000000..9b77d86d5 --- /dev/null +++ b/src/Specific/montgomery64_2e140m27/compilerxx.sh @@ -0,0 +1,4 @@ +#!/bin/sh +set -eu + +g++ -fno-peephole2 `#GCC BUG 81300` -march=native -mtune=native -std=gnu++11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Wno-incompatible-pointer-types -fno-strict-aliasing -Dq_mpz='(1_mpz<<140) - 27' -Dmodulus_bytes_val='64' "$@" |