Implementation notes: amd64, cannon, crypto_encrypt/3hfe

Computer: cannon
Architecture: amd64
CPU ID: GenuineIntel-00060663-bfebfbff
SUPERCOP version: 20190910
Operation: crypto_encrypt
Primitive: 3hfe
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
118142111004 8 20529151035 944 22344refg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091720190910
13717276254 8 20529113395 944 22344refg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091720190910

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: 2, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE 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: ./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/lib/clang/8.0.1/include/tmmintrin.h:162:12: note: expanded from macro '_mm_alignr_epi8'
HFE-test.cpp: (__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \
HFE-test.cpp: ^
HFE-test.cpp: In file included from HFE-test.cpp:18:
HFE-test.cpp: In file included from ./HFE.h:9:
HFE-test.cpp: In file included from ./bqas.h:79:
HFE-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
HFE-test.cpp: register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
HFE-test.cpp: ^~~~~~~~~
HFE-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
HFE-test.cpp: register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
HFE-test.cpp: ^~~~~~~~~
HFE-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
HFE-test.cpp: register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
HFE-test.cpp: ^~~~~~~~~
HFE-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
HFE-test.cpp: register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
HFE-test.cpp: ^~~~~~~~~
HFE-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
HFE-test.cpp: register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
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