Implementation notes: amd64, robin204, crypto_dh/k298

Computer: robin204
Architecture: amd64
CPU ID: GenuineIntel-000306f2-bfebfbff
SUPERCOP version: 20170228
Operation: crypto_dh
Primitive: k298
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
304132? ? ?? ? ?refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2017041520170228
304856? ? ?? ? ?refgcc_-m64_-march=core-avx2_-O3_-fomit-frame-pointer2017041520170228
304992? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2017041520170228
308240? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-O3_-fomit-frame-pointer2017041520170228
308700? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-O3_-fomit-frame-pointer2017041520170228
309288? ? ?? ? ?reficc_-xCORE-AVX2_-O3_-fomit-frame-pointer2017041520170228
313608? ? ?? ? ?reficc_-xCORE-AVX2_-O2_-fomit-frame-pointer2017041520170228
315472? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2017041520170228
316324? ? ?? ? ?reficc2017041520170228
316500? ? ?? ? ?reficc_-no-vec2017041520170228
316600? ? ?? ? ?refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2017041520170228
322960? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-O2_-fomit-frame-pointer2017041520170228
323492? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-O2_-fomit-frame-pointer2017041520170228
325908? ? ?? ? ?refgcc_-m64_-march=core-avx2_-Os_-fomit-frame-pointer2017041520170228
326044? ? ?? ? ?refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2017041520170228
326204? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2017041520170228
328116? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-Os_-fomit-frame-pointer2017041520170228
328228? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-Os_-fomit-frame-pointer2017041520170228
332396? ? ?? ? ?refgcc_-m64_-march=core-avx2_-O2_-fomit-frame-pointer2017041520170228
333560? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-O_-fomit-frame-pointer2017041520170228
333664? ? ?? ? ?refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2017041520170228
333940? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2017041520170228
334308? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-O_-fomit-frame-pointer2017041520170228
350720? ? ?? ? ?refgcc_-m64_-march=core-avx2_-O_-fomit-frame-pointer2017041520170228

Compiler output

Implementation: crypto_dh/k298/ref
Compiler: cc
dh.c: In file included from dh.c:6:
dh.c: ffa.h: In function 'ffa_red_149':
dh.c: ffa.h:47: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:47: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:47: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:48: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:48: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:48: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:49: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:49: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:49: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:50: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:50: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:50: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:51: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:51: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:51: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:53: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:53: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:53: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:54: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:54: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:54: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:55: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:55: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ...

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

Compiler output

Implementation: crypto_dh/k298/ref
Compiler: gcc
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:43:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: smu.h: In function 'smu_3nf_ltr':
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.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:0:
dh.c: smu.h:337:19: note: called from here
dh.c: mask_lps[7] = _mm_cmpeq_epi64(digits[7], dig_sse);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:43:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.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:0:
dh.c: smu.h:336:19: note: called from here
dh.c: mask_lps[6] = _mm_cmpeq_epi64(digits[6], dig_sse);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:43:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.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 ref
gcc -funroll-loops ref

Compiler output

Implementation: crypto_dh/k298/ref
Compiler: gcc -O2 -fomit-frame-pointer
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'ffa_red_149':
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.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:0:
dh.c: ffa.h:20:10: note: called from here
dh.c: tp_0 = _mm_clmulepi64_si128(p_149_1, tp_0, 0x00);\
dh.c: ^
dh.c: ffa.h:82:5: note: in expansion of macro 'ffa_red_149_stp'
dh.c: ffa_red_149_stp(b_00, b_01, tp_0, tp_1, tp_2, p_149_0, p_149_1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.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:0:
dh.c: ffa.h:19:10: note: called from here
dh.c: tp_1 = _mm_clmulepi64_si128(p_149_0, tp_0, 0x01);\
dh.c: ^
dh.c: ffa.h:82:5: note: in expansion of macro 'ffa_red_149_stp'
dh.c: ...

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

Compiler output

Implementation: crypto_dh/k298/ref
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'ffa_red_149':
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.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:0:
dh.c: ffa.h:20:10: note: called from here
dh.c: tp_0 = _mm_clmulepi64_si128(p_149_1, tp_0, 0x00);\
dh.c: ^
dh.c: ffa.h:82:5: note: in expansion of macro 'ffa_red_149_stp'
dh.c: ffa_red_149_stp(b_00, b_01, tp_0, tp_1, tp_2, p_149_0, p_149_1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.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:0:
dh.c: ffa.h:19:10: note: called from here
dh.c: tp_1 = _mm_clmulepi64_si128(p_149_0, tp_0, 0x01);\
dh.c: ^
dh.c: ffa.h:82:5: note: in expansion of macro 'ffa_red_149_stp'
dh.c: ...
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'ffa_red_149':
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.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:0:
dh.c: ffa.h:20:10: note: called from here
dh.c: tp_0 = _mm_clmulepi64_si128(p_149_1, tp_0, 0x00);\
dh.c: ^
dh.c: ffa.h:82:5: note: in expansion of macro 'ffa_red_149_stp'
dh.c: ffa_red_149_stp(b_00, b_01, tp_0, tp_1, tp_2, p_149_0, p_149_1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.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:0:
dh.c: ffa.h:19:10: note: called from here
dh.c: tp_1 = _mm_clmulepi64_si128(p_149_0, tp_0, 0x01);\
dh.c: ^
dh.c: ffa.h:82:5: note: in expansion of macro 'ffa_red_149_stp'
dh.c: ...

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