Implementation notes: amd64, gemini, crypto_kem/sntrup761

Computer: gemini
Microarchitecture: amd64; Goldmont Plus (706a8)
Architecture: amd64
CPU ID: GenuineIntel-000706a8-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_kem
Primitive: sntrup761
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
12873118304 0 078537 836 1720T:factoredclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
12940342298 0 069063 828 1720T:factoredclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
12950355869 0 075234 820 1752T:factoredgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
12974751912 0 068127 828 1720T:factoredclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
12987142395 0 070666 820 1752T:factoredgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
13032001785 0 067634 812 1720T:factoredgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
13075483482 0 071409 836 1720T:factoredclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
13481482298 0 076231 828 1720factoredclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
13542331912 0 075295 828 1720factoredclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
13571248304 0 085705 836 1720factoredclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
13591542395 0 077834 820 1752factoredgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
13608571785 0 074802 812 1720factoredgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
13614948611 0 084689 836 1720factoredclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
13749431946 0 076818 820 1752factoredgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
14101568611 0 077521 836 1720T:factoredclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
14148411946 0 069650 820 1752T:factoredgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
14706633482 0 078577 836 1720factoredclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
14817295869 0 082402 820 1752factoredgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
202719823271 0 043499 828 1720T:compactclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011320240107
208667225229 0 047458 820 1752T:compactgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320240107
208701923271 0 050659 828 1720compactclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011320240107
214028325229 0 054618 820 1752compactgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320240107
223128448068 0 077691 828 1720compactclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011320240107
235725748068 0 070531 828 1720T:compactclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011320240107
383684031305 0 052659 828 1720T:compactclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011320240107
389469731305 0 059819 828 1720compactclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011320240107
75861037857 0 027609 820 1720T:compactclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011320240107
82326197857 0 034769 820 1720compactclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011320240107
97912696347 0 025265 820 1720T:compactclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011320240107
98152166347 0 032425 820 1720compactclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011320240107
106180266229 0 026728 812 1752T:compactgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320240107
106671236229 0 033888 812 1752compactgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320240107
121091518345 0 029386 820 1752T:compactgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320240107
121508935152 0 023826 812 1720T:compactgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320240107
121586508345 0 036546 820 1752compactgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320240107
131690595152 0 030986 812 1720compactgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320240107
16793702927163 0 050115 828 1720T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
16799893227163 0 057275 828 1720refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
16844797916159 0 044011 828 1720refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
16858131316159 0 036851 828 1720T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
17395486523922 0 045467 828 1720T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
17401783023922 0 052627 828 1720refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
17445759220126 0 042322 820 1752T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
17453870420126 0 049482 820 1752refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
2011670179240 0 030314 820 1752T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
2012546239240 0 037474 820 1752refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
2127816357033 0 027488 812 1752T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
2128275988570 0 028273 820 1720T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
2128711037033 0 034648 812 1752refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
2157773806394 0 032505 820 1720refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
2241668846166 0 024802 812 1720T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212
2296161348570 0 035433 820 1720refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
2327869026394 0 025345 820 1720T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024010620231212
2426954056166 0 031962 812 1720refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024010620231212

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