Implementation notes: amd64, speed2supercop, crypto_hash/floppsy
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240808
Operation: crypto_hash
Primitive: floppsy
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
24 | 64 0 0 | 13827 824 744 | T:ref | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
24 | 64 0 0 | 14019 824 744 | T:ref | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
24 | 64 0 0 | 9963 824 728 | T:ref | clang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
24 | 64 0 0 | 10820 816 792 | T:ref | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
86632 | 376 0 0 | 10284 744 816 | T:ref | g++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
86636 | 352 0 0 | 10517 752 816 | T:ref | g++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
86636 | 469 0 0 | 12637 752 816 | T:ref | g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
87976 | 340 0 0 | 9223 728 784 | T:ref | g++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
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: In function 'void setup(double*, double)',
api.cpp: inlined from 'int crypto_hash_floppsy_ref_timingleaks(unsigned char*, const unsigned char*, long long unsigned int)' at api.cpp:92:8:
api.cpp: api.cpp:68:10: warning: 'buf' is used uninitialized [-Wuninitialized]
api.cpp: 68 | state[0] += init != 0 ? pow(init + 1.0/init, 1.0/3) : 3.0;
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:84:11: note: 'buf' declared here
api.cpp: 84 | uint8_t buf [16];
api.cpp: | ^~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall |