Implementation notes: amd64, zen3, crypto_kem/kyber512

Computer: zen3
Architecture: amd64
CPU ID: AuthenticAMD-00a20f10-178bfbff
SUPERCOP version: 20211108
Operation: crypto_kem
Primitive: kyber512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
57185161039 0 0188080 868 1720avx2clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
57371167025 0 0194288 868 1720avx2clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
57710128437 0 0147406 860 1720avx2clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
60741156975 0 0178400 844 1752avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
61193133456 0 0152904 868 1720avx2clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
62500128028 0 0146912 844 1752avx2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
62791130915 0 0150456 844 1752avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
65027127276 0 0145068 836 1720avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
28586386082 0 0112800 868 1720refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
30163477146 0 0104088 868 1720refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
30407429464 0 051872 868 1720refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
31065548644 0 070160 844 1752refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
31287713059 0 032462 860 1720refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
33776115567 0 035360 868 1720refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020720211108
33790614155 0 033856 844 1752refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
34799413026 0 032072 844 1752refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108
40428612398 0 030404 836 1720refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020720211108

Compiler output

Implementation: avx2
Security model: constbranchindex
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cbd.c: cbd.c:76:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'avx', but would be inlined into function 'cbd3' that is compiled without support for 'avx'
cbd.c: const __m256i mask249 = _mm256_set1_epi32(0x249249);
cbd.c: ^
cbd.c: cbd.c:76:27: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
cbd.c: cbd.c:77:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'avx', but would be inlined into function 'cbd3' that is compiled without support for 'avx'
cbd.c: const __m256i mask6DB = _mm256_set1_epi32(0x6DB6DB);
cbd.c: ^
cbd.c: cbd.c:77:27: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
cbd.c: cbd.c:78:26: error: always_inline function '_mm256_set1_epi32' requires target feature 'avx', but would be inlined into function 'cbd3' that is compiled without support for 'avx'
cbd.c: const __m256i mask07 = _mm256_set1_epi32(7);
cbd.c: ^
cbd.c: cbd.c:78:26: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
cbd.c: cbd.c:79:26: error: always_inline function '_mm256_set1_epi32' requires target feature 'avx', but would be inlined into function 'cbd3' that is compiled without support for 'avx'
cbd.c: const __m256i mask70 = _mm256_set1_epi32(7 << 16);
cbd.c: ^
cbd.c: cbd.c:79:26: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
cbd.c: cbd.c:80:25: error: always_inline function '_mm256_set1_epi16' requires target feature 'avx', but would be inlined into function 'cbd3' that is compiled without support for 'avx'
cbd.c: const __m256i mask3 = _mm256_set1_epi16(3);
cbd.c: ^
cbd.c: cbd.c:80:25: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
cbd.c: cbd.c:81:28: error: always_inline function '_mm256_set_epi8' requires target feature 'avx', but would be inlined into function 'cbd3' that is compiled without support for 'avx'
cbd.c: const __m256i shufbidx = _mm256_set_epi8(-1,15,14,13,-1,12,11,10,-1, 9, 8, 7,-1, 6, 5, 4,
cbd.c: ^
cbd.c: cbd.c:81:28: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
cbd.c: cbd.c:85:10: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'cbd3' that is compiled without support for 'avx'
cbd.c: ...

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