Implementation notes: amd64, cherry, crypto_kem/sntrup953

Computer: cherry
Microarchitecture: amd64; Silvermont (406c4)
Architecture: amd64
CPU ID: GenuineIntel-000406c4-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_kem
Primitive: sntrup953
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
42986525883 0 059530 820 1752T:factoredgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
43036675995 0 059209 836 1720T:factoredclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
43089211946 0 053962 820 1752T:factoredgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
43277344016 0 056025 836 1720T:factoredclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
43402801950 0 052519 828 1720T:factoredclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
43409205592 0 059217 836 1720T:factoredclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
43502412396 0 054978 820 1752T:factoredgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
43620851785 0 051946 812 1720T:factoredgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
43684762298 0 053439 828 1720T:factoredclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
44131345592 0 067385 836 1720factoredclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
44236464016 0 064193 836 1720factoredclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
44287782298 0 061607 828 1720factoredclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
44356051785 0 060114 812 1720factoredgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
44530571946 0 062194 820 1752factoredgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
44643085995 0 067441 836 1720factoredclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
44692702396 0 063146 820 1752factoredgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
44710681950 0 060687 828 1720factoredclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
44913785883 0 067762 820 1752factoredgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
527567524748 0 046530 820 1752T:compactgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
537000924748 0 054698 820 1752compactgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
1038672224148 0 045595 828 1720T:compactclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
1045781016295 0 036195 828 1720T:compactclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
1049691416295 0 044363 828 1720compactclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
1051110724148 0 053763 828 1720compactclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
1367101027865 0 048779 828 1720T:compactclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
1380185127865 0 056947 828 1720compactclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
153665286369 0 024857 820 1720T:compactclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
154157126369 0 033025 820 1720compactclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
155597357857 0 027121 820 1720T:compactclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
156438787857 0 035353 820 1720compactclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
183450128097 0 036938 820 1752compactgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
184195668097 0 028770 820 1752T:compactgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
198832036229 0 026304 812 1752T:compactgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
200900806229 0 034472 812 1752compactgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
213096005154 0 023402 812 1720T:compactgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
214170815154 0 031570 812 1720compactgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
54948739620354 0 041459 828 1720T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
54955789820354 0 049691 828 1720refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
54988516719566 0 041330 820 1752T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
54999726919566 0 049498 820 1752refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
56279494913138 0 033115 828 1720T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
56281253320832 0 042331 828 1720T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
56290228713138 0 041283 828 1720refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
56292520520832 0 050563 828 1720refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
6030073629016 0 029698 820 1752T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
6031093909016 0 037866 820 1752refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
6233958587033 0 027064 812 1752T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
6235141057033 0 035232 812 1752refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
6316871778570 0 027849 820 1720T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
6317330138570 0 036017 820 1720refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
6424537806419 0 024937 820 1720T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
6424964716168 0 024378 812 1720T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
6425454216168 0 032546 812 1720refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
6425754656419 0 033105 820 1720refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-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_sntrup953_factored_kem.S: crypto_kem_sntrup953_factored_kem.S:878:2: error: changed section flags for .rodata.cst32, expected: 0x12
crypto_kem_sntrup953_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup953_factored_kem.S: ^
crypto_kem_sntrup953_factored_kem.S: crypto_kem_sntrup953_factored_kem.S:878:2: error: changed section entsize for .rodata.cst32, expected: 32
crypto_kem_sntrup953_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup953_factored_kem.S: ^
crypto_kem_sntrup953_factored_kem.S: crypto_kem_sntrup953_factored_kem.S:899:2: error: changed section flags for .rodata.cst16, expected: 0x12
crypto_kem_sntrup953_factored_kem.S: .section .rodata.cst16
crypto_kem_sntrup953_factored_kem.S: ^
crypto_kem_sntrup953_factored_kem.S: crypto_kem_sntrup953_factored_kem.S:899:2: error: changed section entsize for .rodata.cst16, expected: 16
crypto_kem_sntrup953_factored_kem.S: .section .rodata.cst16
crypto_kem_sntrup953_factored_kem.S: ^
crypto_kem_sntrup953_factored_kem.S: crypto_kem_sntrup953_factored_kem.S:912:2: error: changed section flags for .rodata.cst32, expected: 0x12
crypto_kem_sntrup953_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup953_factored_kem.S: ^
crypto_kem_sntrup953_factored_kem.S: crypto_kem_sntrup953_factored_kem.S:912:2: error: changed section entsize for .rodata.cst32, expected: 32
crypto_kem_sntrup953_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup953_factored_kem.S: ^
crypto_kem_sntrup953_factored_kem.S: crypto_kem_sntrup953_factored_kem.S:975:2: error: changed section flags for .rodata.cst16, expected: 0x12
crypto_kem_sntrup953_factored_kem.S: .section .rodata.cst16
crypto_kem_sntrup953_factored_kem.S: ^
crypto_kem_sntrup953_factored_kem.S: crypto_kem_sntrup953_factored_kem.S:975:2: error: changed section entsize for .rodata.cst16, expected: 16
crypto_kem_sntrup953_factored_kem.S: .section .rodata.cst16
crypto_kem_sntrup953_factored_kem.S: ^
crypto_kem_sntrup953_factored_kem.S: crypto_kem_sntrup953_factored_kem.S:1010:2: error: changed section flags for .rodata.cst32, expected: 0x12
crypto_kem_sntrup953_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