Implementation notes: amd64, dali, crypto_sign/3icp

Computer: dali
Microarchitecture: amd64; Zen (820f01)
Architecture: amd64
CPU ID: AuthenticAMD-00820f01-178bfbff
SUPERCOP version: 20240625
Operation: crypto_sign
Primitive: 3icp

Compiler output


ThreeIC_p-test.cpp: In file included from ThreeIC_p-test.cpp:16:
ThreeIC_p-test.cpp: In file included from ./ThreeIC_p.h:5:
ThreeIC_p-test.cpp: In file included from ./bqas.h:79:
ThreeIC_p-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
ThreeIC_p-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];
ThreeIC_p-test.cpp:         ^~~~~~~~~
ThreeIC_p-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
ThreeIC_p-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];
ThreeIC_p-test.cpp:         ^~~~~~~~~
ThreeIC_p-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
ThreeIC_p-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];
ThreeIC_p-test.cpp:         ^~~~~~~~~
ThreeIC_p-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
ThreeIC_p-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];
ThreeIC_p-test.cpp:         ^~~~~~~~~
ThreeIC_p-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
ThreeIC_p-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];
ThreeIC_p-test.cpp:         ^~~~~~~~~
ThreeIC_p-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
ThreeIC_p-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];
ThreeIC_p-test.cpp:         ^~~~~~~~~
ThreeIC_p-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
ThreeIC_p-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];
ThreeIC_p-test.cpp:         ^~~~~~~~~
ThreeIC_p-test.cpp: ./transpose8.h:38:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
ThreeIC_p-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


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


ThreeIC_p-test.cpp: In file included from ThreeIC_p-test.cpp:16:
ThreeIC_p-test.cpp: ThreeIC_p.h: In instantiation of 'static int IC3_31_p<pow>::pri_map(VEC<31, ((pow * 3) - 1)>*, const uint8*, const VEC<31, (pow * 2)>*) [with unsigned int pow = 18; uint8 = unsigned char]':
ThreeIC_p-test.cpp: ThreeIC_p-test.cpp:79:7:   required from here
ThreeIC_p-test.cpp: ThreeIC_p.h:44:8: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct MLPS<31, 54, 54>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
ThreeIC_p-test.cpp:    44 |  memcpy( & s_inv , pri_key , sizeof(s_inv) );
ThreeIC_p-test.cpp:       |  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ThreeIC_p-test.cpp: In file included from ThreeIC_p.h:5,
ThreeIC_p-test.cpp:                  from ThreeIC_p-test.cpp:16:
ThreeIC_p-test.cpp: bqas.h:32:54: note: 'struct MLPS<31, 54, 54>' declared here
ThreeIC_p-test.cpp:    32 | template <unsigned p, unsigned m, unsigned n> struct MLPS : public VEC<p, m>{
ThreeIC_p-test.cpp:       |                                                      ^~~~
ThreeIC_p-test.cpp: In file included from ThreeIC_p-test.cpp:16:
ThreeIC_p-test.cpp: ThreeIC_p.h:45:8: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct MLPS<31, 54, 54>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
ThreeIC_p-test.cpp:    45 |  memcpy( & t_inv , pri_key + sizeof(s_inv) , sizeof(t_inv) );
ThreeIC_p-test.cpp:       |  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ThreeIC_p-test.cpp: In file included from ThreeIC_p.h:5,
ThreeIC_p-test.cpp:                  from ThreeIC_p-test.cpp:16:
ThreeIC_p-test.cpp: bqas.h:32:54: note: 'struct MLPS<31, 54, 54>' declared here
ThreeIC_p-test.cpp:    32 | template <unsigned p, unsigned m, unsigned n> struct MLPS : public VEC<p, m>{
ThreeIC_p-test.cpp:       |                                                      ^~~~
ThreeIC_p-test.cpp: In file included from ThreeIC_p-test.cpp:16:
ThreeIC_p-test.cpp: ThreeIC_p.h:52:8: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct gf<31>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
ThreeIC_p-test.cpp:    52 |  memcpy( & tmp_sec[0] , &(*y)[0] , sizeof(gf<31>[pow*2]) );
ThreeIC_p-test.cpp:       |  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ThreeIC_p-test.cpp: In file included from gfv.h:4,
ThreeIC_p-test.cpp: ...

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