Implementation notes: amd64, renoir, crypto_sign/rainbow5640

Computer: renoir
Microarchitecture: amd64; Zen 2 (860f01)
Architecture: amd64
CPU ID: AuthenticAMD-00860f01-178bfbff
SUPERCOP version: 20240625
Operation: crypto_sign
Primitive: rainbow5640

Compiler output


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


rainbow_w-test.cpp: In file included from rainbow_w-test.cpp:6:
rainbow_w-test.cpp: rainbow_w.h: In instantiation of 'static int rainbow_w_56_40<p>::pri_map(VEC<p, 56>*, const uint8*, const VEC<p, 40>*) [with unsigned int p = 31; uint8 = unsigned char]':
rainbow_w-test.cpp: rainbow_w-test.cpp:69:7:   required from here
rainbow_w-test.cpp: rainbow_w.h:269:8: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct MLPS<31, 56, 56>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
rainbow_w-test.cpp:   269 |  memcpy( & s_inv , pri_key , sizeof(MLPS<p,l_msg,l_msg>) );
rainbow_w-test.cpp:       |  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rainbow_w-test.cpp: In file included from rainbow_w.h:7,
rainbow_w-test.cpp:                  from rainbow_w-test.cpp:6:
rainbow_w-test.cpp: bqas.h:32:54: note: 'struct MLPS<31, 56, 56>' declared here
rainbow_w-test.cpp:    32 | template <unsigned p, unsigned m, unsigned n> struct MLPS : public VEC<p, m>{
rainbow_w-test.cpp:       |                                                      ^~~~
rainbow_w-test.cpp: In file included from rainbow_w-test.cpp:6:
rainbow_w-test.cpp: rainbow_w.h:270: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]
rainbow_w-test.cpp:   270 |  memcpy( & t_inv , pri_key + sizeof(MLPS<p,l_msg,l_msg>) , sizeof(MLPS<p,l_sec,l_sec>) );
rainbow_w-test.cpp:       |  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rainbow_w-test.cpp: In file included from rainbow_w.h:7,
rainbow_w-test.cpp:                  from rainbow_w-test.cpp:6:
rainbow_w-test.cpp: bqas.h:32:54: note: 'struct MLPS<31, 40, 40>' declared here
rainbow_w-test.cpp:    32 | template <unsigned p, unsigned m, unsigned n> struct MLPS : public VEC<p, m>{
rainbow_w-test.cpp:       |                                                      ^~~~
rainbow_w-test.cpp: In file included from rainbow_w-test.cpp:6:
rainbow_w-test.cpp: rainbow_w.h: In instantiation of 'static void rainbow_w_56_40<p>::pub_map(VEC<p, 40>*, const uint8*, const VEC<p, 56>*) [with unsigned int p = 31; uint8 = unsigned char]':
rainbow_w-test.cpp: rainbow_w-test.cpp:122:7:   required from here
rainbow_w-test.cpp: rainbow_w.h:260:8: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct MQPSv3<31, 40, 56>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
rainbow_w-test.cpp:   260 |  memcpy( &poly , pub_key , sizeof( poly ));
rainbow_w-test.cpp: ...

Number of similar (implementation,compiler) pairs: 4, 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 -O -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)