Implementation notes: amd64, gcc14, crypto_aead/aezv3

Computer: gcc14
Architecture: amd64
CPU ID: GenuineIntel-00010676-bfebfbff
SUPERCOP version: 20211108
Operation: crypto_aead
Primitive: aezv3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
161883831123 0 051171 836 1008T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
163315631123 0 052107 836 1008T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
164167131123 0 051171 836 1008T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
164334730991 0 051835 836 1008T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
168058724560 0 043437 828 1008T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
177485167024 0 090478 860 1040T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
188944526455 0 047982 860 1040T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
199187524279 0 045326 860 1040T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
231348622827 0 042313 836 1040T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114

Compiler output

Implementation: T:aesni
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aez_ni.c: aez_ni.c:104:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes4' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128(in,a);
aez_ni.c: ^
aez_ni.c: aez_ni.c:105:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes4' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128(in,b);
aez_ni.c: ^
aez_ni.c: aez_ni.c:106:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes4' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128(in,c);
aez_ni.c: ^
aez_ni.c: aez_ni.c:107:12: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes4' that is compiled without support for 'aes'
aez_ni.c: return _mm_aesenc_si128 (in,d);
aez_ni.c: ^
aez_ni.c: aez_ni.c:91:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128 (in,key[0]);
aez_ni.c: ^
aez_ni.c: aez_ni.c:92:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128 (in,key[1]);
aez_ni.c: ^
aez_ni.c: aez_ni.c:93:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128 (in,key[2]);
aez_ni.c: ^
aez_ni.c: aez_ni.c:94:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128 (in,key[0]);
aez_ni.c: ^
aez_ni.c: aez_ni.c:95:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes' that is compiled without support for 'aes'
aez_ni.c: ...

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

Compiler output

Implementation: T:aesni
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aez_ni.c: aez_ni.c:458:15: error: always_inline function '_mm_testc_si128' requires target feature 'ssse3', but would be inlined into function 'cipher_aez_core' that is compiled without support for 'ssse3'
aez_ni.c: if (d && !_mm_testc_si128(loadu(pad+abytes),final0)) return -1;
aez_ni.c: ^
aez_ni.c: 1 error generated.

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

Compiler output

Implementation: T:aesni
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
aez_ni.c: In file included from aez_ni.c:39:0:
aez_ni.c: aez_ni.c: In function 'aes':
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '_mm_aesenc_si128': target specific option mismatch
aez_ni.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
aez_ni.c: ^~~~~~~~~~~~~~~~
aez_ni.c: aez_ni.c:100:12: note: called from here
aez_ni.c: return _mm_aesenc_si128 (in,key[0]);
aez_ni.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
aez_ni.c: In file included from aez_ni.c:39:0:
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '_mm_aesenc_si128': target specific option mismatch
aez_ni.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
aez_ni.c: ^~~~~~~~~~~~~~~~
aez_ni.c: aez_ni.c:99:8: note: called from here
aez_ni.c: in = _mm_aesenc_si128 (in,key[2]);
aez_ni.c: ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aez_ni.c: In file included from aez_ni.c:39:0:
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '_mm_aesenc_si128': target specific option mismatch
aez_ni.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
aez_ni.c: ^~~~~~~~~~~~~~~~
aez_ni.c: aez_ni.c:98:8: note: called from here
aez_ni.c: in = _mm_aesenc_si128 (in,key[1]);
aez_ni.c: ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aez_ni.c: In file included from aez_ni.c:39:0:
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '_mm_aesenc_si128': target specific option mismatch
aez_ni.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
aez_ni.c: ...

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

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aez_ref.o Decrypt T
aez_ref.o Encrypt T
rijndael-alg-fst.o rijndaelDecrypt T
rijndael-alg-fst.o rijndaelDecryptRound T
rijndael-alg-fst.o rijndaelEncrypt T
rijndael-alg-fst.o rijndaelEncryptRound T
rijndael-alg-fst.o rijndaelKeySetupDec T
rijndael-alg-fst.o rijndaelKeySetupEnc T

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