Implementation notes: amd64, genji262, crypto_encrypt/3hfe

Computer: genji262
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20191017
Operation: crypto_encrypt
Primitive: 3hfe
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
12861286062 136 20513132201 1368 22152reficpc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102420191017
13488284790 136 20513130905 1368 22152reficpc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102420191017
13521286062 136 20513132201 1368 22152reficpc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102420191017

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 is nondeterministic

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
icpc -march=haswell -mtune=haswell -O2 -fomit-frame-pointer ref
icpc -march=haswell -mtune=haswell -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

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
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=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
error 111
crypto_encrypt_open does not match m

Number of similar (compiler,implementation) pairs: 11, namely:
CompilerImplementations
icpc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer ref
icpc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer 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=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer ref
icpc -march=corei7-avx -mtune=corei7-avx -O3 -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=sandybridge -mtune=sandybridge -O2 -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: icpc -march=corei7-avx -mtune=corei7-avx -O2 -fomit-frame-pointer
error 111
crypto_encrypt_open does not handle s=t overlap

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

Test failure

Implementation: ref
Security model: unknown
Compiler: icpc -march=ivybridge -mtune=ivybridge -O3 -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 -O3 -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