Implementation notes: amd64, sliver, crypto_aead/norx3241v1

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: norx3241v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
46518xmmclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
136482refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
185490refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072420160718
186624refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072420160718
189816refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072420160718
197664refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072420160718

Compiler output

Implementation: crypto_aead/norx3241v1/xmm
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-955083.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-addef1.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 xmm

Compiler output

Implementation: crypto_aead/norx3241v1/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-b5b8c0.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-398e21.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_aead/norx3241v1/xmm
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
norx.c: norx.c:27:27: error: x86intrin.h: No such file or directory
norx.c: norx.c: In function 'block_copy':
norx.c: norx.c:303: error: '__m128i' undeclared (first use in this function)
norx.c: norx.c:303: error: (Each undeclared identifier is reported only once
norx.c: norx.c:303: error: for each function it appears in.)
norx.c: norx.c:303: error: expected expression before ')' token
norx.c: norx.c:303: error: expected expression before ')' token
norx.c: norx.c:304: error: expected expression before ')' token
norx.c: norx.c:304: error: expected expression before ')' token
norx.c: norx.c:309: error: expected expression before ')' token
norx.c: norx.c:309: error: expected expression before ')' token
norx.c: norx.c: In function 'crypto_aead_norx3241v1_xmm_encrypt':
norx.c: norx.c:344: error: '__m128i' undeclared (first use in this function)
norx.c: norx.c:344: error: expected ';' before 'A'
norx.c: norx.c:346: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'K'
norx.c: norx.c:346: error: 'K' undeclared (first use in this function)
norx.c: norx.c:346: error: expected expression before ')' token
norx.c: norx.c:351: error: 'A' undeclared (first use in this function)
norx.c: norx.c:351: error: 'B' undeclared (first use in this function)
norx.c: norx.c:351: error: 'C' undeclared (first use in this function)
norx.c: norx.c:351: error: 'D' undeclared (first use in this function)
norx.c: norx.c:351: error: expected ';' before 't0'
norx.c: norx.c:351: error: 't0' undeclared (first use in this function)
norx.c: norx.c:351: error: 't1' undeclared (first use in this function)
norx.c: norx.c:351: error: expected ';' before 't0'
norx.c: ...

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

Compiler output

Implementation: crypto_aead/norx3241v1/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccJQCD0u.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//cc3RpGqd.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/norx3241v1/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccrcmtLn.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//ccRgGUme.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/norx3241v1/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//cckiYgBg.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//cciAOtZg.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/norx3241v1/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccU8fKNV.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//cccZhcSW.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