From 23b11c08bb5b810aa934d26e5f0596ff099d5389 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Thu, 18 Jan 2018 16:35:24 -0500 Subject: Pass -mbmi2 to gcc This will hopefully fix the issue where travis gcc complains about not being able to inline mulx. I hope. --- src/Specific/solinas64_2e230m27_5limbs/compiler.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Specific/solinas64_2e230m27_5limbs/compiler.sh') diff --git a/src/Specific/solinas64_2e230m27_5limbs/compiler.sh b/src/Specific/solinas64_2e230m27_5limbs/compiler.sh index 05f0cbb85..f733efd5f 100755 --- a/src/Specific/solinas64_2e230m27_5limbs/compiler.sh +++ b/src/Specific/solinas64_2e230m27_5limbs/compiler.sh @@ -1,4 +1,4 @@ #!/bin/sh set -eu -clang -fbracket-depth=999999 -march=native -mtune=native -std=gnu11 -O3 -flto -fuse-ld=lld -fomit-frame-pointer -fwrapv -Wno-attributes -fno-strict-aliasing -Da24_hex='0x3039' -Da24_val='12345' -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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dbitwidth='64' -Dlimb_weight_gaps_array='{46,46,46,46,46}' -Dmodulus_array='{0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xe5}' -Dmodulus_bytes_val='29' -Dmodulus_limbs='5' -Dq_mpz='(1_mpz<<230) - 27' "$@" +clang -fbracket-depth=999999 -march=native -mbmi2 -mtune=native -std=gnu11 -O3 -flto -fuse-ld=lld -fomit-frame-pointer -fwrapv -Wno-attributes -fno-strict-aliasing -Da24_hex='0x3039' -Da24_val='12345' -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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dbitwidth='64' -Dlimb_weight_gaps_array='{46,46,46,46,46}' -Dmodulus_array='{0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xe5}' -Dmodulus_bytes_val='29' -Dmodulus_limbs='5' -Dq_mpz='(1_mpz<<230) - 27' "$@" -- cgit v1.2.3