Implementation notes: x86, thoth, crypto_aead/aes128poetv2aes128ni

Computer: thoth
Architecture: x86
CPU ID: AuthenticAMD-00000622-0183f9ff
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: aes128poetv2aes128ni

Compiler output

Implementation: crypto_aead/aes128poetv2aes128ni/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
poet.c: poet.c:411:12: warning: implicit declaration of function '_mm_insert_epi64' is invalid in C99 [-Wimplicit-function-declaration]
poet.c: return _mm_insert_epi64(zero, 8 * len, 0);
poet.c: ^
poet.c: poet.c:411:12: error: returning 'int' from a function with incompatible result type '__m128i' (vector of 2 'long long' values)
poet.c: return _mm_insert_epi64(zero, 8 * len, 0);
poet.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poet.c: poet.c:419:13: error: initializing '__m128i' (vector of 2 'long long' values) with an expression of incompatible type 'int'
poet.c: __m128i params = _mm_insert_epi64(zero, num_blocks_per_part, 0);
poet.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poet.c: 1 warning and 2 errors generated.

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/aes128poetv2aes128ni/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
poet.c: poet.c: In function 'loadu':
poet.c: poet.c:58:1: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
poet.c: static __m128i loadu(const void* p) { return _mm_loadu_si128((__m128i*)p); }
poet.c: ^
poet.c: poet.c: In function 'encode_length':
poet.c: poet.c:411:12: warning: implicit declaration of function '_mm_insert_epi64' [-Wimplicit-function-declaration]
poet.c: return _mm_insert_epi64(zero, 8 * len, 0);
poet.c: ^
poet.c: poet.c:411:12: error: incompatible types when returning type 'int' but '__m128i {aka __vector(2) long long int}' was expected
poet.c: poet.c: In function 'encode_parameters':
poet.c: poet.c:419:22: error: incompatible types when initializing type '__m128i {aka __vector(2) long long int}' using type 'int'
poet.c: __m128i params = _mm_insert_epi64(zero, num_blocks_per_part, 0);
poet.c: ^
poet.c: poet.c:420:12: error: incompatible types when returning type 'int' but '__m128i {aka __vector(2) long long int}' was expected
poet.c: return _mm_insert_epi64(params, intermediate_taglen, 1);
poet.c: ^

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