Implementation notes: amd64, hydra4, crypto_hash/floppsy

Computer: hydra4
Microarchitecture: amd64; K10 32nm (300f10)
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: floppsy
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
417118 0 012085 844 888T:refclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
417118 0 012917 844 888T:refclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
310174 0 010107 836 888T:refclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3112102 0 010675 836 888T:refclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
106827564 0 012992 780 984T:refg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
106845490 0 011039 772 984T:refg++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
106847454 0 011648 780 984T:refg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
124816396 0 09995 756 952T:refg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625

Compiler output


api.cpp: api.cpp: In function 'void round(const uint8_t*, long long unsigned int, double*)':
api.cpp: api.cpp:53:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long long unsigned int' [-Wsign-compare]
api.cpp:    53 |   for( long i = 0; i < len; i++ ) {
api.cpp:       |                    ~~^~~~~
api.cpp: api.cpp: In function 'int crypto_hash_floppsy_ref_timingleaks(unsigned char*, const unsigned char*, long long unsigned int)':
api.cpp: api.cpp:68:12: warning: 'buf' is used uninitialized in this function [-Wuninitialized]
api.cpp:    68 |   state[0] += init != 0 ? pow(init + 1.0/init, 1.0/3) : 3.0;
api.cpp:       |   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
api.cpp: api.cpp:69:12: warning: '*((void*)& buf +8)' is used uninitialized in this function [-Wuninitialized]
api.cpp:    69 |   state[1] += init != 0 ? pow(init + 1.0/init, 1.0/7) : 1.0/7;
api.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)