Implementation notes: amd64, jasper2, crypto_kem/kyber90s512
Computer: jasper2
Microarchitecture: amd64; Tremont (906c0)
Architecture: amd64
CPU ID: GenuineIntel-000906c0-20-bfebfbff
SUPERCOP version: 20240716
Operation: crypto_kem
Primitive: kyber90s512
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
584621 | 65103 0 0 | 85688 820 1720 | ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240713 | 20240625 |
593116 | 53463 0 0 | 71744 820 1720 | ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240713 | 20240625 |
596860 | 61961 0 0 | 81232 820 1720 | ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240713 | 20240625 |
643841 | 41367 0 0 | 57894 812 1720 | ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240713 | 20240625 |
674963 | 61009 0 0 | 80616 788 1752 | ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240713 | 20240625 |
732200 | 42682 0 0 | 61296 788 1752 | ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240713 | 20240625 |
744668 | 41841 0 0 | 59888 788 1752 | ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240713 | 20240625 |
805839 | 42682 0 0 | 59966 812 1720 | ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240713 | 20240625 |
1005104 | 40077 0 0 | 56264 780 1720 | ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240713 | 20240625 |
Compiler output
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 (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
aes256ctr.c: aes256ctr.c:90:3: error: '__builtin_ia32_aeskeygenassist128' needs target feature aes
aes256ctr.c: BLOCK1(0x01);
aes256ctr.c: ^
aes256ctr.c: aes256ctr.c:71:11: note: expanded from macro 'BLOCK1'
aes256ctr.c: temp1 = _mm_aeskeygenassist_si128(temp2, IMM); \
aes256ctr.c: ^
aes256ctr.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/__wmmintrin_aes.h:136:12: note: expanded from macro '_mm_aeskeygenassist_si128'
aes256ctr.c: (__m128i)__builtin_ia32_aeskeygenassist128((__v2di)(__m128i)(C), (int)(R))
aes256ctr.c: ^
aes256ctr.c: aes256ctr.c:91:3: error: '__builtin_ia32_aeskeygenassist128' needs target feature aes
aes256ctr.c: BLOCK2(0x01);
aes256ctr.c: ^
aes256ctr.c: aes256ctr.c:81:11: note: expanded from macro 'BLOCK2'
aes256ctr.c: temp1 = _mm_aeskeygenassist_si128(temp0, IMM); \
aes256ctr.c: ^
aes256ctr.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/__wmmintrin_aes.h:136:12: note: expanded from macro '_mm_aeskeygenassist_si128'
aes256ctr.c: (__m128i)__builtin_ia32_aeskeygenassist128((__v2di)(__m128i)(C), (int)(R))
aes256ctr.c: ^
aes256ctr.c: aes256ctr.c:93:3: error: '__builtin_ia32_aeskeygenassist128' needs target feature aes
aes256ctr.c: BLOCK1(0x02);
aes256ctr.c: ^
aes256ctr.c: aes256ctr.c:71:11: note: expanded from macro 'BLOCK1'
aes256ctr.c: temp1 = _mm_aeskeygenassist_si128(temp2, IMM); \
aes256ctr.c: ^
aes256ctr.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/__wmmintrin_aes.h:136:12: note: expanded from macro '_mm_aeskeygenassist_si128'
aes256ctr.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
avx2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
cbd.c: cbd.c: In function 'cbd3':
cbd.c: cbd.c:76:17: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
cbd.c: 76 | const __m256i mask249 = _mm256_set1_epi32(0x249249);
cbd.c: | ^~~~~~~
cbd.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
cbd.c: from cbd.c:2:
cbd.c: cbd.c: In function 'cbd2':
cbd.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1319:1: error: inlining failed in call to 'always_inline' '_mm256_set1_epi32': target specific option mismatch
cbd.c: 1319 | _mm256_set1_epi32 (int __A)
cbd.c: | ^~~~~~~~~~~~~~~~~
cbd.c: cbd.c:23:26: note: called from here
cbd.c: 23 | const __m256i mask0F = _mm256_set1_epi32(0x0F0F0F0F);
cbd.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cbd.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
cbd.c: from cbd.c:2:
cbd.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1319:1: error: inlining failed in call to 'always_inline' '_mm256_set1_epi32': target specific option mismatch
cbd.c: 1319 | _mm256_set1_epi32 (int __A)
cbd.c: | ^~~~~~~~~~~~~~~~~
cbd.c: cbd.c:22:26: note: called from here
cbd.c: 22 | const __m256i mask03 = _mm256_set1_epi32(0x03030303);
cbd.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cbd.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
cbd.c: from cbd.c:2:
cbd.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1319:1: error: inlining failed in call to 'always_inline' '_mm256_set1_epi32': target specific option mismatch
cbd.c: 1319 | _mm256_set1_epi32 (int __A)
cbd.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Passed TIMECOP
TIMECOP iterations: 1
Number of similar (implementation,compiler) pairs: 9, namely:
Implementation | Compiler |
ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |