Implementation notes: amd64, hydra5, crypto_aead/aezv3

Computer: hydra5
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20191221
Operation: crypto_aead
Primitive: aezv3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
176189923702 0 039053 784 856refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
185887132346 0 050767 792 856refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
191241429963 0 047183 792 856refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
192823529963 0 047183 792 856refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
200136651798 0 071781 800 928refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
207171024929 0 041853 800 928refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
208957427277 0 044733 800 928refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
211417832474 0 050895 792 856refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
252557623393 0 038968 776 896refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221

Compiler output

Implementation: aesni
Security model: unknown
Compiler: clang -march=native -O2 -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 'sse4.1', but would be inlined into function 'cipher_aez_core' that is compiled without support for 'sse4.1'
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: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE aesni
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE aesni
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE aesni
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE aesni

Compiler output

Implementation: aesni
Security model: unknown
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 aesni

Compiler output

Implementation: aesni
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
aez_ni.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/smmintrin.h:32:0,
aez_ni.c: from aez_ni.c:38:
aez_ni.c: aez_ni.c: In function 'bswap16':
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline '_mm_shuffle_epi8': target specific option mismatch
aez_ni.c: _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
aez_ni.c: ^~~~~~~~~~~~~~~~
aez_ni.c: aez_ni.c:76:12: note: called from here
aez_ni.c: return _mm_shuffle_epi8(
aez_ni.c: ^~~~~~~~~~~~~~~~~
aez_ni.c: b,_mm_set_epi8(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)
aez_ni.c: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aez_ni.c: );
aez_ni.c: ~
aez_ni.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/smmintrin.h:32:0,
aez_ni.c: from aez_ni.c:38:
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline '_mm_shuffle_epi8': target specific option mismatch
aez_ni.c: _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
aez_ni.c: ^~~~~~~~~~~~~~~~
aez_ni.c: aez_ni.c:76:12: note: called from here
aez_ni.c: return _mm_shuffle_epi8(
aez_ni.c: ^~~~~~~~~~~~~~~~~
aez_ni.c: b,_mm_set_epi8(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)
aez_ni.c: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aez_ni.c: );
aez_ni.c: ~

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

Namespace violations

Implementation: ref
Security model: unknown
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 ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref