Implementation notes: armeabi, tinker, crypto_hash/sha3224

Computer: tinker
Microarchitecture: armeabi; Cortex-A17 (410fc0d1)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_hash
Primitive: sha3224
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
61245184 0 011197 440 752opensslclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012820240107
61310100 0 07131 412 744opensslgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
61362128 0 08411 420 752opensslgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
61403128 0 09147 420 752opensslgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
61432136 0 08226 416 744opensslgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
631942696 0 022141 384 752oncore32bitsgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
651171524 0 022830 412 752oncore32bitsclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012820240107
659791024 0 018513 376 744oncore32bitsgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
671981274 0 019841 384 744oncore32bitsgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
695541220 0 019837 384 752oncore32bitsgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
79381796 0 055181 384 752oncore64bitsgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
79528532 0 053661 376 744oncore64bitsgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
79590728 0 054961 384 744oncore64bitsgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
79739972 0 058062 412 752oncore64bitsclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012820240107

Test failure

Implementation: kcp/optimized1600ARMv7A
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111

Number of similar (compiler,implementation) pairs: 5, 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
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE oncore64bits

Compiler output

Implementation: kcp/optimized1600ARMv7A
Security model: constbranchindex
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
keccak.s: keccak.s:638:6: error: expected absolute expression
keccak.s: .if FastLoop != 0
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: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: warning: keccak.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

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: constbranchindex
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: constbranchindex
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: constbranchindex
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
KeccakP-1600-AVX2.c: In file included from KeccakP-1600-AVX2.c:20:
KeccakP-1600-AVX2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/x86intrin.h:15:
KeccakP-1600-AVX2.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX2.c: #error "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX2.c: ^
KeccakP-1600-AVX2.c: In file included from KeccakP-1600-AVX2.c:20:
KeccakP-1600-AVX2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/x86intrin.h:15:
KeccakP-1600-AVX2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/immintrin.h:17:
KeccakP-1600-AVX2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/x86gprintrin.h:15:
KeccakP-1600-AVX2.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/hresetintrin.h:42:27: error: invalid input constraint 'a' in asm
KeccakP-1600-AVX2.c: __asm__ ("hreset $0" :: "a"(__eax));
KeccakP-1600-AVX2.c: ^
KeccakP-1600-AVX2.c: In file included from KeccakP-1600-AVX2.c:20:
KeccakP-1600-AVX2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/x86intrin.h:15:
KeccakP-1600-AVX2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/immintrin.h:21:
KeccakP-1600-AVX2.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX2.c: #error "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX2.c: ^
KeccakP-1600-AVX2.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:54:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
KeccakP-1600-AVX2.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
KeccakP-1600-AVX2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakP-1600-AVX2.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:133:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
KeccakP-1600-AVX2.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
KeccakP-1600-AVX2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakP-1600-AVX2.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:163:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
KeccakP-1600-AVX2.c: ...

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

Compiler output

Implementation: kcp/optimized1600AVX2
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
KeccakP-1600-AVX2.c: KeccakP-1600-AVX2.c:20:14: fatal error: x86intrin.h: No such file or directory
KeccakP-1600-AVX2.c: 20 | #include <x86intrin.h>
KeccakP-1600-AVX2.c: | ^~~~~~~~~~~~~
KeccakP-1600-AVX2.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/optimized1600AVX2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE kcp/optimized1600AVX2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE kcp/optimized1600AVX2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE kcp/optimized1600AVX2

Compiler output

Implementation: kcp/optimized1600AVX512
Security model: constbranchindex
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: /usr/lib/llvm-14/lib/clang/14.0.6/include/smmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX512.c: #error "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX512.c: ^
KeccakP-1600-AVX512.c: In file included from KeccakP-1600-AVX512.c:24:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/smmintrin.h:17:
KeccakP-1600-AVX512.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/tmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX512.c: #error "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX512.c: ^
KeccakP-1600-AVX512.c: In file included from KeccakP-1600-AVX512.c:24:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/smmintrin.h:17:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/tmmintrin.h:17:
KeccakP-1600-AVX512.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/pmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX512.c: #error "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX512.c: ^
KeccakP-1600-AVX512.c: In file included from KeccakP-1600-AVX512.c:24:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/smmintrin.h:17:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/tmmintrin.h:17:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/pmmintrin.h:17:
KeccakP-1600-AVX512.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX512.c: #error "This header is only meant to be used on x86 and x64 architecture"
KeccakP-1600-AVX512.c: ^
KeccakP-1600-AVX512.c: In file included from KeccakP-1600-AVX512.c:24:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/smmintrin.h:17:
KeccakP-1600-AVX512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/tmmintrin.h:17:
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: constbranchindex
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: 24 | #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

Compiler output

Implementation: oncore32bits
Security model: constbranchindex
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/arm-linux-gnueabihf-ld: warning: crypto_core_keccakf160032bits_inplace1600ARMv7M_constbranchindex-KeccakP-1600.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/arm-linux-gnueabihf-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
try.c: /usr/bin/arm-linux-gnueabihf-ld: warning: crypto_core_keccakf160032bits_inplace1600ARMv7M_constbranchindex-KeccakP-1600.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/arm-linux-gnueabihf-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
measure.c: /usr/bin/arm-linux-gnueabihf-ld: warning: crypto_core_keccakf160032bits_inplace1600ARMv7M_constbranchindex-KeccakP-1600.o: missing .note.GNU-stack section implies executable stack
measure.c: /usr/bin/arm-linux-gnueabihf-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

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

Compiler output

Implementation: oncore32bits
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: warning: crypto_core_keccakf160032bits_inplace1600ARMv7M_constbranchindex-KeccakP-1600.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
try.c: /usr/bin/ld: warning: crypto_core_keccakf160032bits_inplace1600ARMv7M_constbranchindex-KeccakP-1600.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
measure.c: /usr/bin/ld: warning: crypto_core_keccakf160032bits_inplace1600ARMv7M_constbranchindex-KeccakP-1600.o: missing .note.GNU-stack section implies executable stack
measure.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

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