Implementation notes: aarch64, supercoplxc, crypto_hash/fugue2

Computer: supercoplxc
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_hash
Primitive: fugue2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4176044260 0 055937 896 760cop_opt32gcc_-O3_-fomit-frame-pointer2019090120190816
4176044104 0 057153 896 760cop_opt32gcc_-funroll-loops_-O3_-fomit-frame-pointer2019090120190816
4272044572 0 057121 896 744cop_opt32gcc_-funroll-loops_-O2_-fomit-frame-pointer2019090120190816
4304043888 0 054361 896 744cop_opt32gcc_-O2_-fomit-frame-pointer2019090120190816
4432042816 0 055841 896 760cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019090120190816
4528042728 0 055361 896 744cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019090120190816
4616043104 0 055958 800 768cop_opt32clang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019090120190816
4952042204 0 051969 880 736cop_opt32gcc_-funroll-loops_-Os_-fomit-frame-pointer2019090120190816
4968042204 0 051969 880 736cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019090120190816
5232042828 0 055630 800 768cop_opt32clang_-O3_-fomit-frame-pointer_-Qunused-arguments2019090120190816
5240042828 0 055686 800 768cop_opt32clang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019090120190816
5248042828 0 055686 800 768cop_opt32clang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019090120190816
5248042828 0 055686 800 768cop_opt32clang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019090120190816
6352042640 0 053057 896 744cop_opt32gcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019090120190816
6408042908 0 054569 896 760cop_opt32gcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019090120190816
7560042228 0 051929 880 736cop_opt32gcc_-Os_-fomit-frame-pointer2019090120190816
7560042228 0 051929 880 736cop_opt32gcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019090120190816
8792048564 0 062329 896 744cop_opt32gcc_-funroll-loops_-O_-fomit-frame-pointer2019090120190816
8792048564 0 062329 896 744cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019090120190816
8840048440 0 058993 896 744cop_opt32gcc_-O_-fomit-frame-pointer2019090120190816
8840048440 0 058993 896 744cop_opt32gcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019090120190816
305840125080 0 0141889 880 744cop_opt32cc2019090120190816
306000125080 0 0141889 880 744cop_opt32gcc_-funroll-loops2019090120190816
307520125080 0 0141889 880 744cop_opt32gcc2019090120190816

Compiler output

Implementation: cop_opt32
Security model: unknown
Compiler: cc
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: #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: 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: #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: 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: #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: 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: #define HO2BE_4(_x) ((_x<<24)|((_x<<8)&0xff0000)|((_x>>8)&0xff00)|(_x>>24))
hash.c: ^~
hash.c: ...

Number of similar (compiler,implementation) pairs: 19, namely:
CompilerImplementations
cc cop_opt32
gcc cop_opt32
gcc -O2 -fomit-frame-pointer cop_opt32
gcc -O3 -fomit-frame-pointer cop_opt32
gcc -O -fomit-frame-pointer cop_opt32
gcc -Os -fomit-frame-pointer cop_opt32
gcc -fno-schedule-insns -O2 -fomit-frame-pointer cop_opt32
gcc -fno-schedule-insns -O3 -fomit-frame-pointer cop_opt32
gcc -fno-schedule-insns -O -fomit-frame-pointer cop_opt32
gcc -fno-schedule-insns -Os -fomit-frame-pointer cop_opt32
gcc -funroll-loops cop_opt32
gcc -funroll-loops -O2 -fomit-frame-pointer cop_opt32
gcc -funroll-loops -O3 -fomit-frame-pointer cop_opt32
gcc -funroll-loops -O -fomit-frame-pointer cop_opt32
gcc -funroll-loops -Os -fomit-frame-pointer cop_opt32
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer cop_opt32
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer cop_opt32
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer cop_opt32
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer cop_opt32

Compiler output

Implementation: cop_opt32
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
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: 5, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments cop_opt32
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments cop_opt32
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments cop_opt32
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments cop_opt32
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments cop_opt32