Implementation notes: amd64, rumba7, crypto_stream/amastrid
Computer: rumba7
Microarchitecture: amd64; Zen (800f11)
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20240625
Operation: crypto_stream
Primitive: amastrid
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
57122 | 21111 32 2462 | 41833 1684 3552 | T:ref | g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
58911 | 17090 24 2350 | 36996 1164 3360 | T:ref | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
58916 | 15732 24 2350 | 32156 1164 3360 | T:ref | clang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
60778 | 17014 24 2350 | 36540 1164 3360 | T:ref | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
62032 | 19495 24 2462 | 38892 1676 3552 | T:ref | g++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
65836 | 19072 24 2462 | 37767 1668 3552 | T:ref | g++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
90519 | 12219 24 2462 | 28672 1108 3520 | T:ref | g++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
94198 | 16844 24 2350 | 33580 1148 3392 | T:ref | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
Compiler output
Amastrid.cpp: Amastrid.cpp: In member function 'void Amastrid::Encrypt(unsigned int*)':
Amastrid.cpp: Amastrid.cpp:126:60: warning: 'pos2' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 126 | Amastrid::ShiftLeftRot(ar, _size, pos2 - pos1);
Amastrid.cpp: | ~~~~~^~~~~~
Amastrid.cpp: Amastrid.cpp: In member function 'void Amastrid::Decrypt(unsigned int*)':
Amastrid.cpp: Amastrid.cpp:253:17: warning: 'pos1temp' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 253 | if (pos1temp > pos2)
Amastrid.cpp: | ^~
Amastrid.cpp: Amastrid.cpp:289:18: warning: 'pos2o' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 289 | else if (pos1 == pos2o)
Amastrid.cpp: | ^~
Amastrid.cpp: Amastrid.cpp:291:17: warning: 'pos1o' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 291 | if (pos2 == pos1o)
Amastrid.cpp: | ^~
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:ref | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
Amastrid.cpp: Amastrid.cpp: In member function 'void Amastrid::Encrypt(unsigned int*)':
Amastrid.cpp: Amastrid.cpp:120:17: warning: 'pos2' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 120 | if (pos1 > pos2)
Amastrid.cpp: | ^~
Amastrid.cpp: Amastrid.cpp: In member function 'void Amastrid::Decrypt(unsigned int*)':
Amastrid.cpp: Amastrid.cpp:251:13: warning: 'pos1temp' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 251 | if (pos1temp != pos2)
Amastrid.cpp: | ^~
Amastrid.cpp: Amastrid.cpp:289:18: warning: 'pos2o' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 289 | else if (pos1 == pos2o)
Amastrid.cpp: | ^~
Amastrid.cpp: Amastrid.cpp:291:17: warning: 'pos1o' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 291 | if (pos2 == pos1o)
Amastrid.cpp: | ^~
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall |
Compiler output
Amastrid.cpp: Amastrid.cpp: In member function 'void Amastrid::Encrypt(unsigned int*)':
Amastrid.cpp: Amastrid.cpp:126:60: warning: 'pos2' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 126 | Amastrid::ShiftLeftRot(ar, _size, pos2 - pos1);
Amastrid.cpp: | ~~~~~^~~~~~
Amastrid.cpp: Amastrid.cpp: In member function 'void Amastrid::Decrypt(unsigned int*)':
Amastrid.cpp: Amastrid.cpp:251:13: warning: 'pos1temp' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 251 | if (pos1temp != pos2)
Amastrid.cpp: | ^~
Amastrid.cpp: Amastrid.cpp:289:18: warning: 'pos2o' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 289 | else if (pos1 == pos2o)
Amastrid.cpp: | ^~
Amastrid.cpp: Amastrid.cpp:291:17: warning: 'pos1o' may be used uninitialized in this function [-Wmaybe-uninitialized]
Amastrid.cpp: 291 | if (pos2 == pos1o)
Amastrid.cpp: | ^~
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall |