Implementation notes: amd64, h4atom, crypto_hash/shavite3256

Computer: h4atom
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20160806
Operation: crypto_hash
Primitive: shavite3256
TimeImplementationCompilerBenchmark dateSUPERCOP version
91576sphlibgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
91632sphlibgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
92896sphlibgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
93880new-aes-roundgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
94840sphlib-smallgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
96528sphlib-smallgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
97408low-memgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
98080no-saltgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
98312sphlib-smallgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
100464sphlibgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
101856sphlibclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
104608new-aes-roundgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
106976sphlib-smallclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
107104sphlib-smallgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
109480low-memgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
109704new-aes-roundclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
110944no-saltgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
114920low-memclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
116656low-memgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
117488no-saltclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
117824low-memgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
117960new-aes-roundgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
118840new-aes-roundgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
119784no-saltgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
121704no-saltgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
125736lower-memclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
129048lower-memgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
135672lower-memgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
136472lower-memgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
143576lower-memgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
3250408-bitgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
3336008-bitclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
3942968-bitgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
5991288-bitgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
10192488-bitgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806

Test failure

Implementation: crypto_hash/shavite3256/aes-instruct
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
error 111

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

Compiler output

Implementation: crypto_hash/shavite3256/8-bit
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
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: 5, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments 8-bit low-mem lower-mem new-aes-round no-salt

Compiler output

Implementation: crypto_hash/shavite3256/aes-instruct
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
hash.c: In file included from hash.c:4:
hash.c: In file included from ./SHA3api_ref.h:17:
hash.c: ./compress.h:99:9: error: invalid operand for instruction
hash.c: asm ("movaps xmm0, [SHAVITE_PTXT]");
hash.c: ^
hash.c: gt;:1:15: note: instantiated into assembly here
hash.c: movaps xmm0, [SHAVITE_PTXT]
hash.c: ^~~~~~~~~~~~~~
hash.c: In file included from hash.c:4:
hash.c: In file included from ./SHA3api_ref.h:17:
hash.c: ./compress.h:100:9: error: invalid operand for instruction
hash.c: asm ("movaps xmm1, [SHAVITE_PTXT+16]");
hash.c: ^
hash.c: gt;:1:15: note: instantiated into assembly here
hash.c: movaps xmm1, [SHAVITE_PTXT+16]
hash.c: ^~~~~~~~~~~~~~~~~
hash.c: In file included from hash.c:4:
hash.c: In file included from ./SHA3api_ref.h:17:
hash.c: ./compress.h:101:9: error: invalid operand for instruction
hash.c: asm ("movaps xmm3, [SHAVITE_CNTS]");
hash.c: ^
hash.c: gt;:1:15: note: instantiated into assembly here
hash.c: movaps xmm3, [SHAVITE_CNTS]
hash.c: ^~~~~~~~~~~~~~
hash.c: In file included from hash.c:4:
hash.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments aes-instruct

Compiler output

Implementation: crypto_hash/shavite3256/8-bit
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
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]
SHAvite3.c: #warning NEITHER NESSIE_LITTLE_ENDIAN NOR NESSIE_BIG_ENDIAN ARE DEFINED!!!!!
SHAvite3.c: ^

Number of similar (compiler,implementation) pairs: 20, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv 8-bit low-mem lower-mem new-aes-round no-salt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv 8-bit low-mem lower-mem new-aes-round no-salt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv 8-bit low-mem lower-mem new-aes-round no-salt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv 8-bit low-mem lower-mem new-aes-round no-salt