Implementation notes: amd64, h4atom, crypto_hash/nasha512

Computer: h4atom
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20160806
Operation: crypto_hash
Primitive: nasha512
TimeImplementationCompilerBenchmark dateSUPERCOP version
45824opt_v4clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
52328optclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
57400optgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
57560optgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
59544opt_v4gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
60400opt_v4gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
60400opt_v4gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
63792optgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
72784opt_v4gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
73368optgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806

Compiler output

Implementation: crypto_hash/nasha512/opt
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
Nasha.c: Nasha.c:627:1: warning: control may reach end of non-void function [-Wreturn-type]
Nasha.c: }
Nasha.c: ^
Nasha.c: Nasha.c:646:1: warning: control may reach end of non-void function [-Wreturn-type]
Nasha.c: }
Nasha.c: ^
Nasha.c: 2 warnings generated.

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

Compiler output

Implementation: crypto_hash/nasha512/opt_v4
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
Nasha.c: Nasha.c:815:29: warning: incompatible pointer to integer conversion assigning to 'uint_16t' (aka 'unsigned short') from 'uint_16t [256]' [-Wint-conversion]
Nasha.c: ssbox[i][j] = ssbox[i^j];
Nasha.c: ^ ~~~~~~~~~~
Nasha.c: Nasha.c:854:1: warning: control may reach end of non-void function [-Wreturn-type]
Nasha.c: }
Nasha.c: ^
Nasha.c: Nasha.c:873:1: warning: control may reach end of non-void function [-Wreturn-type]
Nasha.c: }
Nasha.c: ^
Nasha.c: 3 warnings generated.

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

Compiler output

Implementation: crypto_hash/nasha512/opt_v4
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
Nasha.c: Nasha.c: In function 'Init':
Nasha.c: Nasha.c:815:29: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
Nasha.c: ssbox[i][j] = ssbox[i^j];
Nasha.c: ^

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