Implementation notes: amd64, cherry, crypto_kem/sntrup1277

Computer: cherry
Microarchitecture: amd64; Silvermont (406c4)
Architecture: amd64
CPU ID: GenuineIntel-000406c4-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_kem
Primitive: sntrup1277
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
71736244549 0 058577 836 1720T:factoredclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
71750574007 0 056801 836 1720T:factoredclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
71779745612 0 060050 820 1752T:factoredgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
71816852364 0 055754 820 1752T:factoredgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
71880194018 0 058457 836 1720T:factoredclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
72093792298 0 054215 828 1720T:factoredclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
72116131761 0 052722 812 1720T:factoredgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
72364751902 0 054738 820 1752T:factoredgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
72365051974 0 053359 828 1720T:factoredclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
73520861974 0 061527 828 1720factoredclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
73622754018 0 066625 836 1720factoredclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
73678992364 0 063922 820 1752factoredgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
73694684549 0 066745 836 1720factoredclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
73744851761 0 060890 812 1720factoredgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
73835245612 0 068282 820 1752factoredgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
73893751902 0 062906 820 1752factoredgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
74254604007 0 064969 836 1720factoredclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
74293882298 0 062383 828 1720factoredclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
904826128513 0 050338 820 1752T:compactgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
915131628513 0 058506 820 1752compactgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
1821428517015 0 036899 828 1720T:compactclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
1833127626420 0 047899 828 1720T:compactclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
1839174917015 0 045131 828 1720compactclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
1850505826420 0 056067 828 1720compactclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
2396205331657 0 052603 828 1720T:compactclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
2413986831657 0 060771 828 1720compactclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
271325676361 0 024857 820 1720T:compactclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
272416436361 0 033089 820 1720compactclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
275258827857 0 035353 820 1720compactclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
276855627857 0 027185 820 1720T:compactclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122920231222
322575198145 0 028778 820 1752T:compactgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
324891768145 0 037010 820 1752compactgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
351647276233 0 026368 812 1752T:compactgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
354796736233 0 034536 812 1752compactgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
377318045158 0 023402 812 1720T:compactgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
379020435158 0 031570 812 1720compactgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122920231222
98533615121957 0 043123 828 1720T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
98552339021957 0 051291 828 1720refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
98592942220510 0 042258 820 1752T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
98610792220510 0 050490 820 1752refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
100933417412596 0 032603 828 1720T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
100936005320810 0 042331 828 1720T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
100949165512596 0 040771 828 1720refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
100951203620810 0 050563 828 1720refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
10814098589080 0 029762 820 1752T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
10815851309080 0 037930 820 1752refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
11179197397033 0 027128 812 1752T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
11181074697033 0 035296 812 1752refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
11323627578570 0 036081 820 1720refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
11342829948570 0 027849 820 1720T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
11522466166445 0 025001 820 1720T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
11523060946168 0 024378 812 1720T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122320231212
11523554416445 0 033169 820 1720refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122320231212
11524881586168 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_sntrup1277_factored_kem.S: crypto_kem_sntrup1277_factored_kem.S:847:2: error: changed section flags for .rodata.cst32, expected: 0x12
crypto_kem_sntrup1277_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup1277_factored_kem.S: ^
crypto_kem_sntrup1277_factored_kem.S: crypto_kem_sntrup1277_factored_kem.S:847:2: error: changed section entsize for .rodata.cst32, expected: 32
crypto_kem_sntrup1277_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup1277_factored_kem.S: ^
crypto_kem_sntrup1277_factored_kem.S: crypto_kem_sntrup1277_factored_kem.S:873:2: error: changed section flags for .rodata.cst32, expected: 0x12
crypto_kem_sntrup1277_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup1277_factored_kem.S: ^
crypto_kem_sntrup1277_factored_kem.S: crypto_kem_sntrup1277_factored_kem.S:873:2: error: changed section entsize for .rodata.cst32, expected: 32
crypto_kem_sntrup1277_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup1277_factored_kem.S: ^
crypto_kem_sntrup1277_factored_kem.S: crypto_kem_sntrup1277_factored_kem.S:936:2: error: changed section flags for .rodata.cst16, expected: 0x12
crypto_kem_sntrup1277_factored_kem.S: .section .rodata.cst16
crypto_kem_sntrup1277_factored_kem.S: ^
crypto_kem_sntrup1277_factored_kem.S: crypto_kem_sntrup1277_factored_kem.S:936:2: error: changed section entsize for .rodata.cst16, expected: 16
crypto_kem_sntrup1277_factored_kem.S: .section .rodata.cst16
crypto_kem_sntrup1277_factored_kem.S: ^
crypto_kem_sntrup1277_factored_kem.S: crypto_kem_sntrup1277_factored_kem.S:971:2: error: changed section flags for .rodata.cst32, expected: 0x12
crypto_kem_sntrup1277_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup1277_factored_kem.S: ^
crypto_kem_sntrup1277_factored_kem.S: crypto_kem_sntrup1277_factored_kem.S:971:2: error: changed section entsize for .rodata.cst32, expected: 32
crypto_kem_sntrup1277_factored_kem.S: .section .rodata.cst32
crypto_kem_sntrup1277_factored_kem.S: ^
crypto_kem_sntrup1277_factored_kem.S: crypto_kem_sntrup1277_factored_kem.S:982:2: error: changed section flags for .rodata.cst16, expected: 0x12
crypto_kem_sntrup1277_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