Implementation notes: amd64, zen3, crypto_sign/rainbow6a

Computer: zen3
Architecture: amd64
CPU ID: AuthenticAMD-00a20f10-178bfbff
SUPERCOP version: 20211108
Operation: crypto_sign
Primitive: rainbow6a
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
90108761425 8 104867670188 948 1050456T:avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
949055161406 8 1048660159532 972 1050392T:avx2clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
95433238375 8 104866054060 972 1050360T:avx2clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
95634942978 8 104867658444 948 1050456T:avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
95722235023 8 104866051202 964 1050360T:avx2clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
97003538930 8 104867653356 948 1050456T:avx2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
983741164424 8 1048660158180 972 1050392T:avx2clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
121730425610 8 104867641736 940 1050424T:avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
4673030157172 0 1048628185740 964 1050392T:portableclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
4998049109185 0 1048644132484 940 1050456T:portablegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
5153521136316 0 1048628165188 964 1050392T:portableclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
5668037198272 0 1048628225116 964 1050392T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
599723064869 0 104862888604 964 1050360T:portableclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
600634031062 0 104862851850 956 1050360T:portableclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
643352928498 0 104862849812 964 1050360T:portableclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
706767421560 0 104864442884 940 1050456T:portablegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
814163422439 0 104864443220 940 1050456T:portablegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
1198145410032 0 104864429864 932 1050424T:portablegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108

Test failure

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 142

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

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
mpkc_avx2.c: In file included from mpkc_avx2.c:4:
mpkc_avx2.c: In file included from ./blas.h:21:
mpkc_avx2.c: ./blas_avx2.h:137:19: error: always_inline function '_mm256_load_si256' requires target feature 'avx', but would be inlined into function 'gf16mat_prod_avx2' that is compiled without support for 'avx'
mpkc_avx2.c: __m256i mask_f = _mm256_load_si256( (__m256i*)__mask_low);
mpkc_avx2.c: ^
mpkc_avx2.c: ./blas_avx2.h:137:19: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
mpkc_avx2.c: ./blas_avx2.h:142:40: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'gf16mat_prod_avx2' that is compiled without support for 'avx'
mpkc_avx2.c: for(unsigned i=0;i<n_ymm;i++) r0[i] = _mm256_setzero_si256();
mpkc_avx2.c: ^
mpkc_avx2.c: ./blas_avx2.h:142:40: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
mpkc_avx2.c: ./blas_avx2.h:143:40: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'gf16mat_prod_avx2' that is compiled without support for 'avx'
mpkc_avx2.c: for(unsigned i=0;i<n_ymm;i++) r1[i] = _mm256_setzero_si256();
mpkc_avx2.c: ^
mpkc_avx2.c: ./blas_avx2.h:143:40: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
mpkc_avx2.c: ./blas_avx2.h:148:32: error: always_inline function '_mm256_load_si256' requires target feature 'avx', but would be inlined into function 'gf16mat_prod_avx2' that is compiled without support for 'avx'
mpkc_avx2.c: __m256i lx = tbl32_gf16_log( _mm256_load_si256((__m256i*)(x+i*32)) );
mpkc_avx2.c: ^
mpkc_avx2.c: ./blas_avx2.h:148:32: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
mpkc_avx2.c: ./blas_avx2.h:148:16: warning: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI [-Wpsabi]
mpkc_avx2.c: __m256i lx = tbl32_gf16_log( _mm256_load_si256((__m256i*)(x+i*32)) );
mpkc_avx2.c: ^
mpkc_avx2.c: ./blas_avx2.h:149:3: error: always_inline function '_mm256_store_si256' requires target feature 'avx', but would be inlined into function 'gf16mat_prod_avx2' that is compiled without support for 'avx'
mpkc_avx2.c: _mm256_store_si256((__m256i*)(x+i*32),lx);
mpkc_avx2.c: ^
mpkc_avx2.c: ./blas_avx2.h:149:3: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
mpkc_avx2.c: ...

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