Implementation notes: amd64, hertz, crypto_stream/amastrid
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_stream
Primitive: amastrid
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
45851 | 22332 24 2350 | 45721 1124 3432 | T:ref | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
47210 | 26653 32 2462 | 48108 1692 3624 | T:ref | g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
47630 | 22328 24 2350 | 45788 1140 3432 | T:ref | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
50230 | 20061 32 2462 | 39276 1684 3560 | T:ref | g++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
55888 | 16852 24 2350 | 34383 1140 3432 | T:ref | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
73519 | 12470 24 2462 | 28856 1108 3528 | T:ref | g++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
Compiler output
Amastrid.cpp: Amastrid.cpp: In member function 'void Amastrid::Decrypt(unsigned int*)':
Amastrid.cpp: Amastrid.cpp:251:13: warning: 'pos1temp' may be used uninitialized [-Wmaybe-uninitialized]
Amastrid.cpp: 251 | if (pos1temp != pos2)
Amastrid.cpp: | ^~
Amastrid.cpp: Amastrid.cpp:212:35: note: 'pos1temp' was declared here
Amastrid.cpp: 212 | int pos1, pos2, pos1o, pos2o, pos1temp, inc1, inc2;
Amastrid.cpp: | ^~~~~~~~
Amastrid.cpp: Amastrid.cpp:307:18: warning: 'pos1o' may be used uninitialized [-Wmaybe-uninitialized]
Amastrid.cpp: 307 | else if (pos2 == pos1o)
Amastrid.cpp: | ^~
Amastrid.cpp: Amastrid.cpp:212:21: note: 'pos1o' was declared here
Amastrid.cpp: 212 | int pos1, pos2, pos1o, pos2o, pos1temp, inc1, inc2;
Amastrid.cpp: | ^~~~~
Amastrid.cpp: Amastrid.cpp:289:18: warning: 'pos2o' may be used uninitialized [-Wmaybe-uninitialized]
Amastrid.cpp: 289 | else if (pos1 == pos2o)
Amastrid.cpp: | ^~
Amastrid.cpp: Amastrid.cpp:212:28: note: 'pos2o' was declared here
Amastrid.cpp: 212 | int pos1, pos2, pos1o, pos2o, pos1temp, inc1, inc2;
Amastrid.cpp: | ^~~~~
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |