Implementation notes: amd64, r24000, crypto_sign/gravitysphincsl

Computer: r24000
Microarchitecture: amd64; Coffee Lake (906ea)
Architecture: amd64
CPU ID: GenuineIntel-000906ea-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_sign
Primitive: gravitysphincsl
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1962188119920 0 043062 844 1768T:fastclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011520240107
1963253514104 0 034384 836 1768T:fastclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011520240107
1972745419920 0 043062 844 1768T:fastclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011520240107
1977463424536 0 046430 844 1768T:fastclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011520240107
1994992516598 0 037906 860 1800T:fastgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011520240107
2020260820650 0 044658 860 1800T:fastgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011520240107
2084581417206 0 038594 860 1800T:fastgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011520240107

Test failure

Implementation: T:fast
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:fast

Test failure

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 142
Alarm clock

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

Compiler output

Implementation: T:fast
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes.c: aes.c:89:14: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aesctr256_direct_x4' that is compiled without support for 'aes'
aes.c: s1 = _mm_aesenc_si128 (s1, rkeys[1]);
aes.c: ^
aes.c: aes.c:90:14: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aesctr256_direct_x4' that is compiled without support for 'aes'
aes.c: s2 = _mm_aesenc_si128 (s2, rkeys[1]);
aes.c: ^
aes.c: aes.c:91:14: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aesctr256_direct_x4' that is compiled without support for 'aes'
aes.c: s3 = _mm_aesenc_si128 (s3, rkeys[1]);
aes.c: ^
aes.c: aes.c:92:14: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aesctr256_direct_x4' that is compiled without support for 'aes'
aes.c: s4 = _mm_aesenc_si128 (s4, rkeys[1]);
aes.c: ^
aes.c: aes.c:93:14: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aesctr256_direct_x4' that is compiled without support for 'aes'
aes.c: s1 = _mm_aesenc_si128 (s1, rkeys[2]);
aes.c: ^
aes.c: aes.c:94:14: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aesctr256_direct_x4' that is compiled without support for 'aes'
aes.c: s2 = _mm_aesenc_si128 (s2, rkeys[2]);
aes.c: ^
aes.c: aes.c:95:14: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aesctr256_direct_x4' that is compiled without support for 'aes'
aes.c: s3 = _mm_aesenc_si128 (s3, rkeys[2]);
aes.c: ^
aes.c: aes.c:96:14: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aesctr256_direct_x4' that is compiled without support for 'aes'
aes.c: s4 = _mm_aesenc_si128 (s4, rkeys[2]);
aes.c: ^
aes.c: aes.c:97:14: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aesctr256_direct_x4' that is compiled without support for 'aes'
aes.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:fast

Namespace violations

Implementation: T:fast
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes.o aesctr256 T
aes.o aesctr256_direct_x4 T
aes.o aesctr256_zeroiv T
batch.o batch_append T
batch.o batch_compress_auth T
batch.o batch_extract T
batch.o batch_group T
batch.o batch_init T
gravity.o gravity_genpk T
gravity.o gravity_gensk T
gravity.o gravity_loadsign T
gravity.o gravity_sign T
gravity.o gravity_signcmp T
gravity.o gravity_verify T
haraka.o haraka256_256 T
haraka.o haraka256_256_4x T
haraka.o haraka256_256_4x_chain T
haraka.o haraka256_256_8x T
haraka.o haraka256_256_chain T
haraka.o haraka512_256 T
haraka.o haraka512_256_4x T
haraka.o haraka512_256_8x T
hash.o hash_2N_to_N T
hash.o hash_4N_to_4N T
hash.o hash_4N_to_4N_chain T
hash.o hash_8N_to_4N T
hash.o hash_N_to_N T
hash.o hash_N_to_N_chain T
hash.o hash_compress_all T
hash.o hash_compress_pairs T
hash.o hash_parallel T
hash.o hash_parallel_chains T
hash.o hash_to_N T
ltree.o ltree T
merkle.o merkle_alloc_buf T
merkle.o merkle_base_address T
merkle.o merkle_compress_all T
merkle.o merkle_compress_auth T
merkle.o merkle_compress_octopus T
merkle.o merkle_extract T
merkle.o merkle_free_buf T
merkle.o merkle_gen_auth T
merkle.o merkle_gen_octopus T
merkle.o merkle_genpk T
merkle.o merkle_sign T
pors.o octoporst_extract T
pors.o octoporst_loadsign T
pors.o octoporst_sign T
pors.o octoporst_signcmp T
pors.o pors_gensk T
pors.o pors_randsubset T
pors.o pors_sign T
pors.o porst_genpk T
pors.o sort_subset T
wots.o lwots_extract T
wots.o lwots_genpk T
wots.o lwots_ltree T
wots.o wots_chain T
wots.o wots_gensk T
wots.o wots_sign T

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