Implementation notes: amd64, waldorf, crypto_aead/aegis128l

Computer: waldorf
Architecture: amd64
CPU ID: GenuineIntel-000106e5-bfebfbff
SUPERCOP version: 20160715
Operation: crypto_aead
Primitive: aegis128l
TimeImplementationCompilerBenchmark dateSUPERCOP version
91476refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
99960refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715
100748refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
103100refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715

Compiler output

Implementation: crypto_aead/aegis128l/aesnia
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
encrypt.c: In file included from encrypt.c:5:
encrypt.c: /usr/include/clang/3.5.0/include/wmmintrin.h:30:3: error: "AES/PCLMUL instructions not enabled"
encrypt.c: # error "AES/PCLMUL instructions not enabled"
encrypt.c: ^
encrypt.c: encrypt.c:34:25: warning: implicit declaration of function '_mm_aesenc_si128' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: state[7] = _mm_aesenc_si128(state[6],state[7]);
encrypt.c: ^
encrypt.c: encrypt.c:34:23: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: state[7] = _mm_aesenc_si128(state[6],state[7]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:35:23: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: state[6] = _mm_aesenc_si128(state[5],state[6]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:36:23: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: state[5] = _mm_aesenc_si128(state[4],state[5]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:37:23: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: state[4] = _mm_aesenc_si128(state[3],state[4]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:38:23: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: state[3] = _mm_aesenc_si128(state[2],state[3]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:39:23: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: state[2] = _mm_aesenc_si128(state[1],state[2]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments aesnia aesnib aesnic

Compiler output

Implementation: crypto_aead/aegis128l/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: crypto_aead_aegis128l.a(ecrypt.o): In function `crypto_aead_aegis128l_ref_encrypt':
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_enc_aut_step'
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_enc_aut_step'
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_enc_aut_step'
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_enc_aut_step'
try.c: crypto_aead_aegis128l.a(ecrypt.o): In function `crypto_aead_aegis128l_ref_decrypt':
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_enc_aut_step'
try.c: crypto_aead_aegis128l.a(ecrypt.o):ecrypt.c:(.text+0x...): more undefined references to `aegis128L_enc_aut_step' follow
try.c: crypto_aead_aegis128l.a(ecrypt.o): In function `crypto_aead_aegis128l_ref_decrypt':
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_dec_aut_step'
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_dec_aut_step'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_aead/aegis128l/aesnia
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/immintrin.h:39:0,
encrypt.c: from encrypt.c:4:
encrypt.c: encrypt.c: In function 'aegis128L_initialization':
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/4.9/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '_mm_aesenc_si128': target specific option mismatch
encrypt.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
encrypt.c: ^
encrypt.c: encrypt.c:34:25: error: called from here
encrypt.c: state[7] = _mm_aesenc_si128(state[6],state[7]);
encrypt.c: ^
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/immintrin.h:39:0,
encrypt.c: from encrypt.c:4:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/4.9/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '_mm_aesenc_si128': target specific option mismatch
encrypt.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
encrypt.c: ^
encrypt.c: encrypt.c:35:25: error: called from here
encrypt.c: state[6] = _mm_aesenc_si128(state[5],state[6]);
encrypt.c: ^
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/immintrin.h:39:0,
encrypt.c: from encrypt.c:4:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/4.9/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '_mm_aesenc_si128': target specific option mismatch
encrypt.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
encrypt.c: ^
encrypt.c: encrypt.c:36:25: error: called from here
encrypt.c: state[5] = _mm_aesenc_si128(state[4],state[5]);
encrypt.c: ^
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv aesnia aesnib aesnic
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv aesnia aesnib aesnic
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv aesnia aesnib aesnic
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv aesnia aesnib aesnic