Implementation notes: amd64, utrecht, crypto_aead/silverv1

Computer: utrecht
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: silverv1
TimeImplementationCompilerBenchmark dateSUPERCOP version
97749littleendoptnotaesnigcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016080520160731
99153littleendoptnotaesnigcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016080520160731
99207littleendoptnotaesnigcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016080520160731
100332littleendoptnotaesnigcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016080520160731
118044anotherlittleendgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016080520160731
119556anotherlittleendgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016080520160731
120069anotherlittleendgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016080520160731
121383anotherlittleendgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016080520160731
645219refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016080520160731
721674refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016080520160731
724653refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016080520160731
725634refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016080520160731

Compiler output

Implementation: crypto_aead/silverv1/aesnioptimized
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: In file included from macs4AESNI.h:6:0,
encrypt.c: from encrypt.c:36:
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:36:0:
encrypt.c: macs4AESNI.h: In function 'AES_128_KEY_EXPANSION':
encrypt.c: macs4AESNI.h:33:2: error: incompatible type for argument 2 of 'aes_128_key_expansion'
encrypt.c: kp[1] = AES_128_key_exp(kp[0], 0x01);
encrypt.c: ^
encrypt.c: macs4AESNI.h:20:16: note: expected '__m128i' but argument is of type 'int'
encrypt.c: static __m128i aes_128_key_expansion(__m128i key, __m128i keygened)
encrypt.c: ^
encrypt.c: macs4AESNI.h:34:2: error: incompatible type for argument 2 of 'aes_128_key_expansion'
encrypt.c: kp[2] = AES_128_key_exp(kp[1], 0x02);
encrypt.c: ^
encrypt.c: macs4AESNI.h:20:16: note: expected '__m128i' but argument is of type 'int'
encrypt.c: static __m128i aes_128_key_expansion(__m128i key, __m128i keygened)
encrypt.c: ^
encrypt.c: macs4AESNI.h:35:2: error: incompatible type for argument 2 of 'aes_128_key_expansion'
encrypt.c: kp[3] = AES_128_key_exp(kp[2], 0x04);
encrypt.c: ^
encrypt.c: macs4AESNI.h:20:16: note: expected '__m128i' but argument is of type 'int'
encrypt.c: static __m128i aes_128_key_expansion(__m128i key, __m128i keygened)
encrypt.c: ^
encrypt.c: ...

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

Compiler output

Implementation: crypto_aead/silverv1/bigendoptimized
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:28:2: error: #error "This code produces standard results only on BE machines"
encrypt.c: #error "This code produces standard results only on BE machines"
encrypt.c: ^

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