Implementation notes: aarch64, hikey960, crypto_hash/fugue2

Computer: hikey960
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_hash
Primitive: fugue2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1776646460 0 059738 920 744cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112620190816
2338646128 0 059626 920 776cop_opt32gcc_-funroll-loops_-O3_-fomit-frame-pointer2019112620190816
2497545564 0 055126 904 744cop_opt32gcc_-Os_-fomit-frame-pointer2019112620190816
2497545540 0 055134 904 744cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112620190816
3330039960 0 051080 816 760cop_opt32clang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019112620190816
3507939960 0 051080 816 760cop_opt32clang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019112620190816
3507945916 0 056146 920 744cop_opt32gcc_-O2_-fomit-frame-pointer2019112620190816
3507946148 0 057994 920 776cop_opt32gcc_-O3_-fomit-frame-pointer2019112620190816
3507946388 0 056578 920 744cop_opt32gcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112620190816
3507946628 0 058450 920 776cop_opt32gcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112620190816
3507948444 0 058706 920 744cop_opt32gcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019112620190816
3507946536 0 060002 920 776cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112620190816
3507948504 0 061962 920 744cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019112620190816
3507945404 0 055634 920 744cop_opt32gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019112620190816
3507945572 0 057410 920 776cop_opt32gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019112620190816
3507947952 0 058218 920 744cop_opt32gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019112620190816
3507945568 0 055134 904 744cop_opt32gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019112620190816
3649939960 0 051080 816 760cop_opt32clang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019112620190816
3738046064 0 059298 920 744cop_opt32gcc_-funroll-loops_-O2_-fomit-frame-pointer2019112620190816
3827048504 0 061962 920 744cop_opt32gcc_-funroll-loops_-O_-fomit-frame-pointer2019112620190816
3916039960 0 051064 816 760cop_opt32clang_-O3_-fomit-frame-pointer_-Qunused-arguments2019112620190816
4450045540 0 055134 904 744cop_opt32gcc_-funroll-loops_-Os_-fomit-frame-pointer2019112620190816
7684048444 0 058706 920 744cop_opt32gcc_-O_-fomit-frame-pointer2019112620190816
9354445564 0 055126 904 744cop_opt32gcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112620190816
93544124944 0 0137462 904 744cop_opt32gcc_-funroll-loops2019112620190816
121040124944 0 0137462 904 744cop_opt32cc2019112620190816
133200124944 0 0137462 904 744cop_opt32gcc2019112620190816

Compiler output

Implementation: cop_opt32
Security model: unknown
Compiler: cc
hash.c: In file included from aestab.h:4:0,
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: 23, 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
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv cop_opt32
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv cop_opt32
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv cop_opt32
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv 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: 4, 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