Implementation notes: amd64, gemini, crypto_kem/sntrup953

Computer: gemini
Microarchitecture: amd64; Goldmont Plus (706a8)
Architecture: amd64
CPU ID: GenuineIntel-000706a8-bfebfbff
SUPERCOP version: 20240425
Operation: crypto_kem
Primitive: sntrup953
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
20008655592 0 072785 836 1720T:factoredclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
20043555995 0 071833 836 1720T:factoredclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
20062274016 0 068873 836 1720T:factoredclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
20111715882 0 072154 820 1752T:factoredgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
20196521950 0 065079 828 1720T:factoredclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
20210062395 0 067538 820 1752T:factoredgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
20400431946 0 066586 820 1752T:factoredgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
20758725995 0 079409 836 1720factoredclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
20824855592 0 080361 836 1720factoredclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
20846732298 0 073575 828 1720factoredclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
20874524016 0 076513 836 1720factoredclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
20883532395 0 075178 820 1752factoredgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
21027821785 0 072146 812 1720factoredgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
21088881946 0 074162 820 1752factoredgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
21859282298 0 065999 828 1720T:factoredclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
21883161785 0 064506 812 1720T:factoredgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
22586875882 0 079730 820 1752factoredgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
22799571950 0 072719 828 1720factoredclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
310212320551 0 040355 828 1720T:compactclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
316339320551 0 047987 828 1720compactclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
327881124708 0 046554 820 1752T:compactgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
333670824708 0 054122 820 1752compactgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
339208049604 0 079243 828 1720compactclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
358443049604 0 071675 828 1720T:compactclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
591792627865 0 048811 828 1720T:compactclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
647233527865 0 056379 828 1720compactclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
117328627857 0 027217 820 1720T:compactclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
117920967857 0 034785 820 1720compactclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
143006446369 0 024889 820 1720T:compactclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
143743146369 0 032457 820 1720compactclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
164838756229 0 026336 812 1752T:compactgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
165363766229 0 033968 812 1752compactgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
187731108078 0 028738 820 1752T:compactgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
188494008078 0 036306 820 1752compactgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
188806115152 0 023434 812 1720T:compactgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
204306615152 0 031066 812 1720compactgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
26318737424491 0 054603 828 1720refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
26354706113426 0 033771 828 1720T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
26362474413426 0 041339 828 1720refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
27232794320354 0 041555 828 1720T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
27240420820354 0 049123 828 1720refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
27322788119518 0 041298 820 1752T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
27337221219518 0 048930 820 1752refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
28406843324491 0 047035 828 1720T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
3157213939000 0 029666 820 1752T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
3158147819000 0 037298 820 1752refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
3323742528570 0 027881 820 1720T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
3330925617033 0 027096 812 1752T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
3331258987033 0 034728 812 1752refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
3378345776419 0 024969 820 1720T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
3382397626419 0 032537 820 1720refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
3512565006166 0 024410 812 1720T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425
3595421468570 0 035449 820 1720refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052120240425
3801810886166 0 032042 812 1720refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052120240425

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