Implementation notes: amd64, rumba5, crypto_sign/rainbowbinary256181212

Computer: rumba5
Microarchitecture: amd64; Zen (800f11)
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20240625
Operation: crypto_sign
Primitive: rainbowbinary256181212
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4749034446 168 860084 1084 1760T:refclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
4782929291 168 854508 1084 1760T:refclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
5365327963 168 850164 1084 1728T:refclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
5624527097 168 850067 1076 1792T:refclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

Compiler output


rainbow-test.cpp: In file included from rainbow-test.cpp:1:
rainbow-test.cpp: ./gf.h:171:46: warning: while loop has empty body [-Wempty-body]
rainbow-test.cpp:                 if( M==n_read ) { while( ttt.set(fp)==16 ) ; break; }
rainbow-test.cpp:                                                            ^
rainbow-test.cpp: ./gf.h:171:46: note: put the semicolon on a separate line to silence this warning
rainbow-test.cpp: 1 warning generated.

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

Compiler output


rainbow-test.cpp: In file included from gf.h:181,
rainbow-test.cpp:                  from rainbow-test.cpp:1:
rainbow-test.cpp: gf16.h: In member function 'void gfv_unit<p>::dump(FILE*) const [with unsigned int p = 16; FILE = FILE]':
rainbow-test.cpp: gf16.h:305:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
rainbow-test.cpp:   305 |         for(unsigned i=0;i<N;i++) fprintf(fp,"%02X ",(int)((*this)[i].v)); fprintf(fp,"\n");
rainbow-test.cpp:       |         ^~~
rainbow-test.cpp: gf16.h:305:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
rainbow-test.cpp:   305 |         for(unsigned i=0;i<N;i++) fprintf(fp,"%02X ",(int)((*this)[i].v)); fprintf(fp,"\n");
rainbow-test.cpp:       |                                                                            ^~~~~~~
rainbow-test.cpp: rainbow-test.cpp: In function 'int signatureofshorthash(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int)':
rainbow-test.cpp: rainbow-test.cpp:56:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct gfv<256, 24>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
rainbow-test.cpp:    56 |         memcpy( &y , h ,M );
rainbow-test.cpp:       |         ~~~~~~^~~~~~~~~~~~~
rainbow-test.cpp: In file included from rainbow-test.cpp:1:
rainbow-test.cpp: gf.h:113:8: note: 'struct gfv<256, 24>' declared here
rainbow-test.cpp:   113 | struct gfv
rainbow-test.cpp:       |        ^~~
rainbow-test.cpp: rainbow-test.cpp: In function 'int verification(const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int)':
rainbow-test.cpp: rainbow-test.cpp:81:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct gfv<256, 42>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
rainbow-test.cpp:    81 |         memcpy( &x , sm ,N );
rainbow-test.cpp:       |         ~~~~~~^~~~~~~~~~~~~~
rainbow-test.cpp: In file included from rainbow-test.cpp:1:
rainbow-test.cpp: gf.h:113:8: note: 'struct gfv<256, 42>' declared here
rainbow-test.cpp:   113 | struct gfv
rainbow-test.cpp:       |        ^~~
rainbow-test.cpp: ...

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