Implementation notes: amd64, floodyberry, crypto_hash/shavite3512

Computer: floodyberry
Architecture: amd64
CPU ID: GenuineIntel-00010676-bfebfbff
SUPERCOP version: 20140505
Operation: crypto_hash
Primitive: shavite3512
TimeImplementationCompilerBenchmark dateSUPERCOP version
60950sphlibicc -m64 -O1 -static -xHost -fomit-frame-pointer2014050820140505
62925sphlib-smallicc -m64 -O3 -static -xHost -fomit-frame-pointer2014050820140505
64612sphlib-smallicc -m64 -O1 -static -xHost -fomit-frame-pointer2014050820140505
64775sphlibclang -O1 -march=native -m64 -fomit-frame-pointer2014050820140505
67563sphlibgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014050820140505
67888sphlibgcc -m64 -O2 -fomit-frame-pointer2014050820140505
69188sphlibgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014050820140505
69363sphlibgcc -m64 -O3 -fomit-frame-pointer2014050820140505
69488sphlib-smallclang -O1 -march=native -m64 -fomit-frame-pointer2014050820140505
70550sphlib-smallgcc -m64 -O2 -fomit-frame-pointer2014050820140505
70700sphlib-smallgcc -m64 -O3 -fomit-frame-pointer2014050820140505
70988sphlib-smallgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014050820140505
71200sphlib-smallgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014050820140505
77275IntelL1Cacheicc -m64 -O1 -static -xHost -fomit-frame-pointer2014050820140505
80450IntelL1Cacheclang -O1 -march=native -m64 -fomit-frame-pointer2014050820140505
81213lower-memicc -m64 -O3 -static -xHost -fomit-frame-pointer2014050820140505
82987low-memclang -O1 -march=native -m64 -fomit-frame-pointer2014050820140505
83637IntelL1Cacheicc -m64 -O3 -static -xHost -fomit-frame-pointer2014050820140505
85537low-memicc -m64 -O1 -static -xHost -fomit-frame-pointer2014050820140505
87762lower-memgcc -m64 -O2 -fomit-frame-pointer2014050820140505
88125lower-memgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014050820140505
88425low-memicc -m64 -O3 -static -xHost -fomit-frame-pointer2014050820140505
88787lower-memgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014050820140505
90113low-memgcc -m64 -O2 -fomit-frame-pointer2014050820140505
90175low-memgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014050820140505
90300lower-memgcc -m64 -O3 -fomit-frame-pointer2014050820140505
91650low-memgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014050820140505
91812lower-memclang -O1 -march=native -m64 -fomit-frame-pointer2014050820140505
94212low-memgcc -m64 -O3 -fomit-frame-pointer2014050820140505
99013IntelL1Cachegcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014050820140505
101863IntelL1Cachegcc -m64 -O3 -fomit-frame-pointer2014050820140505
106525lower-memicc -m64 -O1 -static -xHost -fomit-frame-pointer2014050820140505
111100IntelL1Cachegcc -m64 -O2 -fomit-frame-pointer2014050820140505
111250IntelL1Cachegcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014050820140505
173075new-aes-roundicc -m64 -O1 -static -xHost -fomit-frame-pointer2014050820140505
177575sphlibicc -m64 -O3 -static -xHost -fomit-frame-pointer2014050820140505
178225no-salticc -m64 -O1 -static -xHost -fomit-frame-pointer2014050820140505
192000new-aes-roundgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014050820140505
192325new-aes-roundgcc -m64 -O3 -fomit-frame-pointer2014050820140505
194925no-saltgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014050820140505
195887new-aes-roundgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014050820140505
195913different-ordericc -m64 -O1 -static -xHost -fomit-frame-pointer2014050820140505
196263no-saltgcc -m64 -O2 -fomit-frame-pointer2014050820140505
197750new-aes-roundgcc -m64 -O2 -fomit-frame-pointer2014050820140505
199237no-saltgcc -m64 -O3 -fomit-frame-pointer2014050820140505
201075no-saltgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014050820140505
205250no-saltclang -O1 -march=native -m64 -fomit-frame-pointer2014050820140505
206912different-ordericc -m64 -O3 -static -xHost -fomit-frame-pointer2014050820140505
215063different-ordergcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014050820140505
217250different-ordergcc -m64 -O2 -fomit-frame-pointer2014050820140505
220075different-orderclang -O1 -march=native -m64 -fomit-frame-pointer2014050820140505
222988different-ordergcc -m64 -O3 -fomit-frame-pointer2014050820140505
224900different-ordergcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014050820140505
227788new-aes-roundclang -O1 -march=native -m64 -fomit-frame-pointer2014050820140505
229550new-aes-roundicc -m64 -O3 -static -xHost -fomit-frame-pointer2014050820140505
235662no-salticc -m64 -O3 -static -xHost -fomit-frame-pointer2014050820140505
2933758-bitgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014050820140505
2935008-bitgcc -m64 -O2 -fomit-frame-pointer2014050820140505
2936758-bitgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014050820140505
2961138-bitgcc -m64 -O3 -fomit-frame-pointer2014050820140505
3202258-biticc -m64 -O3 -static -xHost -fomit-frame-pointer2014050820140505
6417638-biticc -m64 -O1 -static -xHost -fomit-frame-pointer2014050820140505
10864388-bitclang -O1 -march=native -m64 -fomit-frame-pointer2014050820140505

Test failure

Implementation: crypto_hash/shavite3512/8-bit
Compiler: clang -O3 -march=native -m64 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
clang -O3 -march=native -m64 -fomit-frame-pointer 8-bit IntelL1Cache different-order low-mem lower-mem new-aes-round no-salt sphlib sphlib-small

Compiler output

Implementation: crypto_hash/shavite3512/8-bit
Compiler: clang -O1 -march=native -m64 -fomit-frame-pointer
SHAvite3.c: In file included from SHAvite3.c:11:
SHAvite3.c: ./portable.h:109:2: warning: NEITHER NESSIE_LITTLE_ENDIAN NOR NESSIE_BIG_ENDIAN ARE DEFINED!!!!! [-W#warnings]
SHAvite3.c: #warning NEITHER NESSIE_LITTLE_ENDIAN NOR NESSIE_BIG_ENDIAN ARE DEFINED!!!!!
SHAvite3.c: ^
SHAvite3.c: ./portable.h:510:1: warning: '/*' within block comment [-Wcomment]
SHAvite3.c: /* "x++" is passed as an argument, thus increasing x 4 times instead of one */
SHAvite3.c: ^
SHAvite3.c: 2 warnings generated.

Number of similar (compiler,implementation) pairs: 14, namely:
CompilerImplementations
clang -O1 -march=native -m64 -fomit-frame-pointer 8-bit IntelL1Cache different-order low-mem lower-mem new-aes-round no-salt
clang -O3 -march=native -m64 -fomit-frame-pointer 8-bit IntelL1Cache different-order low-mem lower-mem new-aes-round no-salt

Compiler output

Implementation: crypto_hash/shavite3512/aes-instruct
Compiler: clang -O1 -march=native -m64 -fomit-frame-pointer
hash.c: In file included from hash.c:2:
hash.c: ./SHA3api_ref.h:85:4: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)'
hash.c: memset(state->gt;salt,0,64);
hash.c: ^
hash.c: ./SHA3api_ref.h:85:4: note: please include the header gt; or explicitly provide a declaration for 'memset'
hash.c: ./SHA3api_ref.h:176:10: warning: implicit declaration of function 'fprintf' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: fprintf(stderr, "We are sorry, you are calling Update one time after\n"
hash.c: ^
hash.c: ./SHA3api_ref.h:176:10: warning: declaration of built-in function 'fprintf' requires inclusion of the header gt; [-Wbuiltin-requires-header]
hash.c: ./SHA3api_ref.h:176:18: error: use of undeclared identifier 'stderr'
hash.c: fprintf(stderr, "We are sorry, you are calling Update one time after\n"
hash.c: ^
hash.c: ./SHA3api_ref.h:204:10: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'
hash.c: memcpy(&state->gt;buffer[bufcnt], p, len);
hash.c: ^
hash.c: ./SHA3api_ref.h:204:10: note: please include the header gt; or explicitly provide a declaration for 'memcpy'
hash.c: 4 warnings and 1 error generated.

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -O1 -march=native -m64 -fomit-frame-pointer aes-instruct
clang -O3 -march=native -m64 -fomit-frame-pointer aes-instruct

Compiler output

Implementation: crypto_hash/shavite3512/8-bit
Compiler: gcc -m64 -O2 -fomit-frame-pointer
SHAvite3.c: In file included from SHAvite3.c:11:0:
SHAvite3.c: portable.h:109:2: warning: #warning NEITHER NESSIE_LITTLE_ENDIAN NOR NESSIE_BIG_ENDIAN ARE DEFINED!!!!! [-Wcpp]

Number of similar (compiler,implementation) pairs: 28, namely:
CompilerImplementations
gcc -m64 -O2 -fomit-frame-pointer 8-bit IntelL1Cache different-order low-mem lower-mem new-aes-round no-salt
gcc -m64 -O3 -fomit-frame-pointer 8-bit IntelL1Cache different-order low-mem lower-mem new-aes-round no-salt
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer 8-bit IntelL1Cache different-order low-mem lower-mem new-aes-round no-salt
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer 8-bit IntelL1Cache different-order low-mem lower-mem new-aes-round no-salt

Compiler output

Implementation: crypto_hash/shavite3512/aes-instruct
Compiler: gcc -m64 -O2 -fomit-frame-pointer
hash.c: In file included from hash.c:2:0:
hash.c: SHA3api_ref.h: In function 'Init':
hash.c: SHA3api_ref.h:85:4: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
hash.c: SHA3api_ref.h: In function 'Update':
hash.c: SHA3api_ref.h:176:10: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
hash.c: SHA3api_ref.h:176:18: error: 'stderr' undeclared (first use in this function)
hash.c: SHA3api_ref.h:176:18: note: each undeclared identifier is reported only once for each function it appears in
hash.c: SHA3api_ref.h:204:10: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
hash.c: SHA3api_ref.h:218:10: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
hash.c: SHA3api_ref.h:265:7: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
hash.c: SHA3api_ref.h: In function 'Final':
hash.c: SHA3api_ref.h:301:7: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
hash.c: SHA3api_ref.h:309:4: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -m64 -O2 -fomit-frame-pointer aes-instruct
gcc -m64 -O3 -fomit-frame-pointer aes-instruct
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer aes-instruct
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer aes-instruct

Compiler output

Implementation: crypto_hash/shavite3512/aes-instruct
Compiler: icc -m64 -O1 -static -xHost -fomit-frame-pointer
hash.c: In file included from hash.c(2):
hash.c: SHA3api_ref.h(176): error: identifier "stderr" is undefined
hash.c: fprintf(stderr, "We are sorry, you are calling Update one time after\n"
hash.c: ^
hash.c:
hash.c: compilation aborted for hash.c (code 2)

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
icc -m64 -O1 -static -xHost -fomit-frame-pointer aes-instruct
icc -m64 -O3 -static -xHost -fomit-frame-pointer aes-instruct