Implementation notes: amd64, sliver, crypto_encrypt/4hfe

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_encrypt
Primitive: 4hfe

Checksum failure

Implementation: crypto_encrypt/4hfe/ref
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
9ca78b29a0f70d065e357b16088490ab7dfd11e857afc41bcda8b701ae6b7b90
Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref

Checksum failure

Implementation: crypto_encrypt/4hfe/ref
Compiler: g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
0761ec98365c1afb999010344f42f2283f01e7901d08683ce28c9904c12fd406
Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref

Checksum failure

Implementation: crypto_encrypt/4hfe/ref
Compiler: g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
1093599423f671f86243433061c36f052c58a9d9bef8e1a2dfe921e17e0c5d06
Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref

Checksum failure

Implementation: crypto_encrypt/4hfe/ref
Compiler: g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
fc9c754e373b6d4b5c1f21c373efbe4786f395b21d2165109809c6bf3ef742df
Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref

Compiler output

Implementation: crypto_encrypt/4hfe/ref
Compiler: clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
HFE-test.cpp: In file included from HFE-test.cpp:18:
HFE-test.cpp: In file included from ./HFE.h:6:
HFE-test.cpp: ./tower.h:364:9: error: argument to '__builtin_ia32_palignr128' must be a constant integer
HFE-test.cpp: return _mm_alignr_epi8(a1, a0, i*2);
HFE-test.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: /usr/local/bin/../lib/clang/3.5/include/tmmintrin.h:72:12: note: expanded from macro '_mm_alignr_epi8'
HFE-test.cpp: (__m128i)__builtin_ia32_palignr128((__v16qi)__a, (__v16qi)__b, (n)); })
HFE-test.cpp: ^ ~~~
HFE-test.cpp: In file included from HFE-test.cpp:18:
HFE-test.cpp: In file included from ./HFE.h:6:
HFE-test.cpp: ./tower.h:364:9: error: cannot initialize return object of type '__m128i' with an rvalue of type 'void'
HFE-test.cpp: return _mm_alignr_epi8(a1, a0, i*2);
HFE-test.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: /usr/local/bin/../lib/clang/3.5/include/tmmintrin.h:69:34: note: expanded from macro '_mm_alignr_epi8'
HFE-test.cpp: #define _mm_alignr_epi8(a, b, n) __extension__ ({ \
HFE-test.cpp: ^~~~~~~~~~~~~~~~~~
HFE-test.cpp: 2 errors generated.

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

Compiler output

Implementation: crypto_encrypt/4hfe/ref
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.cpp: /tmp//cc9iARYr.o: In function `alignedcalloc(unsigned long long)':
try.cpp: try-anything.cpp:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.cpp: crypto_encrypt_4hfe.a(HFE-test.o): In function `void rand_vecgt;(VECgt;*)':
try.cpp: HFE-test.cpp:(.gnu.linkonce.t._Z8rand_vecILj31ELj40EEvP3VECIXT_EXT0_EE+0x11): warning: warning: rand() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref

Compiler output

Implementation: crypto_encrypt/4hfe/ref
Compiler: g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.cpp: /tmp//cctcKYgl.o: In function `alignedcalloc(unsigned long long)':
try.cpp: try-anything.cpp:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.cpp: crypto_encrypt_4hfe.a(HFE-test.o): In function `groebnergt;, 4>gt;::genEquas(gftowergt;*)':
try.cpp: HFE-test.cpp:(.gnu.linkonce.t._ZN8groebnerI7gftowerILj31ELj10EELi4EE8genEquasEPS1_+0x22): warning: warning: rand() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref

Compiler output

Implementation: crypto_encrypt/4hfe/ref
Compiler: g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.cpp: /tmp//ccuady7p.o: In function `alignedcalloc(unsigned long long)':
try.cpp: try-anything.cpp:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.cpp: crypto_encrypt_4hfe.a(HFE-test.o): In function `void rand_vecgt;(VECgt;*)':
try.cpp: HFE-test.cpp:(.gnu.linkonce.t._Z8rand_vecILj31ELj40EEvP3VECIXT_EXT0_EE+0xf): warning: warning: rand() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref

Compiler output

Implementation: crypto_encrypt/4hfe/ref
Compiler: g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.cpp: /tmp//ccoRPKOK.o: In function `alignedcalloc(unsigned long long)':
try.cpp: try-anything.cpp:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.cpp: crypto_encrypt_4hfe.a(HFE-test.o): In function `gfgt;::rand()':
try.cpp: HFE-test.cpp:(.gnu.linkonce.t._ZN2gfILj31EE4randEv+0x9): warning: warning: rand() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref