Implementation notes: amd64, genji346, crypto_encrypt/3hfe

Computer: genji346
Architecture: amd64
CPU ID: AuthenticAMD-00830f10-178bfbff
SUPERCOP version: 20191017
Operation: crypto_encrypt
Primitive: 3hfe
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
11710084790 136 20513133761 1128 22152reficpc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102520191017
12384084790 136 20513133761 1128 22152reficpc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102520191017
13592086062 136 20513135057 1128 22152reficpc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102520191017

Test failure

Implementation: ref
Security model: unknown
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111
crypto_encrypt_open returns nonzero

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

Test failure

Implementation: ref
Security model: unknown
Compiler: g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111
crypto_encrypt_open does not match m

Number of similar (compiler,implementation) pairs: 7, namely:
CompilerImplementations
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
icpc -march=core-avx-i -mtune=core-avx-i -O2 -fomit-frame-pointer ref
icpc -march=core-avx2 -mtune=core-avx2 -O2 -fomit-frame-pointer ref
icpc -march=corei7 -mtune=corei7 -O2 -fomit-frame-pointer ref
icpc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer ref
icpc -march=haswell -mtune=haswell -O3 -fomit-frame-pointer ref
icpc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111
crypto_encrypt_open is nondeterministic

Number of similar (compiler,implementation) pairs: 7, namely:
CompilerImplementations
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
icpc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer ref
icpc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer ref
icpc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer ref
icpc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer ref
icpc -march=skylake -mtune=skylake -O2 -fomit-frame-pointer ref
icpc -march=skylake -mtune=skylake -O3 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111

Number of similar (compiler,implementation) pairs: 7, namely:
CompilerImplementations
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
icpc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref
icpc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer ref
icpc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer ref
icpc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer ref
icpc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer ref
icpc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: icpc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer
error 111
crypto_encrypt_open does not handle s=t overlap

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
icpc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer ref
icpc -march=haswell -mtune=haswell -O2 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: icpc -march=ivybridge -mtune=ivybridge -O2 -fomit-frame-pointer
error 111
crypto_encrypt_open does not handle c=t overlap

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
icpc -march=ivybridge -mtune=ivybridge -O2 -fomit-frame-pointer ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
HFE-test.cpp: In file included from HFE-test.cpp:18:
HFE-test.cpp: In file included from ./HFE.h:6:
HFE-test.cpp: In file included from ./tower.h:5:
HFE-test.cpp: In file included from ./gfv.h:3:
HFE-test.cpp: In file included from /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/emmintrin.h:31:
HFE-test.cpp: In file included from /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xmmintrin.h:31:
HFE-test.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:55:72: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
HFE-test.cpp: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
HFE-test.cpp: ^
HFE-test.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:61:72: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
HFE-test.cpp: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
HFE-test.cpp: ^
HFE-test.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:68:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
HFE-test.cpp: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
HFE-test.cpp: ^
HFE-test.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:74:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
HFE-test.cpp: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
HFE-test.cpp: ^
HFE-test.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:84:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
HFE-test.cpp: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
HFE-test.cpp: ^
HFE-test.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:90:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
HFE-test.cpp: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
HFE-test.cpp: ^
HFE-test.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:97:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
HFE-test.cpp: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang++ -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang++ -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref