Implementation notes: amd64, genji262, crypto_hash/fugue2

Computer: genji262
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20190910
Operation: crypto_hash
Primitive: fugue2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1722652456 0 062436 792 776cop_opt32gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1735851494 0 063065 800 776cop_opt32gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1786457981 0 067836 792 776cop_opt32gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1995450544 0 059524 776 776cop_opt32gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1997666032 0 081261 840 744cop_opt32icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019091220190910
1997666032 0 081261 840 744cop_opt32icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019091220190910
2002066032 0 081261 840 744cop_opt32icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019091220190910
2015266032 0 081261 840 744cop_opt32icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019091220190910
2052666016 0 081597 840 744cop_opt32icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019091220190910
2052666016 0 081597 840 744cop_opt32icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019091220190910
2072466016 0 081597 840 744cop_opt32icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019091220190910
2076864752 0 080013 840 744cop_opt32icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019091220190910
2076864752 0 080013 840 744cop_opt32icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019091220190910
2076864752 0 080013 840 744cop_opt32icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019091220190910
2090064816 0 079997 840 744cop_opt32icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019091220190910
2090064816 0 079997 840 744cop_opt32icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019091220190910
2092266016 0 081597 840 744cop_opt32icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019091220190910
2096664752 0 080013 840 744cop_opt32icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019091220190910
2107664816 0 079997 840 744cop_opt32icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019091220190910
2120867232 0 081165 840 744cop_opt32icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019091220190910
2153864816 0 079997 840 744cop_opt32icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019091220190910
2281466880 0 080869 840 744cop_opt32icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019091220190910

Test failure

Implementation: crypto_hash/fugue2/cop_opt32
Compiler: icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer cop_opt32
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer cop_opt32
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer cop_opt32
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer cop_opt32
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer cop_opt32
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer cop_opt32

Compiler output

Implementation: crypto_hash/fugue2/cop_opt32
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash.c: hash.c:33:28: warning: signed shift result (0x3F743CBE000000) requires 55 bits to represent, but 'int' only has 32 bits [-Wshift-overflow]
hash.c: HO2BE_4(0xa6de572c), HO2BE_4(0x3f743cbe), HO2BE_4(0x4105b317), HO2BE_4(0x4580a1c6)};
hash.c: ^~~~~~~~~~~~~~~~~~~
hash.c: ./aestab_t.h:19:26: note: expanded from macro 'HO2BE_4'
hash.c: #define HO2BE_4(_x) ((_x<<24)|((_x<<8)&0xff0000)|((_x>>8)&0xff00)|(_x>>24))
hash.c: ~~^ ~~
hash.c: hash.c:33:28: warning: signed shift result (0x3F743CBE00) requires 39 bits to represent, but 'int' only has 32 bits [-Wshift-overflow]
hash.c: HO2BE_4(0xa6de572c), HO2BE_4(0x3f743cbe), HO2BE_4(0x4105b317), HO2BE_4(0x4580a1c6)};
hash.c: ^~~~~~~~~~~~~~~~~~~
hash.c: ./aestab_t.h:19:36: note: expanded from macro 'HO2BE_4'
hash.c: #define HO2BE_4(_x) ((_x<<24)|((_x<<8)&0xff0000)|((_x>>8)&0xff00)|(_x>>24))
hash.c: ~~^ ~
hash.c: hash.c:33:49: warning: signed shift result (0x4105B317000000) requires 56 bits to represent, but 'int' only has 32 bits [-Wshift-overflow]
hash.c: HO2BE_4(0xa6de572c), HO2BE_4(0x3f743cbe), HO2BE_4(0x4105b317), HO2BE_4(0x4580a1c6)};
hash.c: ^~~~~~~~~~~~~~~~~~~
hash.c: ./aestab_t.h:19:26: note: expanded from macro 'HO2BE_4'
hash.c: #define HO2BE_4(_x) ((_x<<24)|((_x<<8)&0xff0000)|((_x>>8)&0xff00)|(_x>>24))
hash.c: ~~^ ~~
hash.c: hash.c:33:49: warning: signed shift result (0x4105B31700) requires 40 bits to represent, but 'int' only has 32 bits [-Wshift-overflow]
hash.c: HO2BE_4(0xa6de572c), HO2BE_4(0x3f743cbe), HO2BE_4(0x4105b317), HO2BE_4(0x4580a1c6)};
hash.c: ^~~~~~~~~~~~~~~~~~~
hash.c: ./aestab_t.h:19:36: note: expanded from macro 'HO2BE_4'
hash.c: #define HO2BE_4(_x) ((_x<<24)|((_x<<8)&0xff0000)|((_x>>8)&0xff00)|(_x>>24))
hash.c: ~~^ ~
hash.c: hash.c:33:70: warning: signed shift result (0x4580A1C6000000) requires 56 bits to represent, but 'int' only has 32 bits [-Wshift-overflow]
hash.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE cop_opt32
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE cop_opt32
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE cop_opt32
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE cop_opt32

Compiler output

Implementation: crypto_hash/fugue2/cop_opt32
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: In file included from aestab.h:4,
hash.c: from fugue_256_code.h:13,
hash.c: from hash.c:7:
hash.c: hash.c: In function 'crypto_hash_fugue2_cop_opt32':
hash.c: aestab_t.h:19:26: warning: result of '1064582334 << 24' requires 55 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=]
hash.c: 19 | #define HO2BE_4(_x) ((_x<<24)|((_x<<8)&0xff0000)|((_x>>8)&0xff00)|(_x>>24))
hash.c: | ^~
hash.c: hash.c:33:28: note: in expansion of macro 'HO2BE_4'
hash.c: 33 | HO2BE_4(0xa6de572c), HO2BE_4(0x3f743cbe), HO2BE_4(0x4105b317), HO2BE_4(0x4580a1c6)};
hash.c: | ^~~~~~~
hash.c: aestab_t.h:19:36: warning: result of '1064582334 << 8' requires 39 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=]
hash.c: 19 | #define HO2BE_4(_x) ((_x<<24)|((_x<<8)&0xff0000)|((_x>>8)&0xff00)|(_x>>24))
hash.c: | ^~
hash.c: hash.c:33:28: note: in expansion of macro 'HO2BE_4'
hash.c: 33 | HO2BE_4(0xa6de572c), HO2BE_4(0x3f743cbe), HO2BE_4(0x4105b317), HO2BE_4(0x4580a1c6)};
hash.c: | ^~~~~~~
hash.c: aestab_t.h:19:26: warning: result of '1090892567 << 24' requires 56 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=]
hash.c: 19 | #define HO2BE_4(_x) ((_x<<24)|((_x<<8)&0xff0000)|((_x>>8)&0xff00)|(_x>>24))
hash.c: | ^~
hash.c: hash.c:33:49: note: in expansion of macro 'HO2BE_4'
hash.c: 33 | HO2BE_4(0xa6de572c), HO2BE_4(0x3f743cbe), HO2BE_4(0x4105b317), HO2BE_4(0x4580a1c6)};
hash.c: | ^~~~~~~
hash.c: aestab_t.h:19:36: warning: result of '1090892567 << 8' requires 40 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=]
hash.c: 19 | #define HO2BE_4(_x) ((_x<<24)|((_x<<8)&0xff0000)|((_x>>8)&0xff00)|(_x>>24))
hash.c: | ^~
hash.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE cop_opt32
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE cop_opt32
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE cop_opt32
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE cop_opt32