Implementation notes: x86, leaf, crypto_aead/trivia0v2

Computer: leaf
Architecture: x86
CPU ID: unknown CPU ID
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: trivia0v2
TimeImplementationCompilerBenchmark dateSUPERCOP version
1116104refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724
1525804refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724
1608360refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724
1627388refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724

Compiler output

Implementation: crypto_aead/trivia0v2/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c: In function 'Initialize_process_AD_Reinitialize':
encrypt.c: encrypt.c:256: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:267: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_ref_encrypt':
encrypt.c: encrypt.c:319: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:335: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_ref_decrypt':
encrypt.c: encrypt.c:393: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:414: warning: integer constant is too large for 'long' type
try.c: /tmp//cccwYMns.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//cc7osjkI.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/trivia0v2/sse4
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:24:23: error: wmmintrin.h: No such file or directory
encrypt.c: encrypt.c:26:23: error: smmintrin.h: No such file or directory
encrypt.c: encrypt.c:27:23: error: immintrin.h: No such file or directory
encrypt.c: encrypt.c: In function 'store64':
encrypt.c: encrypt.c:108: warning: integer constant is too large for 'unsigned long' type
encrypt.c: encrypt.c:109: warning: integer constant is too large for 'unsigned long' type
encrypt.c: encrypt.c:110: warning: integer constant is too large for 'unsigned long' type
encrypt.c: encrypt.c:111: warning: integer constant is too large for 'unsigned long' type
encrypt.c: encrypt.c: In function 'load64':
encrypt.c: encrypt.c:135: warning: integer constant is too large for 'unsigned long' type
encrypt.c: encrypt.c:136: warning: integer constant is too large for 'unsigned long' type
encrypt.c: encrypt.c:137: warning: integer constant is too large for 'unsigned long' type
encrypt.c: encrypt.c:138: warning: integer constant is too large for 'unsigned long' type
encrypt.c: encrypt.c: In function 'Field_Mult_32':
encrypt.c: encrypt.c:306: error: incompatible types in assignment
encrypt.c: encrypt.c:311: error: incompatible types in assignment
encrypt.c: encrypt.c:313: error: incompatible types in assignment
encrypt.c: encrypt.c:319: error: incompatible types in assignment
encrypt.c: encrypt.c: In function 'Initialize_process_AD_Reinitialize':
encrypt.c: encrypt.c:417: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:433: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_sse4_encrypt':
encrypt.c: encrypt.c:488: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:504: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:533: warning: integer constant is too large for 'long' type
encrypt.c: ...

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

Compiler output

Implementation: crypto_aead/trivia0v2/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c: In function 'Initialize_process_AD_Reinitialize':
encrypt.c: encrypt.c:256: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:267: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_ref_encrypt':
encrypt.c: encrypt.c:319: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:335: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_ref_decrypt':
encrypt.c: encrypt.c:393: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:414: warning: integer constant is too large for 'long' type
try.c: /tmp//ccp97UMY.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//ccOOSqms.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/trivia0v2/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c: In function 'Initialize_process_AD_Reinitialize':
encrypt.c: encrypt.c:256: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:267: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_ref_encrypt':
encrypt.c: encrypt.c:319: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:335: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_ref_decrypt':
encrypt.c: encrypt.c:393: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:414: warning: integer constant is too large for 'long' type
try.c: /tmp//cckbWLTv.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//cc8xqKla.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/trivia0v2/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c: In function 'Initialize_process_AD_Reinitialize':
encrypt.c: encrypt.c:256: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:267: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_ref_encrypt':
encrypt.c: encrypt.c:319: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:335: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_ref_decrypt':
encrypt.c: encrypt.c:393: warning: integer constant is too large for 'long' type
encrypt.c: encrypt.c:414: warning: integer constant is too large for 'long' type
try.c: /tmp//ccZr5Z9n.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//ccBXhZfn.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