Implementation notes: armeabi, tinkerboards, crypto_hash/sha3224

Computer: tinkerboards
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_hash
Primitive: sha3224
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
58397132 0 07197 444 744opensslgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
5846596 0 06272 436 744opensslgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
58668180 0 019257 412 760opensslclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010320191221
58676132 0 08494 448 744opensslgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
59126136 0 07153 444 744opensslgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
626901900 0 031173 384 760oncore32bitsclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010320191221
635731312 0 020117 420 744oncore32bitsgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
649841312 0 018857 420 744oncore32bitsgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
666021068 0 017729 412 744oncore32bitsgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
671481330 0 018849 420 744oncore32bitsgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
77011512 0 046069 412 744oncore64bitsgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
77243840 0 047285 420 744oncore64bitsgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
77440956 0 048657 420 744oncore64bitsgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
77483724 0 047125 420 744oncore64bitsgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
775681152 0 059490 384 760oncore64bitsclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010320191221

Compiler output

Implementation: kcp/optimized1600ARMv7A
Security model: unknown
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
keccak.s: keccak.s:539:5: error: invalid instruction, any one of the following would fix this:
keccak.s: veor.64 d0, d0, d30
keccak.s: ^
keccak.s: keccak.s:539:21: note: operand must be a register in range [d0, d15]
keccak.s: veor.64 d0, d0, d30
keccak.s: ^
keccak.s: keccak.s:539:21: note: too many operands for instruction
keccak.s: veor.64 d0, d0, d30
keccak.s: ^
keccak.s: keccak.s:541:5: error: invalid instruction, any one of the following would fix this:
keccak.s: veor.64 d2, d2, d30
keccak.s: ^
keccak.s: keccak.s:541:21: note: operand must be a register in range [d0, d15]
keccak.s: veor.64 d2, d2, d30
keccak.s: ^
keccak.s: keccak.s:541:21: note: too many operands for instruction
keccak.s: veor.64 d2, d2, d30
keccak.s: ^
keccak.s: keccak.s:543:5: error: invalid instruction, any one of the following would fix this:
keccak.s: veor.64 d4, d4, d30
keccak.s: ^
keccak.s: keccak.s:543:21: note: operand must be a register in range [d0, d15]
keccak.s: veor.64 d4, d4, d30
keccak.s: ^
keccak.s: keccak.s:543:21: note: too many operands for instruction
keccak.s: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE kcp/optimized1600ARMv7A

Compiler output

Implementation: kcp/optimized1600ARMv7A
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
keccak.s: keccak.s: Assembler messages:
keccak.s: keccak.s:286: Error: selected FPU does not support instruction -- `vmov.i64 q0,#0'
keccak.s: keccak.s:287: Error: selected FPU does not support instruction -- `vmov.i64 q1,#0'
keccak.s: keccak.s:288: Error: selected FPU does not support instruction -- `vmov.i64 q2,#0'
keccak.s: keccak.s:289: Error: selected FPU does not support instruction -- `vmov.i64 q3,#0'
keccak.s: keccak.s:384: Error: selected FPU does not support instruction -- `vmov.i64 d0,#0'
keccak.s: keccak.s:539: Error: selected processor does not support `veor.64 d0,d0,d30' in ARM mode
keccak.s: keccak.s:541: Error: selected processor does not support `veor.64 d2,d2,d30' in ARM mode
keccak.s: keccak.s:543: Error: selected processor does not support `veor.64 d4,d4,d30' in ARM mode
keccak.s: keccak.s:545: Error: selected processor does not support `veor.64 d6,d6,d30' in ARM mode
keccak.s: keccak.s:547: Error: selected processor does not support `veor.64 d8,d8,d30' in ARM mode
keccak.s: keccak.s:550: Error: selected processor does not support `veor.64 d1,d1,d30' in ARM mode
keccak.s: keccak.s:552: Error: selected processor does not support `veor.64 d3,d3,d30' in ARM mode
keccak.s: keccak.s:554: Error: selected processor does not support `veor.64 d5,d5,d30' in ARM mode
keccak.s: keccak.s:556: Error: selected processor does not support `veor.64 d7,d7,d30' in ARM mode
keccak.s: keccak.s:558: Error: selected processor does not support `veor.64 d9,d9,d30' in ARM mode
keccak.s: keccak.s:561: Error: selected processor does not support `veor.64 d10,d10,d30' in ARM mode
keccak.s: keccak.s:563: Error: selected processor does not support `veor.64 d12,d12,d30' in ARM mode
keccak.s: keccak.s:565: Error: selected processor does not support `veor.64 d14,d14,d30' in ARM mode
keccak.s: keccak.s:567: Error: selected processor does not support `veor.64 d16,d16,d30' in ARM mode
keccak.s: keccak.s:569: Error: selected processor does not support `veor.64 d18,d18,d30' in ARM mode
keccak.s: keccak.s:572: Error: selected processor does not support `veor.64 d11,d11,d30' in ARM mode
keccak.s: keccak.s:574: Error: selected processor does not support `veor.64 d13,d13,d30' in ARM mode
keccak.s: keccak.s:576: Error: selected processor does not support `veor.64 d15,d15,d30' in ARM mode
keccak.s: keccak.s:578: Error: selected processor does not support `veor.64 d17,d17,d30' in ARM mode
keccak.s: ...

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

Compiler output

Implementation: kcp/optimized1600ARMv8A
Security model: unknown
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
keccak.s: keccak.s:258:5: error: invalid instruction, did you mean: mov, movt, movw, vmov?
keccak.s: movi v0.2d, #0
keccak.s: ^
keccak.s: keccak.s:259:5: error: invalid instruction, did you mean: mov, movt, movw, vmov?
keccak.s: movi v1.2d, #0
keccak.s: ^
keccak.s: keccak.s:260:5: error: invalid instruction, did you mean: mov, movt, movw, vmov?
keccak.s: movi v2.2d, #0
keccak.s: ^
keccak.s: keccak.s:261:5: error: invalid instruction, did you mean: mov, movt, movw, vmov?
keccak.s: movi v3.2d, #0
keccak.s: ^
keccak.s: keccak.s:262:15: error: register expected
keccak.s: st4 { v0.2d, v1.2d, v2.2d, v3.2d }, [x0], #64 // Clear 8lanes=64 bytes at a time
keccak.s: ^
keccak.s: keccak.s:263:15: error: register expected
keccak.s: st4 { v0.2d, v1.2d, v2.2d, v3.2d }, [x0], #64
keccak.s: ^
keccak.s: keccak.s:264:15: error: register expected
keccak.s: st4 { v0.2d, v1.2d, v2.2d, v3.2d }, [x0], #64
keccak.s: ^
keccak.s: keccak.s:265:15: error: register expected
keccak.s: st1 { v0.d }[0], [x0], #8
keccak.s: ^
keccak.s: keccak.s:266:5: error: invalid instruction, did you mean: rev?
keccak.s: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE kcp/optimized1600ARMv8A

Compiler output

Implementation: kcp/optimized1600ARMv8A
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
keccak.s: keccak.s: Assembler messages:
keccak.s: keccak.s:258: Error: bad instruction `movi v0.2d,#0'
keccak.s: keccak.s:259: Error: bad instruction `movi v1.2d,#0'
keccak.s: keccak.s:260: Error: bad instruction `movi v2.2d,#0'
keccak.s: keccak.s:261: Error: bad instruction `movi v3.2d,#0'
keccak.s: keccak.s:262: Error: bad instruction `st4 { v0.2d,v1.2d,v2.2d,v3.2d },[x0],#64'
keccak.s: keccak.s:263: Error: bad instruction `st4 { v0.2d,v1.2d,v2.2d,v3.2d },[x0],#64'
keccak.s: keccak.s:264: Error: bad instruction `st4 { v0.2d,v1.2d,v2.2d,v3.2d },[x0],#64'
keccak.s: keccak.s:265: Error: bad instruction `st1 { v0.d }[0],[x0],#8'
keccak.s: keccak.s:266: Error: bad instruction `ret'
keccak.s: keccak.s:276: Error: ARM register expected -- `ldrb w3,[x0,x2]'
keccak.s: keccak.s:277: Error: ARM register expected -- `eor w3,w3,w1'
keccak.s: keccak.s:278: Error: ARM register expected -- `strb w3,[x0,x2]'
keccak.s: keccak.s:279: Error: bad instruction `ret'
keccak.s: keccak.s:289: Error: ARM register expected -- `add x0,x0,x2'
keccak.s: keccak.s:290: Error: ARM register expected -- `subs w4,w3,#1'
keccak.s: keccak.s:291: Error: unexpected character `c' in type specifier
keccak.s: keccak.s:291: Error: bad instruction `b.cc KeccakP1600_AddBytes_Exit'
keccak.s: keccak.s:293: Error: ARM register expected -- `subs w3,w3,#64'
keccak.s: keccak.s:294: Error: unexpected character `c' in type specifier
keccak.s: keccak.s:294: Error: bad instruction `b.cc KeccakP1600_AddBytes_Lanes'
keccak.s: keccak.s:295: Error: bad instruction `ld4 { v0.2d,v1.2d,v2.2d,v3.2d },[x0]'
keccak.s: keccak.s:296: Error: bad instruction `ld4 { v4.2d,v5.2d,v6.2d,v7.2d },[x1],#64'
keccak.s: keccak.s:297: Error: ARM register expected -- `eor v0.16b,v0.16b,v4.16b'
keccak.s: keccak.s:298: Error: bad arguments to instruction -- `eor v1.16b,v1.16b,v5.16b'
keccak.s: ...

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

Compiler output

Implementation: kcp/optimized1600AVX2
Security model: unknown
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
KeccakP-1600-AVX2.cpp: KeccakP-1600-AVX2.cpp:18:14: fatal error: x86intrin.h: No such file or directory
KeccakP-1600-AVX2.cpp: #include <x86intrin.h>
KeccakP-1600-AVX2.cpp: ^~~~~~~~~~~~~
KeccakP-1600-AVX2.cpp: compilation terminated.

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

Compiler output

Implementation: kcp/optimized1600AVX512
Security model: unknown
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
KeccakP-1600-AVX512.c: In file included from KeccakP-1600-AVX512.c:24:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/smmintrin.h:27:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/tmmintrin.h:27:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/pmmintrin.h:27:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/emmintrin.h:27:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/xmmintrin.h:27:
KeccakP-1600-AVX512.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:64:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
KeccakP-1600-AVX512.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
KeccakP-1600-AVX512.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakP-1600-AVX512.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:143:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
KeccakP-1600-AVX512.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
KeccakP-1600-AVX512.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakP-1600-AVX512.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:173:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
KeccakP-1600-AVX512.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
KeccakP-1600-AVX512.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakP-1600-AVX512.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:203:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
KeccakP-1600-AVX512.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
KeccakP-1600-AVX512.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakP-1600-AVX512.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:230:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
KeccakP-1600-AVX512.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
KeccakP-1600-AVX512.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakP-1600-AVX512.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:253:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
KeccakP-1600-AVX512.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
KeccakP-1600-AVX512.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakP-1600-AVX512.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:274:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
KeccakP-1600-AVX512.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE kcp/optimized1600AVX512

Compiler output

Implementation: kcp/optimized1600AVX512
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
KeccakP-1600-AVX512.c: KeccakP-1600-AVX512.c:24:10: fatal error: smmintrin.h: No such file or directory
KeccakP-1600-AVX512.c: #include <smmintrin.h>
KeccakP-1600-AVX512.c: ^~~~~~~~~~~~~
KeccakP-1600-AVX512.c: compilation terminated.

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