Implementation notes: amd64, utrecht, crypto_aead/aes128otrpv3

Computer: utrecht
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: aes128otrpv3
TimeImplementationCompilerBenchmark dateSUPERCOP version
239382refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016080420160731
249075refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016080420160731
252621refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016080420160731
267741refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016080420160731

Compiler output

Implementation: crypto_aead/aes128otrpv3/ni_p7m2
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: In file included from encrypt.c:32:0:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/4.8/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
encrypt.c: # error "AES/PCLMUL instructions not enabled"
encrypt.c: ^
encrypt.c: In file included from encrypt.c:34:0:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/4.8/include/smmintrin.h:31:3: error: #error "SSE4.1 instruction set not enabled"
encrypt.c: # error "SSE4.1 instruction set not enabled"
encrypt.c: ^
encrypt.c: encrypt.c: In function 'AES_256_Key_Expansion':
encrypt.c: encrypt.c:54:8: error: incompatible types when assigning to type '__m128i' from type 'int'
encrypt.c: v2 = _mm_aeskeygenassist_si128(v4,aes_const); \
encrypt.c: ^
encrypt.c: encrypt.c:75:2: note: in expansion of macro 'EXPAND_ASSIST'
encrypt.c: EXPAND_ASSIST(x0, x1, x2, x3, 255, 1); kp[2] = x0;
encrypt.c: ^
encrypt.c: encrypt.c:54:8: error: incompatible types when assigning to type '__m128i' from type 'int'
encrypt.c: v2 = _mm_aeskeygenassist_si128(v4,aes_const); \
encrypt.c: ^
encrypt.c: encrypt.c:76:2: note: in expansion of macro 'EXPAND_ASSIST'
encrypt.c: EXPAND_ASSIST(x3, x1, x2, x0, 170, 1); kp[3] = x3;
encrypt.c: ^
encrypt.c: encrypt.c:54:8: error: incompatible types when assigning to type '__m128i' from type 'int'
encrypt.c: v2 = _mm_aeskeygenassist_si128(v4,aes_const); \
encrypt.c: ^
encrypt.c: encrypt.c:77:2: note: in expansion of macro 'EXPAND_ASSIST'
encrypt.c: ...

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

Compiler output

Implementation: crypto_aead/aes128otrpv3/ni_p7m1
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: In file included from encrypt.c:33:0:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/4.8/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
encrypt.c: # error "AES/PCLMUL instructions not enabled"
encrypt.c: ^
encrypt.c: In file included from encrypt.c:35:0:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/4.8/include/smmintrin.h:31:3: error: #error "SSE4.1 instruction set not enabled"
encrypt.c: # error "SSE4.1 instruction set not enabled"
encrypt.c: ^
encrypt.c: encrypt.c: In function 'AES_256_Key_Expansion':
encrypt.c: encrypt.c:56:8: error: incompatible types when assigning to type '__m128i' from type 'int'
encrypt.c: v2 = _mm_aeskeygenassist_si128(v4,aes_const); \
encrypt.c: ^
encrypt.c: encrypt.c:77:2: note: in expansion of macro 'EXPAND_ASSIST'
encrypt.c: EXPAND_ASSIST(x0, x1, x2, x3, 255, 1); kp[2] = x0;
encrypt.c: ^
encrypt.c: encrypt.c:56:8: error: incompatible types when assigning to type '__m128i' from type 'int'
encrypt.c: v2 = _mm_aeskeygenassist_si128(v4,aes_const); \
encrypt.c: ^
encrypt.c: encrypt.c:78:2: note: in expansion of macro 'EXPAND_ASSIST'
encrypt.c: EXPAND_ASSIST(x3, x1, x2, x0, 170, 1); kp[3] = x3;
encrypt.c: ^
encrypt.c: encrypt.c:56:8: error: incompatible types when assigning to type '__m128i' from type 'int'
encrypt.c: v2 = _mm_aeskeygenassist_si128(v4,aes_const); \
encrypt.c: ^
encrypt.c: encrypt.c:79:2: note: in expansion of macro 'EXPAND_ASSIST'
encrypt.c: ...

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