Implementation notes: amd64, river, crypto_aead/aes128otrsv3

Computer: river
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: aes128otrsv3
TimeImplementationCompilerBenchmark dateSUPERCOP version
126220refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016083120160806
143288refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016083120160806
160136refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016083120160806
164196refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016083120160806

Compiler output

Implementation: crypto_aead/aes128otrsv3/ni_p7m2
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:32:23: error: wmmintrin.h: No such file or directory
encrypt.c: encrypt.c:33:42: error: tmmintrin.h: No such file or directory
encrypt.c: encrypt.c:34:42: error: smmintrin.h: No such file or directory
encrypt.c: In file included from encrypt.c:36:
encrypt.c: otr.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'block'
encrypt.c: encrypt.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Q'
encrypt.c: encrypt.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'encrypt_key'
encrypt.c: encrypt.c:69: error: expected declaration specifiers or '...' before '__m128i'
encrypt.c: encrypt.c: In function 'AES_256_Key_Expansion':
encrypt.c: encrypt.c:71: error: '__m128i' undeclared (first use in this function)
encrypt.c: encrypt.c:71: error: (Each undeclared identifier is reported only once
encrypt.c: encrypt.c:71: error: for each function it appears in.)
encrypt.c: encrypt.c:71: error: expected ';' before 'x0'
encrypt.c: encrypt.c:72: error: 'kp' undeclared (first use in this function)
encrypt.c: encrypt.c:72: error: 'x0' undeclared (first use in this function)
encrypt.c: encrypt.c:72: error: expected expression before ')' token
encrypt.c: encrypt.c:73: error: 'x3' undeclared (first use in this function)
encrypt.c: encrypt.c:73: error: expected expression before ')' token
encrypt.c: encrypt.c:74: error: 'x2' undeclared (first use in this function)
encrypt.c: encrypt.c:75: error: 'x1' undeclared (first use in this function)
encrypt.c: encrypt.c: In function 'AES_128_Key_Expansion':
encrypt.c: encrypt.c:96: error: '__m128i' undeclared (first use in this function)
encrypt.c: encrypt.c:96: error: expected ';' before 'x0'
encrypt.c: encrypt.c:97: error: 'kp' undeclared (first use in this function)
encrypt.c: encrypt.c:97: error: expected expression before ')' token
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/aes128otrsv3/ni_p7m1
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:33:23: error: wmmintrin.h: No such file or directory
encrypt.c: encrypt.c:34:42: error: tmmintrin.h: No such file or directory
encrypt.c: encrypt.c:35:42: error: smmintrin.h: No such file or directory
encrypt.c: In file included from encrypt.c:37:
encrypt.c: otr.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'block'
encrypt.c: In file included from doubling.h:27,
encrypt.c: from encrypt.c:38:
encrypt.c: otr.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'block'
encrypt.c: encrypt.c:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Q'
encrypt.c: encrypt.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'encrypt_key'
encrypt.c: encrypt.c:71: error: expected declaration specifiers or '...' before '__m128i'
encrypt.c: encrypt.c: In function 'AES_256_Key_Expansion':
encrypt.c: encrypt.c:73: error: '__m128i' undeclared (first use in this function)
encrypt.c: encrypt.c:73: error: (Each undeclared identifier is reported only once
encrypt.c: encrypt.c:73: error: for each function it appears in.)
encrypt.c: encrypt.c:73: error: expected ';' before 'x0'
encrypt.c: encrypt.c:74: error: 'kp' undeclared (first use in this function)
encrypt.c: encrypt.c:74: error: 'x0' undeclared (first use in this function)
encrypt.c: encrypt.c:74: error: expected expression before ')' token
encrypt.c: encrypt.c:75: error: 'x3' undeclared (first use in this function)
encrypt.c: encrypt.c:75: error: expected expression before ')' token
encrypt.c: encrypt.c:76: error: 'x2' undeclared (first use in this function)
encrypt.c: encrypt.c:77: error: 'x1' undeclared (first use in this function)
encrypt.c: encrypt.c: In function 'AES_128_Key_Expansion':
encrypt.c: encrypt.c:98: error: '__m128i' undeclared (first use in this function)
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

Compiler output

Implementation: crypto_aead/aes128otrsv3/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccyumKwq.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: /tmp//cc39DvrX.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_aead/aes128otrsv3/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccgSVsqn.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: /tmp//ccbmlmCz.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_aead/aes128otrsv3/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccCTYgO7.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: /tmp//cchOaAkp.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_aead/aes128otrsv3/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccJBeHyN.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: /tmp//ccWtRNRu.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?

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