Implementation notes: amd64, hertz, crypto_encrypt/3hfe

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240425
Operation: crypto_encrypt
Primitive: 3hfe

Test failure

Implementation: T:ref
Security model: timingleaks
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: 3, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
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: 364 | return _mm_alignr_epi8(a1, a0, i*2);
HFE-test.cpp: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: /usr/lib/llvm-18/lib/clang/18/include/tmmintrin.h:157:13: note: expanded from macro '_mm_alignr_epi8'
HFE-test.cpp: 157 | ((__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \
HFE-test.cpp: | ^
HFE-test.cpp: 158 | (__v16qi)(__m128i)(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:9:
HFE-test.cpp: In file included from ./bqas.h:79:
HFE-test.cpp: ./transpose8.h:38:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp: 38 | 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: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp: 38 | 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: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp: 38 | 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: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp: 38 | 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: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
HFE-test.cpp: In file included from bqas.h:79,
HFE-test.cpp: from HFE.h:9,
HFE-test.cpp: from HFE-test.cpp:18:
HFE-test.cpp: transpose8.h: In function 'void transpose8(__m128i*, const __m128i*)':
HFE-test.cpp: transpose8.h:38:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp: 38 | 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:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp: 38 | 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:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp: 38 | 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:47: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp: 38 | 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:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp: 38 | 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:61: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp: 38 | 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:68: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp: 38 | 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: ...

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