Implementation notes: amd64, titan0, crypto_encrypt/3hfe

Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_encrypt
Primitive: 3hfe

Compiler output


HFE-test.cpp: In file included from HFE.h:6,
HFE-test.cpp:                  from HFE-test.cpp:18:
HFE-test.cpp: tower.h:107:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   107 | template <> const gftower<31,9> gftower<31,9>::one = *((gftower<31,9> *)_gf_31_56_one);
HFE-test.cpp:       |                                                       ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: tower.h:107:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp: tower.h:108:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   108 | template <> const gftower<31,10> gftower<31,10>::one = *((gftower<31,10> *)_gf_31_56_one);
HFE-test.cpp:       |                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: tower.h:108:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp: tower.h:109:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   109 | template <> const gftower<31,15> gftower<31,15>::one = *((gftower<31,15> *)_gf_31_56_one);
HFE-test.cpp:       |                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: tower.h:109:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp: tower.h:110:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   110 | template <> const gftower<31,18> gftower<31,18>::one = *((gftower<31,18> *)_gf_31_56_one);
HFE-test.cpp:       |                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: tower.h:110:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp: tower.h:111:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   111 | template <> const gftower<31,30> gftower<31,30>::one = *((gftower<31,30> *)_gf_31_56_one);
HFE-test.cpp:       |                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: tower.h:111:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp: tower.h:112:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
HFE-test.cpp:   112 | template <> const gftower<31,45> gftower<31,45>::one = *((gftower<31,45> *)_gf_31_56_one);
HFE-test.cpp:       |                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HFE-test.cpp: ...

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

Compiler output


HFE-test.cpp: In file included from bqas.h:79,
HFE-test.cpp:                  from HFE.h:9,
HFE-test.cpp:                  from HFE-test.cpp:18:
HFE-test.cpp: transpose8.h: In function 'void transpose8(__m128i*, const __m128i*)':
HFE-test.cpp: transpose8.h:38:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp:    38 |         register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
HFE-test.cpp:       |                          ^
HFE-test.cpp: transpose8.h:38:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp:    38 |         register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
HFE-test.cpp:       |                                 ^
HFE-test.cpp: transpose8.h:38:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp:    38 |         register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
HFE-test.cpp:       |                                        ^
HFE-test.cpp: transpose8.h:38:47: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp:    38 |         register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
HFE-test.cpp:       |                                               ^
HFE-test.cpp: transpose8.h:38:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp:    38 |         register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
HFE-test.cpp:       |                                                      ^
HFE-test.cpp: transpose8.h:38:61: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp:    38 |         register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
HFE-test.cpp:       |                                                             ^
HFE-test.cpp: transpose8.h:38:68: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
HFE-test.cpp:    38 |         register __m128i a=s[0],b=s[1],c=s[2],d=s[3],e=s[4],f=s[5],g=s[6],h=s[7];
HFE-test.cpp:       |                                                                    ^
HFE-test.cpp: ...

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