Implementation notes: amd64, genji460, crypto_dh/gls254prot

Computer: genji460
Architecture: amd64
CPU ID: GenuineIntel-000306f2-bfebfbff
SUPERCOP version: 20180818
Operation: crypto_dh
Primitive: gls254prot
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
212188? ? ?? ? ?opticc_-xCORE-AVX2_-O2_-fomit-frame-pointer2018082720180818
213208? ? ?? ? ?opticc_-xCORE-AVX2_-O3_-fomit-frame-pointer2018082720180818
213328? ? ?? ? ?opticc_-xAVX_-O3_-fomit-frame-pointer2018082720180818
213708? ? ?? ? ?opticc_-xCORE-AVX-I_-O3_-fomit-frame-pointer2018082720180818
213880? ? ?? ? ?opticc_-xAVX_-O2_-fomit-frame-pointer2018082720180818
214272? ? ?? ? ?opticc_-xCORE-AVX-I_-O2_-fomit-frame-pointer2018082720180818
223452? ? ?? ? ?opticc_-xSSE4.2_-O3_-fomit-frame-pointer2018082720180818
224528? ? ?? ? ?opticc_-xSSE4.2_-O2_-fomit-frame-pointer2018082720180818
224872? ? ?? ? ?opticc2018082720180818
225480? ? ?? ? ?opticc_-no-vec2018082720180818
231608? ? ?? ? ?opticc_-xSSE4.1_-O3_-fomit-frame-pointer2018082720180818
234200? ? ?? ? ?opticc_-xSSE4.1_-O2_-fomit-frame-pointer2018082720180818
253708? ? ?? ? ?proticc_-xCORE-AVX2_-O3_-fomit-frame-pointer2018082720180818
253908? ? ?? ? ?proticc_-xCORE-AVX-I_-O3_-fomit-frame-pointer2018082720180818
256000? ? ?? ? ?proticc_-xCORE-AVX2_-O2_-fomit-frame-pointer2018082720180818
256540? ? ?? ? ?proticc_-xAVX_-O2_-fomit-frame-pointer2018082720180818
261236? ? ?? ? ?proticc_-xCORE-AVX-I_-O2_-fomit-frame-pointer2018082720180818
267716? ? ?? ? ?proticc_-xAVX_-O3_-fomit-frame-pointer2018082720180818

Test failure

Implementation: prot
Security model: unknown
Compiler: icc
error 111

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
icc prot
icc -no-vec prot
icc -xSSE4.1 -O2 -fomit-frame-pointer prot
icc -xSSE4.1 -O3 -fomit-frame-pointer prot
icc -xSSE4.2 -O2 -fomit-frame-pointer prot
icc -xSSE4.2 -O3 -fomit-frame-pointer prot

Compiler output

Implementation: opt
Security model: unknown
Compiler: cc
dh.c: In file included from dh.c:6:0:
dh.c: ffa.h: In function 'low_mul':
dh.c: ffa.h:62:9: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: re0 = _mm_clmulepi64_si128(op0, op1, ord);\
dh.c: ^
dh.c: ffa.h:94:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r00,r01,r02,0x00); /* a0xb0 */
dh.c: ^
dh.c: ffa.h:63:9: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: re1 = _mm_clmulepi64_si128(op2, op3, ord);\
dh.c: ^
dh.c: ffa.h:94:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r00,r01,r02,0x00); /* a0xb0 */
dh.c: ^
dh.c: ffa.h:64:9: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: re2 = _mm_clmulepi64_si128(op4, op5, ord);\
dh.c: ^
dh.c: ffa.h:94:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r00,r01,r02,0x00); /* a0xb0 */
dh.c: ^
dh.c: ffa.h:62:9: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: re0 = _mm_clmulepi64_si128(op0, op1, ord);\
dh.c: ^
dh.c: ffa.h:95:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(a00,a00,k01,k01,a01,a01,r10,r11,r12,0x01); /* (a0+a1) x (b0+b1) */
dh.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
cc opt

Compiler output

Implementation: opt
Security model: unknown
Compiler: gcc
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/x86intrin.h:43,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: smu.h: In function 'smu_5nf_dna_ltr':
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/smmintrin.h:268:1: error: inlining failed in call to always_inline '_mm_cmpeq_epi64': target specific option mismatch
dh.c: _mm_cmpeq_epi64 (__m128i __X, __m128i __Y)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:8:
dh.c: smu.h:251:15: note: called from here
dh.c: msk1[7] = _mm_cmpeq_epi64(cmp[7], dig1);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/x86intrin.h:43,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/smmintrin.h:268:1: error: inlining failed in call to always_inline '_mm_cmpeq_epi64': target specific option mismatch
dh.c: _mm_cmpeq_epi64 (__m128i __X, __m128i __Y)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:8:
dh.c: smu.h:250:15: note: called from here
dh.c: msk0[7] = _mm_cmpeq_epi64(cmp[7], dig0);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/x86intrin.h:43,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/smmintrin.h:268:1: error: inlining failed in call to always_inline '_mm_cmpeq_epi64': target specific option mismatch
dh.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc opt
gcc -funroll-loops opt

Compiler output

Implementation: opt
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/x86intrin.h:45,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'low_mul':
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:
dh.c: ffa.h:64:11: note: called from here
dh.c: re2 = _mm_clmulepi64_si128(op4, op5, ord);\
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r20,r21,r22,0x11); /* a1xb1 */
dh.c: ^~~~~~~~~~~
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/x86intrin.h:45,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:
dh.c: ffa.h:63:11: note: called from here
dh.c: re1 = _mm_clmulepi64_si128(op2, op3, ord);\
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: ...

Number of similar (compiler,implementation) pairs: 84, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer opt
gcc -O3 -fomit-frame-pointer opt
gcc -O -fomit-frame-pointer opt
gcc -Os -fomit-frame-pointer opt
gcc -fno-schedule-insns -O2 -fomit-frame-pointer opt
gcc -fno-schedule-insns -O3 -fomit-frame-pointer opt
gcc -fno-schedule-insns -O -fomit-frame-pointer opt
gcc -fno-schedule-insns -Os -fomit-frame-pointer opt
gcc -funroll-loops -O2 -fomit-frame-pointer opt
gcc -funroll-loops -O3 -fomit-frame-pointer opt
gcc -funroll-loops -O -fomit-frame-pointer opt
gcc -funroll-loops -Os -fomit-frame-pointer opt
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer opt
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer opt
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer opt
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer opt
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -O -fomit-frame-pointer opt
gcc -funroll-loops -m64 -Os -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer opt
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer opt
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer opt
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer opt
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer opt
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer opt
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer opt
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer opt
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer opt
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer opt
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer opt
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer opt
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer opt
gcc -m64 -O2 -fomit-frame-pointer opt
gcc -m64 -O3 -fomit-frame-pointer opt
gcc -m64 -O -fomit-frame-pointer opt
gcc -m64 -Os -fomit-frame-pointer opt
gcc -m64 -march=core2 -O2 -fomit-frame-pointer opt
gcc -m64 -march=core2 -O3 -fomit-frame-pointer opt
gcc -m64 -march=core2 -O -fomit-frame-pointer opt
gcc -m64 -march=core2 -Os -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer opt
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer opt
gcc -m64 -march=corei7 -O3 -fomit-frame-pointer opt
gcc -m64 -march=corei7 -O -fomit-frame-pointer opt
gcc -m64 -march=corei7 -Os -fomit-frame-pointer opt
gcc -m64 -march=k8 -O2 -fomit-frame-pointer opt
gcc -m64 -march=k8 -O3 -fomit-frame-pointer opt
gcc -m64 -march=k8 -O -fomit-frame-pointer opt
gcc -m64 -march=k8 -Os -fomit-frame-pointer opt
gcc -m64 -march=nocona -O2 -fomit-frame-pointer opt
gcc -m64 -march=nocona -O3 -fomit-frame-pointer opt
gcc -m64 -march=nocona -O -fomit-frame-pointer opt
gcc -m64 -march=nocona -Os -fomit-frame-pointer opt
gcc -march=barcelona -O2 -fomit-frame-pointer opt
gcc -march=barcelona -O3 -fomit-frame-pointer opt
gcc -march=barcelona -O -fomit-frame-pointer opt
gcc -march=barcelona -Os -fomit-frame-pointer opt
gcc -march=k8 -O2 -fomit-frame-pointer opt
gcc -march=k8 -O3 -fomit-frame-pointer opt
gcc -march=k8 -O -fomit-frame-pointer opt
gcc -march=k8 -Os -fomit-frame-pointer opt
gcc -march=nocona -O2 -fomit-frame-pointer opt
gcc -march=nocona -O3 -fomit-frame-pointer opt
gcc -march=nocona -O -fomit-frame-pointer opt
gcc -march=nocona -Os -fomit-frame-pointer opt

Compiler output

Implementation: opt
Security model: unknown
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/x86intrin.h:45,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'low_mul':
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:
dh.c: ffa.h:64:11: note: called from here
dh.c: re2 = _mm_clmulepi64_si128(op4, op5, ord);\
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r20,r21,r22,0x11); /* a1xb1 */
dh.c: ^~~~~~~~~~~
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/x86intrin.h:45,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:
dh.c: ffa.h:63:11: note: called from here
dh.c: re1 = _mm_clmulepi64_si128(op2, op3, ord);\
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: ...
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/x86intrin.h:45,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'low_mul':
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:
dh.c: ffa.h:64:11: note: called from here
dh.c: re2 = _mm_clmulepi64_si128(op4, op5, ord);\
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r20,r21,r22,0x11); /* a1xb1 */
dh.c: ^~~~~~~~~~~
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/x86intrin.h:45,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:
dh.c: ffa.h:63:11: note: called from here
dh.c: re1 = _mm_clmulepi64_si128(op2, op3, ord);\
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O2 -fomit-frame-pointer opt
gcc -m64 -march=barcelona -O3 -fomit-frame-pointer opt
gcc -m64 -march=barcelona -O -fomit-frame-pointer opt
gcc -m64 -march=barcelona -Os -fomit-frame-pointer opt

Compiler output

Implementation: opt
Security model: unknown
Compiler: gcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer
try.c: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji460/amd64/lib/knownrandombytes.o: In function `randombytes':
try.c: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memcpy'
try.c: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memset'
try.c: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji460/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-api.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2':
try.c: api.c:(.text+0x...): undefined reference to `__intel_avx_rep_memset'
try.c: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji460/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-chacha.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2_ECRYPT_keystream_bytes':
try.c: chacha.c:(.text+0x...): undefined reference to `__intel_avx_rep_memset'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 20, namely:
CompilerImplementations
gcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer opt
gcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer opt
gcc -m64 -march=core-avx-i -O -fomit-frame-pointer opt
gcc -m64 -march=core-avx-i -Os -fomit-frame-pointer opt
gcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer opt
gcc -m64 -march=core-avx2 -O3 -fomit-frame-pointer opt
gcc -m64 -march=core-avx2 -O -fomit-frame-pointer opt
gcc -m64 -march=core-avx2 -Os -fomit-frame-pointer opt
gcc -m64 -march=corei7-avx -O2 -fomit-frame-pointer opt
gcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer opt
gcc -m64 -march=corei7-avx -O -fomit-frame-pointer opt
gcc -m64 -march=corei7-avx -Os -fomit-frame-pointer opt
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer opt
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer opt
gcc -m64 -march=native -mtune=native -O -fomit-frame-pointer opt
gcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer opt
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv opt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv opt

Compiler output

Implementation: prot
Security model: unknown
Compiler: cc
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
dh.c: # error "AES/PCLMUL instructions not enabled"
dh.c: ^
dh.c: In file included from dh.c:3:0:
dh.c: low.incl: In function 'low_mul':
dh.c: gls254.h:155:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: r0 = _mm_clmulepi64_si128(ma, mb, 0x00);\
dh.c: ^
dh.c: low.incl:26:2: note: in expansion of macro 'MUL4'
dh.c: MUL4(m1, m0, ma, mb);
dh.c: ^
dh.c: gls254.h:156:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: r1 = _mm_clmulepi64_si128(ma, mb, 0x11);\
dh.c: ^
dh.c: low.incl:26:2: note: in expansion of macro 'MUL4'
dh.c: MUL4(m1, m0, ma, mb);
dh.c: ^
dh.c: gls254.h:157:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: t0 = _mm_clmulepi64_si128(t0, t0, 0x10);\
dh.c: ^
dh.c: low.incl:26:2: note: in expansion of macro 'MUL4'
dh.c: MUL4(m1, m0, ma, mb);
dh.c: ^
dh.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
cc prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc
dh.c: In file included from dh.c:9:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/immintrin.h:35,
dh.c: from gls254.h:20,
dh.c: from dh.c:3:
dh.c: low.incl: In function 'low_sq':
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline '_mm_shuffle_epi8': target specific option mismatch
dh.c: _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
dh.c: ^~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:
dh.c: gls254.h:168:7: note: called from here
dh.c: t0 = _mm_shuffle_epi8(sq, t0);\
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~
dh.c: low.incl:123:2: note: in expansion of macro 'SQUARE'
dh.c: SQUARE(m0, m1, sq, mask);
dh.c: ^~~~~~
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/immintrin.h:35,
dh.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc prot
gcc -funroll-loops prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer
dh.c: In file included from dh.c:9:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/immintrin.h:35,
dh.c: from gls254.h:20,
dh.c: from dh.c:3:
dh.c: low.incl: In function 'low_mul':
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:
dh.c: gls254.h:132:9: note: called from here
dh.c: t0 = _mm_alignr_epi8(m1,m0,8);\
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~
dh.c: low.incl:27:2: note: in expansion of macro 'REDUCE'
dh.c: REDUCE(t0, m1, m0);
dh.c: ^~~~~~
dh.c: In file included from gls254.h:18,
dh.c: ...

Number of similar (compiler,implementation) pairs: 68, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer prot
gcc -O3 -fomit-frame-pointer prot
gcc -O -fomit-frame-pointer prot
gcc -Os -fomit-frame-pointer prot
gcc -fno-schedule-insns -O2 -fomit-frame-pointer prot
gcc -fno-schedule-insns -O3 -fomit-frame-pointer prot
gcc -fno-schedule-insns -O -fomit-frame-pointer prot
gcc -fno-schedule-insns -Os -fomit-frame-pointer prot
gcc -funroll-loops -O2 -fomit-frame-pointer prot
gcc -funroll-loops -O3 -fomit-frame-pointer prot
gcc -funroll-loops -O -fomit-frame-pointer prot
gcc -funroll-loops -Os -fomit-frame-pointer prot
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer prot
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer prot
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer prot
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer prot
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -O -fomit-frame-pointer prot
gcc -funroll-loops -m64 -Os -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer prot
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer prot
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer prot
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer prot
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer prot
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer prot
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer prot
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer prot
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer prot
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer prot
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer prot
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer prot
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer prot
gcc -m64 -O2 -fomit-frame-pointer prot
gcc -m64 -O3 -fomit-frame-pointer prot
gcc -m64 -O -fomit-frame-pointer prot
gcc -m64 -Os -fomit-frame-pointer prot
gcc -m64 -march=k8 -O2 -fomit-frame-pointer prot
gcc -m64 -march=k8 -O3 -fomit-frame-pointer prot
gcc -m64 -march=k8 -O -fomit-frame-pointer prot
gcc -m64 -march=k8 -Os -fomit-frame-pointer prot
gcc -m64 -march=nocona -O2 -fomit-frame-pointer prot
gcc -m64 -march=nocona -O3 -fomit-frame-pointer prot
gcc -m64 -march=nocona -O -fomit-frame-pointer prot
gcc -m64 -march=nocona -Os -fomit-frame-pointer prot
gcc -march=barcelona -O2 -fomit-frame-pointer prot
gcc -march=barcelona -O3 -fomit-frame-pointer prot
gcc -march=barcelona -O -fomit-frame-pointer prot
gcc -march=barcelona -Os -fomit-frame-pointer prot
gcc -march=k8 -O2 -fomit-frame-pointer prot
gcc -march=k8 -O3 -fomit-frame-pointer prot
gcc -march=k8 -O -fomit-frame-pointer prot
gcc -march=k8 -Os -fomit-frame-pointer prot
gcc -march=nocona -O2 -fomit-frame-pointer prot
gcc -march=nocona -O3 -fomit-frame-pointer prot
gcc -march=nocona -O -fomit-frame-pointer prot
gcc -march=nocona -Os -fomit-frame-pointer prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
dh.c: In file included from dh.c:9:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/immintrin.h:35,
dh.c: from gls254.h:20,
dh.c: from dh.c:3:
dh.c: low.incl: In function 'low_mul':
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:
dh.c: gls254.h:132:9: note: called from here
dh.c: t0 = _mm_alignr_epi8(m1,m0,8);\
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~
dh.c: low.incl:27:2: note: in expansion of macro 'REDUCE'
dh.c: REDUCE(t0, m1, m0);
dh.c: ^~~~~~
dh.c: In file included from gls254.h:18,
dh.c: ...
dh.c: In file included from dh.c:9:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: In file included from /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/immintrin.h:35,
dh.c: from gls254.h:20,
dh.c: from dh.c:3:
dh.c: low.incl: In function 'low_mul':
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:
dh.c: gls254.h:132:9: note: called from here
dh.c: t0 = _mm_alignr_epi8(m1,m0,8);\
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~
dh.c: low.incl:27:2: note: in expansion of macro 'REDUCE'
dh.c: REDUCE(t0, m1, m0);
dh.c: ^~~~~~
dh.c: In file included from gls254.h:18,
dh.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O2 -fomit-frame-pointer prot
gcc -m64 -march=barcelona -O3 -fomit-frame-pointer prot
gcc -m64 -march=barcelona -O -fomit-frame-pointer prot
gcc -m64 -march=barcelona -Os -fomit-frame-pointer prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer
dh.c: In file included from dh.c:9:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy
try.c: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji460/amd64/lib/knownrandombytes.o: In function `randombytes':
try.c: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memcpy'
try.c: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memset'
try.c: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji460/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-api.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2':
try.c: api.c:(.text+0x...): undefined reference to `__intel_avx_rep_memset'
try.c: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji460/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-chacha.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2_ECRYPT_keystream_bytes':
try.c: chacha.c:(.text+0x...): undefined reference to `__intel_avx_rep_memset'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 20, namely:
CompilerImplementations
gcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer prot
gcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer prot
gcc -m64 -march=core-avx-i -O -fomit-frame-pointer prot
gcc -m64 -march=core-avx-i -Os -fomit-frame-pointer prot
gcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer prot
gcc -m64 -march=core-avx2 -O3 -fomit-frame-pointer prot
gcc -m64 -march=core-avx2 -O -fomit-frame-pointer prot
gcc -m64 -march=core-avx2 -Os -fomit-frame-pointer prot
gcc -m64 -march=corei7-avx -O2 -fomit-frame-pointer prot
gcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer prot
gcc -m64 -march=corei7-avx -O -fomit-frame-pointer prot
gcc -m64 -march=corei7-avx -Os -fomit-frame-pointer prot
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer prot
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer prot
gcc -m64 -march=native -mtune=native -O -fomit-frame-pointer prot
gcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer prot
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv prot
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv prot
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv prot
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc -m64 -march=core2 -O2 -fomit-frame-pointer
dh.c: In file included from dh.c:9:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: In file included from gls254.h:18,
dh.c: from dh.c:3:
dh.c: low.incl: In function 'low_mul':
dh.c: /home_nfs_robin_ib/bdolbeaur/gcc-8.2.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:
dh.c: gls254.h:157:7: note: called from here
dh.c: t0 = _mm_clmulepi64_si128(t0, t0, 0x10);\
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: low.incl:26:2: note: in expansion of macro 'MUL4'
dh.c: MUL4(m1, m0, ma, mb);
dh.c: ^~~~
dh.c: In file included from gls254.h:18,
dh.c: from dh.c:3:
dh.c: ...

Number of similar (compiler,implementation) pairs: 16, namely:
CompilerImplementations
gcc -m64 -march=core2 -O2 -fomit-frame-pointer prot
gcc -m64 -march=core2 -O3 -fomit-frame-pointer prot
gcc -m64 -march=core2 -O -fomit-frame-pointer prot
gcc -m64 -march=core2 -Os -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer prot
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer prot
gcc -m64 -march=corei7 -O3 -fomit-frame-pointer prot
gcc -m64 -march=corei7 -O -fomit-frame-pointer prot
gcc -m64 -march=corei7 -Os -fomit-frame-pointer prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: icc
dh.c: In file included from dh.c(9):
dh.c: scmul.incl(273): warning #266: function "types_cond_copy2" declared implicitly
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^
dh.c:
dh.c: In file included from dh.c(9):
dh.c: scmul.incl(284): warning #266: function "types_cond_copy" declared implicitly
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^
dh.c:

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
icc prot
icc -no-vec prot
icc -xAVX -O2 -fomit-frame-pointer prot
icc -xAVX -O3 -fomit-frame-pointer prot
icc -xCORE-AVX-I -O2 -fomit-frame-pointer prot
icc -xCORE-AVX-I -O3 -fomit-frame-pointer prot
icc -xCORE-AVX2 -O2 -fomit-frame-pointer prot
icc -xCORE-AVX2 -O3 -fomit-frame-pointer prot
icc -xSSE4.1 -O2 -fomit-frame-pointer prot
icc -xSSE4.1 -O3 -fomit-frame-pointer prot
icc -xSSE4.2 -O2 -fomit-frame-pointer prot
icc -xSSE4.2 -O3 -fomit-frame-pointer prot