Implementation notes: amd64, cherry, crypto_kem/sntrup761

Computer: cherry
Microarchitecture: amd64; Silvermont (406c4)
Architecture: amd64
CPU ID: GenuineIntel-000406c4-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_kem
Primitive: sntrup761
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
25265348611 0 061041 836 1720T:factoredclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
25308225870 0 058770 820 1752T:factoredgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
25320771912 0 051663 828 1720T:factoredclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
25353148304 0 061129 836 1720T:factoredclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
25531562298 0 052599 828 1720T:factoredclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
25567513482 0 054673 836 1720T:factoredclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
25606341785 0 051170 812 1720T:factoredgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
25611782396 0 054202 820 1752T:factoredgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
25745041946 0 053186 820 1752T:factoredgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
26230662396 0 062370 820 1752factoredgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
26428701946 0 061354 820 1752factoredgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
26469688304 0 069297 836 1720factoredclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
26497165870 0 066938 820 1752factoredgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
26497212298 0 060831 828 1720factoredclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
26551441912 0 059895 828 1720factoredclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
26581138611 0 069209 836 1720factoredclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
26631553482 0 062841 836 1720factoredclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
26650431785 0 059338 812 1720factoredgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
353762725269 0 047042 820 1752T:compactgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
367979025269 0 055210 820 1752compactgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
680472618967 0 038819 828 1720T:compactclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
681132829844 0 051291 828 1720T:compactclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
685212418967 0 047051 828 1720compactclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
690457329844 0 059459 828 1720compactclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
886849931305 0 052171 828 1720T:compactclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
890596131305 0 060403 828 1720compactclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
99214786347 0 024841 820 1720T:compactclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
99753886347 0 033009 820 1720compactclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
101085857857 0 027121 820 1720T:compactclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
103459677857 0 035353 820 1720compactclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
118319688346 0 028962 820 1752T:compactgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
118617798346 0 037194 820 1752compactgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
129275346229 0 026304 812 1752T:compactgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
129739246229 0 034472 812 1752compactgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
137725845154 0 023402 812 1720T:compactgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
138616885154 0 031570 812 1720compactgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
35078594623922 0 045043 828 1720T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
35087532623922 0 053211 828 1720refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
35106893220174 0 041898 820 1752T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
35115818820174 0 050130 820 1752refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
35931664726656 0 048155 828 1720T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
35932234615876 0 035867 828 1720T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
35940828626656 0 056387 828 1720refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
35941720715876 0 044035 828 1720refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
3849532539256 0 029890 820 1752T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
3850463559256 0 038122 820 1752refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
3980045767033 0 027064 812 1752T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
3981268577033 0 035232 812 1752refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
4028343338570 0 027849 820 1720T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
4030161678570 0 036017 820 1720refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
4101294176168 0 024378 812 1720T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
4101399816394 0 024857 820 1720T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
4102464086394 0 033089 820 1720refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
4102688536168 0 032546 812 1720refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212

Test failure

Implementation: avx
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111

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

Compiler output

Implementation: avx
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
crypto_kem_sntrup761_factored_kem.S: crypto_kem_sntrup761_factored_kem.S:896:2: error: changed section flags for .rodata.cst32, expected: 0x12
crypto_kem_sntrup761_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup761_factored_kem.S: ^
crypto_kem_sntrup761_factored_kem.S: crypto_kem_sntrup761_factored_kem.S:896:2: error: changed section entsize for .rodata.cst32, expected: 32
crypto_kem_sntrup761_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup761_factored_kem.S: ^
crypto_kem_sntrup761_factored_kem.S: crypto_kem_sntrup761_factored_kem.S:979:2: error: changed section flags for .rodata.cst16, expected: 0x12
crypto_kem_sntrup761_factored_kem.S: .section .rodata.cst16
crypto_kem_sntrup761_factored_kem.S: ^
crypto_kem_sntrup761_factored_kem.S: crypto_kem_sntrup761_factored_kem.S:979:2: error: changed section entsize for .rodata.cst16, expected: 16
crypto_kem_sntrup761_factored_kem.S: .section .rodata.cst16
crypto_kem_sntrup761_factored_kem.S: ^
crypto_kem_sntrup761_factored_kem.S: crypto_kem_sntrup761_factored_kem.S:1014:2: error: changed section flags for .rodata.cst32, expected: 0x12
crypto_kem_sntrup761_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup761_factored_kem.S: ^
crypto_kem_sntrup761_factored_kem.S: crypto_kem_sntrup761_factored_kem.S:1014:2: error: changed section entsize for .rodata.cst32, expected: 32
crypto_kem_sntrup761_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup761_factored_kem.S: ^
crypto_kem_sntrup761_factored_kem.S: crypto_kem_sntrup761_factored_kem.S:1025:2: error: changed section flags for .rodata.cst16, expected: 0x12
crypto_kem_sntrup761_factored_kem.S: .section .rodata.cst16
crypto_kem_sntrup761_factored_kem.S: ^
crypto_kem_sntrup761_factored_kem.S: crypto_kem_sntrup761_factored_kem.S:1025:2: error: changed section entsize for .rodata.cst16, expected: 16
crypto_kem_sntrup761_factored_kem.S: .section .rodata.cst16
crypto_kem_sntrup761_factored_kem.S: ^
crypto_kem_sntrup761_factored_kem.S: crypto_kem_sntrup761_factored_kem.S:1032:2: error: changed section flags for .rodata.cst32, expected: 0x12
crypto_kem_sntrup761_factored_kem.S: ...

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