Implementation notes: aarch64, rockpi4, crypto_hash/fugue2

Computer: rockpi4
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20190816
Operation: crypto_hash
Primitive: fugue2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2354143104 0 056484 800 768cop_opt32clang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019091120190816
2478042828 0 056148 800 768cop_opt32clang_-O3_-fomit-frame-pointer_-Qunused-arguments2019091120190816
2478042828 0 056212 800 768cop_opt32clang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019091120190816
2478042828 0 056212 800 768cop_opt32clang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019091120190816
2560644260 0 056463 896 760cop_opt32gcc_-O3_-fomit-frame-pointer2019091120190816
2560644104 0 057679 896 760cop_opt32gcc_-funroll-loops_-O3_-fomit-frame-pointer2019091120190816
2560644260 0 056559 896 760cop_opt32gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019091120190816
2601943888 0 054887 896 744cop_opt32gcc_-O2_-fomit-frame-pointer2019091120190816
2601944572 0 057639 896 744cop_opt32gcc_-funroll-loops_-O2_-fomit-frame-pointer2019091120190816
2601943888 0 054983 896 744cop_opt32gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019091120190816
2684542816 0 056367 896 760cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019091120190816
2725842728 0 055887 896 744cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019091120190816
2808442640 0 053583 896 744cop_opt32gcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019091120190816
2808442908 0 055087 896 760cop_opt32gcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019091120190816
2932342204 0 052487 880 736cop_opt32gcc_-funroll-loops_-Os_-fomit-frame-pointer2019091120190816
2932342204 0 052487 880 736cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019091120190816
3014948440 0 059519 896 744cop_opt32gcc_-O_-fomit-frame-pointer2019091120190816
3014942228 0 052455 880 736cop_opt32gcc_-Os_-fomit-frame-pointer2019091120190816
3014948440 0 059519 896 744cop_opt32gcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019091120190816
3014942228 0 052455 880 736cop_opt32gcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019091120190816
3014948564 0 062847 896 744cop_opt32gcc_-funroll-loops_-O_-fomit-frame-pointer2019091120190816
3014948564 0 062847 896 744cop_opt32gcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019091120190816
3014948444 0 059519 896 744cop_opt32gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019091120190816
3014942236 0 052455 880 736cop_opt32gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019091120190816
4212642828 0 056212 800 768cop_opt32clang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019091120190816
121422125080 0 0142415 880 744cop_opt32cc2019091120190816
121422125080 0 0142415 880 744cop_opt32gcc_-funroll-loops2019091120190816
123074125080 0 0142415 880 744cop_opt32gcc2019091120190816

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: 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: 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