Implementation notes: amd64, speed2supercop, crypto_hash/atelopus64

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: atelopus64

Test failure


error 111
crypto_hash does not handle m=h overlap

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

Compiler output


Atelopus.cpp: In file included from Atelopus.cpp:3:
Atelopus.cpp: ./Atelopus.h:189:9: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:         register BYTE *p1, *p2;
Atelopus.cpp:         ^~~~~~~~~
Atelopus.cpp: ./Atelopus.h:189:9: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:         register BYTE *p1, *p2;
Atelopus.cpp:         ^~~~~~~~~
Atelopus.cpp: ./Atelopus.h:190:9: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:         register BYTE temp, v1, v2;
Atelopus.cpp:         ^~~~~~~~~
Atelopus.cpp: ./Atelopus.h:190:9: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:         register BYTE temp, v1, v2;
Atelopus.cpp:         ^~~~~~~~~
Atelopus.cpp: ./Atelopus.h:190:9: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:         register BYTE temp, v1, v2;
Atelopus.cpp:         ^~~~~~~~~
Atelopus.cpp: ./Atelopus.h:209:9: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:         register BYTE *p1, *p2;
Atelopus.cpp:         ^~~~~~~~~
Atelopus.cpp: ./Atelopus.h:209:9: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:         register BYTE *p1, *p2;
Atelopus.cpp:         ^~~~~~~~~
Atelopus.cpp: ./Atelopus.h:210:9: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:         register BYTE temp, v1, v2;
Atelopus.cpp:         ^~~~~~~~~
Atelopus.cpp: ...

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

Compiler output


Atelopus.cpp: In file included from Atelopus.cpp:3:
Atelopus.cpp: Atelopus.h: In member function 'void Atelopus::SwapLE(const unsigned int&, const unsigned int&)':
Atelopus.cpp: Atelopus.h:189:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:   189 |         register BYTE *p1, *p2;
Atelopus.cpp:       |                        ^~
Atelopus.cpp: Atelopus.h:189:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:   189 |         register BYTE *p1, *p2;
Atelopus.cpp:       |                             ^~
Atelopus.cpp: Atelopus.h:190:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:   190 |         register BYTE temp, v1, v2;
Atelopus.cpp:       |                       ^~~~
Atelopus.cpp: Atelopus.h:190:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:   190 |         register BYTE temp, v1, v2;
Atelopus.cpp:       |                             ^~
Atelopus.cpp: Atelopus.h:190:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:   190 |         register BYTE temp, v1, v2;
Atelopus.cpp:       |                                 ^~
Atelopus.cpp: Atelopus.h: In member function 'void Atelopus::SwapBE(const unsigned int&, const unsigned int&)':
Atelopus.cpp: Atelopus.h:209:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:   209 |         register BYTE *p1, *p2;
Atelopus.cpp:       |                        ^~
Atelopus.cpp: Atelopus.h:209:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp:   209 |         register BYTE *p1, *p2;
Atelopus.cpp:       |                             ^~
Atelopus.cpp: Atelopus.h:210:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Atelopus.cpp: ...
hash.cpp: In file included from hash.cpp:4:
hash.cpp: Atelopus.h: In member function 'void Atelopus::SwapLE(const unsigned int&, const unsigned int&)':
hash.cpp: Atelopus.h:189:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
hash.cpp:   189 |         register BYTE *p1, *p2;
hash.cpp:       |                        ^~
hash.cpp: Atelopus.h:189:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
hash.cpp:   189 |         register BYTE *p1, *p2;
hash.cpp:       |                             ^~
hash.cpp: Atelopus.h:190:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
hash.cpp:   190 |         register BYTE temp, v1, v2;
hash.cpp:       |                       ^~~~
hash.cpp: Atelopus.h:190:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
hash.cpp:   190 |         register BYTE temp, v1, v2;
hash.cpp:       |                             ^~
hash.cpp: Atelopus.h:190:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
hash.cpp:   190 |         register BYTE temp, v1, v2;
hash.cpp:       |                                 ^~
hash.cpp: Atelopus.h: In member function 'void Atelopus::SwapBE(const unsigned int&, const unsigned int&)':
hash.cpp: Atelopus.h:209:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
hash.cpp:   209 |         register BYTE *p1, *p2;
hash.cpp:       |                        ^~
hash.cpp: Atelopus.h:209:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
hash.cpp:   209 |         register BYTE *p1, *p2;
hash.cpp:       |                             ^~
hash.cpp: Atelopus.h:210:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
hash.cpp: ...

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