Implementation notes: amd64, cubi10, crypto_sign/rainbow6440

Computer: cubi10
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_sign
Primitive: rainbow6440

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
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_64_40<p>::pri_map(VEC<p, 64>*, const uint8*, const VEC<p, 40>*) [with unsigned int p = 31; uint8 = unsigned char]':
rainbow_w-test.cpp: rainbow_w-test.cpp:68:7:   required from here
rainbow_w-test.cpp: rainbow_w.h:558:8: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct MLPS<31, 64, 64>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
rainbow_w-test.cpp:   558 |  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, 64, 64>' 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:559: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:   559 |  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_64_40<p>::pub_map(VEC<p, 40>*, const uint8*, const VEC<p, 64>*) [with unsigned int p = 31; uint8 = unsigned char]':
rainbow_w-test.cpp: rainbow_w-test.cpp:123:7:   required from here
rainbow_w-test.cpp: rainbow_w.h:549:8: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct MQPSv3<31, 40, 64>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
rainbow_w-test.cpp:   549 |  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)