Implementation notes: amd64, h6sandy, crypto_sign/rainbow5ccompres963664

Computer: h6sandy
Microarchitecture: amd64; Sandy Bridge (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_sign
Primitive: rainbow5ccompres963664
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
603870713177457 8 52207340 940 1824T:ssse3gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212
607441871105921 8 52157268 956 1792T:ssse3clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
612702880100457 8 52150532 940 1824T:ssse3gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212
61413044483866 8 52136852 956 1792T:ssse3clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
618668445134818 8 52182940 956 1792T:ssse3clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
61984908481799 8 52132740 940 1824T:ssse3gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212
62207413771552 8 52124830 948 1792T:ssse3clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
62245550055565 8 52112148 932 1824T:ssse3gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212
657848173153436 0 52217124 932 1824T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212
661435978192042 0 52255812 932 1824T:amd64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212
689928028102134 0 52165004 948 1792T:amd64clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
69018162866825 0 52129292 948 1792T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
69052460276060 0 52139452 948 1792T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
69284286782509 0 52145804 948 1792T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
695431442112109 0 52173980 948 1792T:amd64clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
70059502283109 0 52143988 948 1792T:amd64clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
74600330462425 0 52124884 932 1824T:amd64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212
74900764270275 0 52132996 932 1824T:amd64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212
75343630750182 0 52111334 940 1792T:amd64clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
75772237748170 0 52110188 948 1792T:amd64clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
76837676548392 0 52111076 932 1824T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212
77925328249825 0 52112212 932 1824T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212
78610564841549 0 52103572 948 1792T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
79120268742516 0 52103758 940 1792T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121820231212
90450813233590 0 5295260 924 1824T:amd64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212
90760280430413 0 5291940 924 1824T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121820231212

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
blas_matrix_avx2.c: blas_matrix_avx2.c:40:9: error: always_inline function '_mm256_shuffle_epi8' requires target feature 'avx2', but would be inlined into function 'gf16mat_prod_16_multab_avx2' that is compiled without support for 'avx2'
blas_matrix_avx2.c: rl ^= _mm256_shuffle_epi8( mt , inp&mask_f );
blas_matrix_avx2.c: ^
blas_matrix_avx2.c: blas_matrix_avx2.c:41:53: error: always_inline function '_mm256_andnot_si256' requires target feature 'avx2', but would be inlined into function 'gf16mat_prod_16_multab_avx2' that is compiled without support for 'avx2'
blas_matrix_avx2.c: rh ^= _mm256_shuffle_epi8( mt , _mm256_srli_epi16(_mm256_andnot_si256(mask_f,inp),4) );
blas_matrix_avx2.c: ^
blas_matrix_avx2.c: blas_matrix_avx2.c:41:35: error: always_inline function '_mm256_srli_epi16' requires target feature 'avx2', but would be inlined into function 'gf16mat_prod_16_multab_avx2' that is compiled without support for 'avx2'
blas_matrix_avx2.c: rh ^= _mm256_shuffle_epi8( mt , _mm256_srli_epi16(_mm256_andnot_si256(mask_f,inp),4) );
blas_matrix_avx2.c: ^
blas_matrix_avx2.c: blas_matrix_avx2.c:41:9: error: always_inline function '_mm256_shuffle_epi8' requires target feature 'avx2', but would be inlined into function 'gf16mat_prod_16_multab_avx2' that is compiled without support for 'avx2'
blas_matrix_avx2.c: rh ^= _mm256_shuffle_epi8( mt , _mm256_srli_epi16(_mm256_andnot_si256(mask_f,inp),4) );
blas_matrix_avx2.c: ^
blas_matrix_avx2.c: blas_matrix_avx2.c:44:19: error: always_inline function '_mm256_slli_epi16' requires target feature 'avx2', but would be inlined into function 'gf16mat_prod_16_multab_avx2' that is compiled without support for 'avx2'
blas_matrix_avx2.c: __m256i r = rl ^ _mm256_slli_epi16( rh , 4 );
blas_matrix_avx2.c: ^
blas_matrix_avx2.c: blas_matrix_avx2.c:46:15: error: '__builtin_ia32_extract128i256' needs target feature avx2
blas_matrix_avx2.c: __m128i r1 = _mm256_extracti128_si256( r , 1 );
blas_matrix_avx2.c: ^
blas_matrix_avx2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:824:13: note: expanded from macro '_mm256_extracti128_si256'
blas_matrix_avx2.c: ((__m128i)__builtin_ia32_extract128i256((__v4di)(__m256i)(V), (int)(M)))
blas_matrix_avx2.c: ^
blas_matrix_avx2.c: 6 errors generated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
blas_comm.c: In file included from blas_comm.c:6:
blas_comm.c: In file included from ./blas.h:25:
blas_comm.c: ./blas_avx2.h:88:17: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'gf256v_add_avx2' that is compiled without support for 'avx'
blas_comm.c: __m256i inp = _mm256_loadu_si256( (__m256i*) (a+i*32) );
blas_comm.c: ^
blas_comm.c: ./blas_avx2.h:88:17: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
blas_comm.c: ./blas_avx2.h:89:17: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'gf256v_add_avx2' that is compiled without support for 'avx'
blas_comm.c: __m256i out = _mm256_loadu_si256( (__m256i*) (accu_b+i*32) );
blas_comm.c: ^
blas_comm.c: ./blas_avx2.h:89:17: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
blas_comm.c: ./blas_avx2.h:91:3: error: always_inline function '_mm256_storeu_si256' requires target feature 'avx', but would be inlined into function 'gf256v_add_avx2' that is compiled without support for 'avx'
blas_comm.c: _mm256_storeu_si256( (__m256i*) (accu_b+i*32) , out );
blas_comm.c: ^
blas_comm.c: ./blas_avx2.h:91:3: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
blas_comm.c: 6 errors generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
blas_matrix_avx2.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
blas_matrix_avx2.c: from gf16_avx2.h:22,
blas_matrix_avx2.c: from blas_matrix_avx2.c:9:
blas_matrix_avx2.c: gf16_avx2.h: In function 'tbl32_gf16_log':
blas_matrix_avx2.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:588:1: error: inlining failed in call to 'always_inline' '_mm256_shuffle_epi8': target specific option mismatch
blas_matrix_avx2.c: 588 | _mm256_shuffle_epi8 (__m256i __X, __m256i __Y)
blas_matrix_avx2.c: | ^~~~~~~~~~~~~~~~~~~
blas_matrix_avx2.c: In file included from blas_matrix_avx2.c:9:
blas_matrix_avx2.c: gf16_avx2.h:45:16: note: called from here
blas_matrix_avx2.c: 45 | return _mm256_shuffle_epi8(tab_l,a);
blas_matrix_avx2.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
blas_matrix_avx2.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
blas_matrix_avx2.c: from gf16_avx2.h:22,
blas_matrix_avx2.c: from blas_matrix_avx2.c:9:
blas_matrix_avx2.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:588:1: error: inlining failed in call to 'always_inline' '_mm256_shuffle_epi8': target specific option mismatch
blas_matrix_avx2.c: 588 | _mm256_shuffle_epi8 (__m256i __X, __m256i __Y)
blas_matrix_avx2.c: | ^~~~~~~~~~~~~~~~~~~
blas_matrix_avx2.c: In file included from blas_matrix_avx2.c:9:
blas_matrix_avx2.c: gf16_avx2.h:45:16: note: called from here
blas_matrix_avx2.c: 45 | return _mm256_shuffle_epi8(tab_l,a);
blas_matrix_avx2.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2

Compiler output

Implementation: T:ssse3
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
blas_matrix_ref.c: In file included from blas_matrix_ref.c:6:
blas_matrix_ref.c: In file included from ./blas.h:25:
blas_matrix_ref.c: In file included from ./blas_sse.h:16:
blas_matrix_ref.c: ./gf16_sse.h:34:9: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'linear_transform_8x8_128b' that is compiled without support for 'ssse3'
blas_matrix_ref.c: return _mm_shuffle_epi8(tab_l,v&mask_f)^_mm_shuffle_epi8(tab_h,_mm_srli_epi16(v,4)&mask_f);
blas_matrix_ref.c: ^
blas_matrix_ref.c: ./gf16_sse.h:34:42: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'linear_transform_8x8_128b' that is compiled without support for 'ssse3'
blas_matrix_ref.c: return _mm_shuffle_epi8(tab_l,v&mask_f)^_mm_shuffle_epi8(tab_h,_mm_srli_epi16(v,4)&mask_f);
blas_matrix_ref.c: ^
blas_matrix_ref.c: 2 errors generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3