Implementation notes: amd64, sliver, crypto_hash/bash256

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_hash
Primitive: bash256
TimeImplementationCompilerBenchmark dateSUPERCOP version
22110avx2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718

Checksum failure

Implementation: crypto_hash/bash256/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
e8496f7c0a80f87022012d0e76a2ba92f75dbac914504b74b4def5f0e9ec0be8
Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref

Compiler output

Implementation: crypto_hash/bash256/avx2
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-458ea4.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/try-anything-1f40a2.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
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments avx2

Compiler output

Implementation: crypto_hash/bash256/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-60191e.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
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_hash/bash256/avx2
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
bash_avx2.c: bash_avx2.c:70:2: error: #error "The compiler does not support AVX2 intrinsics."
bash_avx2.c: bash_avx2.c: In function 'bashavx2_F0':
bash_avx2.c: bash_avx2.c:271: error: 'u256' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:271: error: (Each undeclared identifier is reported only once
bash_avx2.c: bash_avx2.c:271: error: for each function it appears in.)
bash_avx2.c: bash_avx2.c:271: error: expected ';' before 'S1'
bash_avx2.c: bash_avx2.c:272: error: expected ';' before 'W0'
bash_avx2.c: bash_avx2.c:273: error: expected ';' before 'W1'
bash_avx2.c: bash_avx2.c:274: error: expected ';' before 'W2'
bash_avx2.c: bash_avx2.c:275: error: expected ';' before 'W3'
bash_avx2.c: bash_avx2.c:276: error: expected ';' before 'W4'
bash_avx2.c: bash_avx2.c:277: error: expected ';' before 'W5'
bash_avx2.c: bash_avx2.c:279: error: 'S2' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'W0' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'U0' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'W2' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'W4' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'S1' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'U2' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'U1' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'T1' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'T2' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'T0' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'W1' undeclared (first use in this function)
bash_avx2.c: bash_avx2.c:279: error: 'W3' undeclared (first use in this function)
bash_avx2.c: ...

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

Compiler output

Implementation: crypto_hash/bash256/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccW20X1n.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_hash/bash256/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccDoKA4P.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_hash/bash256/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccHPseGT.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_hash/bash256/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccxXnaKe.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