Implementation notes: amd64, h6sandy, crypto_sign/gravitysphincss

Computer: h6sandy
Microarchitecture: amd64; Sandy Bridge (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_sign
Primitive: gravitysphincss
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
56236117823882 0 043059 932 1728T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121720231212
56291683724109 0 044547 932 1728T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121720231212
67738085824091 0 043308 908 1760T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231212

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: 6, namely:
CompilerImplementations
clang -march=native -O2 -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
gcc -march=native -mtune=native -O2 -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 -march=native -O2 -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: 5, 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
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:fast

Compiler output

Implementation: T:fast
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
aes.c: In file included from aes.c:9:
aes.c: aes.c: In function 'expand256':
aes.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/wmmintrin.h:87:1: error: inlining failed in call to 'always_inline' '_mm_aeskeygenassist_si128': target specific option mismatch
aes.c: 87 | _mm_aeskeygenassist_si128 (__m128i __X, const int __C)
aes.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
aes.c: aes.c:55:21: note: called from here
aes.c: 55 | rkeys[14] = s = assist256_1 (s, _mm_aeskeygenassist_si128 (t, 0x40));
aes.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes.c: In file included from aes.c:9:
aes.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/wmmintrin.h:87:1: error: inlining failed in call to 'always_inline' '_mm_aeskeygenassist_si128': target specific option mismatch
aes.c: 87 | _mm_aeskeygenassist_si128 (__m128i __X, const int __C)
aes.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
aes.c: aes.c:54:21: note: called from here
aes.c: 54 | rkeys[13] = t = assist256_2 (t, _mm_aeskeygenassist_si128 (s, 0x20));
aes.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes.c: In file included from aes.c:9:
aes.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/wmmintrin.h:87:1: error: inlining failed in call to 'always_inline' '_mm_aeskeygenassist_si128': target specific option mismatch
aes.c: 87 | _mm_aeskeygenassist_si128 (__m128i __X, const int __C)
aes.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
aes.c: aes.c:53:21: note: called from here
aes.c: 53 | rkeys[12] = s = assist256_1 (s, _mm_aeskeygenassist_si128 (t, 0x20));
aes.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes.c: In file included from aes.c:9:
aes.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/wmmintrin.h:87:1: error: inlining failed in call to 'always_inline' '_mm_aeskeygenassist_si128': target specific option mismatch
aes.c: 87 | _mm_aeskeygenassist_si128 (__m128i __X, const int __C)
aes.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
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
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:fast