Implementation notes: amd64, waldorf, crypto_aead/aesjambuv1

Computer: waldorf
Architecture: amd64
CPU ID: GenuineIntel-000106e5-bfebfbff
SUPERCOP version: 20160715
Operation: crypto_aead
Primitive: aesjambuv1
TimeImplementationCompilerBenchmark dateSUPERCOP version
280180refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715
315240refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
334760refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
336552refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016071820160715
357172refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715

Compiler output

Implementation: crypto_aead/aesjambuv1/aesni
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
encrypt.c: encrypt.c:38:11: warning: implicit declaration of function '_mm_aesenc_si128' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: *state = _mm_aesenc_si128(*state, key[1]);
encrypt.c: ^
encrypt.c: encrypt.c:38:9: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: *state = _mm_aesenc_si128(*state, key[1]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:41:9: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: *state = _mm_aesenc_si128(*state, key[2]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:43:9: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: *state = _mm_aesenc_si128(*state, key[3]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:45:9: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: *state = _mm_aesenc_si128(*state, key[4]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:47:9: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: *state = _mm_aesenc_si128(*state, key[5]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:49:9: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: *state = _mm_aesenc_si128(*state, key[6]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:51:9: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: *state = _mm_aesenc_si128(*state, key[7]);
encrypt.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:53:9: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
encrypt.c: ...

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

Compiler output

Implementation: crypto_aead/aesjambuv1/aesni
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:3:
encrypt.c: encrypt.c: In function 'aes_enc_128':
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:38:11: error: called from here
encrypt.c: *state = _mm_aesenc_si128(*state, key[1]);
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:3:
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:41:11: error: called from here
encrypt.c: *state = _mm_aesenc_si128(*state, key[2]);
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:3:
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:43:11: error: called from here
encrypt.c: *state = _mm_aesenc_si128(*state, key[3]);
encrypt.c: ^
encrypt.c: ...

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