Test results for amd64, panther, crypto_encrypt/4hfe

[Page version: 20240910 17:17:26]

Measurements for amd64, panther, crypto_encrypt Test results for amd64, panther, crypto_encrypt Test results for crypto_encrypt/4hfe
Computer: panther
Microarchitecture: amd64; Tiger Lake (806c1)
Architecture: amd64
CPU ID: GenuineIntel-000806c1-00-bfebfbff
SUPERCOP version: 20240909
Operation: crypto_encrypt
Primitive: 4hfe

Compiler output


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/llvm-11/lib/clang/11.0.1/include/tmmintrin.h:148: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:7:
HFE-test.cpp: In file included from ./groebner.h:12:
HFE-test.cpp: ./polynomial.h:66:7: warning: explicitly assigning value of variable of type 'T' to itself [-Wself-assign-overloaded]
HFE-test.cpp:                 ret -= ret;
HFE-test.cpp:                 ~~~ ^  ~~~
HFE-test.cpp: In file included from HFE-test.cpp:18:
HFE-test.cpp: In file included from ./HFE.h:7:
HFE-test.cpp: ./groebner.h:291:14: warning: unused variable 'y3' [-Wunused-variable]
HFE-test.cpp:         monomial<4> y3 = monomial<4>(48);
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: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refclang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


HFE-test.cpp: In file included from HFE.h:6,
HFE-test.cpp:                  from HFE-test.cpp:18:
HFE-test.cpp: tower.h:107:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   107 | template <> const gftower<31,9> gftower<31,9>::one = *((gftower<31,9> *)_gf_31_56_one);
HFE-test.cpp:       |                                                       ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: tower.h:107:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp: tower.h:108:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   108 | template <> const gftower<31,10> gftower<31,10>::one = *((gftower<31,10> *)_gf_31_56_one);
HFE-test.cpp:       |                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: tower.h:108:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp: tower.h:109:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   109 | template <> const gftower<31,15> gftower<31,15>::one = *((gftower<31,15> *)_gf_31_56_one);
HFE-test.cpp:       |                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: tower.h:109:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp: tower.h:110:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   110 | template <> const gftower<31,18> gftower<31,18>::one = *((gftower<31,18> *)_gf_31_56_one);
HFE-test.cpp:       |                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: tower.h:110:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp: tower.h:111:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   111 | template <> const gftower<31,30> gftower<31,30>::one = *((gftower<31,30> *)_gf_31_56_one);
HFE-test.cpp:       |                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: tower.h:111:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp: tower.h:112:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   112 | template <> const gftower<31,45> gftower<31,45>::one = *((gftower<31,45> *)_gf_31_56_one);
HFE-test.cpp:       |                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refg++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


HFE-test.cpp: In file included from HFE-test.cpp:18:
HFE-test.cpp: HFE.h: In instantiation of 'static int HFE_4_31_10<p>::pri_map(VEC<p, 40>*, const uint8*, const VEC<p, 40>*) [with unsigned int p = 31; uint8 = unsigned char]':
HFE-test.cpp: HFE-test.cpp:77:16:   required from here
HFE-test.cpp: HFE.h:231:8: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct MLPS<31, 40, 40>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
HFE-test.cpp:   231 |  memcpy( & s_inv , pri_key , sizeof(s_inv) );
HFE-test.cpp:       |  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: In file included from HFE.h:9,
HFE-test.cpp:                  from HFE-test.cpp:18:
HFE-test.cpp: bqas.h:32:54: note: 'struct MLPS<31, 40, 40>' declared here
HFE-test.cpp:    32 | template <unsigned p, unsigned m, unsigned n> struct MLPS : public VEC<p, m>{
HFE-test.cpp:       |                                                      ^~~~
HFE-test.cpp: In file included from HFE-test.cpp:18:
HFE-test.cpp: HFE.h:232:8: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct MLPS<31, 40, 40>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
HFE-test.cpp:   232 |  memcpy( & t_inv , pri_key + sizeof(s_inv) , sizeof(t_inv) );
HFE-test.cpp:       |  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: In file included from HFE.h:9,
HFE-test.cpp:                  from HFE-test.cpp:18:
HFE-test.cpp: bqas.h:32:54: note: 'struct MLPS<31, 40, 40>' declared here
HFE-test.cpp:    32 | template <unsigned p, unsigned m, unsigned n> struct MLPS : public VEC<p, m>{
HFE-test.cpp:       |                                                      ^~~~
HFE-test.cpp: In file included from HFE-test.cpp:18:
HFE-test.cpp: HFE.h:248:8: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'HFE_4_31_10<31>::gf_t' {aka 'struct gftower<31, 10>'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
HFE-test.cpp:   248 |  memcpy( eqs , pri_key + sizeof(s_inv) + sizeof(t_inv) , sizeof( eqs ) );
HFE-test.cpp:       |  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: In file included from HFE.h:6,
HFE-test.cpp: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refg++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)