Implementation notes: aarch64, pi4b, crypto_aead/xoodyakv1

Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: xoodyakv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
8978610694 0 022163 816 840T:xkcp/plain-uagcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222
9062811887 0 026274 848 856T:xkcp/plain-uaclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122520231222
9462211668 0 024147 832 848T:xkcp/plain-uagcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222
9526112188 0 029723 832 864T:xkcp/plain-uagcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222
10157611708 0 024291 832 848T:xkcp/plain-uagcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222
1053446404 0 020786 848 856T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122520231222
2391046620 0 020051 832 864T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222
7951775360 0 017811 832 848T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222
8658724801 0 016259 816 840T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222
8899235248 0 017819 832 848T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222
678921448663 176 12666676 1304 1024T:refcppg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222
805870639768 176 12656962 1312 1008T:refcppg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222
934823535562 176 12652812 1320 1008T:refcppg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222
953622130850 176 12647163 1280 976T:refcppg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122520231222

Compiler output

Implementation: T:xkcp/AVR8
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:2:16: error: unexpected token in argument list
Xoodoo-avr8-u1.s: ; The eXtended Keccak Code Package (XKCP)
Xoodoo-avr8-u1.s: ^
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:5:14: error: unexpected token in argument list
Xoodoo-avr8-u1.s: ; The Xoodoo permutation, designed by Joan Daemen, Seth Hoffert, Gilles Van Assche and Ronny Van Keer.
Xoodoo-avr8-u1.s: ^
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:7:21: error: unexpected token in argument list
Xoodoo-avr8-u1.s: ; Implementation by Ronny Van Keer, hereby denoted as "the implementer".
Xoodoo-avr8-u1.s: ^
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:9:12: error: unexpected token in argument list
Xoodoo-avr8-u1.s: ; For more information, feedback or questions, please refer to the Keccak Team website:
Xoodoo-avr8-u1.s: ^
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:10:3: error: symbol 'https' is already defined
Xoodoo-avr8-u1.s: ; https://keccak.team/
Xoodoo-avr8-u1.s: ^
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:12:10: error: unexpected token in argument list
Xoodoo-avr8-u1.s: ; To the extent possible under law, the implementer has waived all copyright
Xoodoo-avr8-u1.s: ^
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:13:15: error: unexpected token in argument list
Xoodoo-avr8-u1.s: ; and related or neighboring rights to the source code in this file.
Xoodoo-avr8-u1.s: ^
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:16:3: error: unexpected token at start of statement
Xoodoo-avr8-u1.s: ; ---
Xoodoo-avr8-u1.s: ^
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:18:13: error: unexpected token in argument list
Xoodoo-avr8-u1.s: ...

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

Compiler output

Implementation: T:xkcp/AVR8
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s: Assembler messages:
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:2: Error: unknown mnemonic `the' -- `the eXtended Keccak Code Package(XKCP)'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:5: Error: unknown mnemonic `the' -- `the Xoodoo permutation,designed by Joan Daemen,Seth Hoffert,Gilles Van Assche and Ronny Van Keer.'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:7: Error: unknown mnemonic `implementation' -- `implementation by Ronny Van Keer,hereby denoted as "the implementer".'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:9: Error: unknown mnemonic `for' -- `for more information,feedback or questions,please refer to the Keccak Team website:'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:12: Error: unknown mnemonic `to' -- `to the extent possible under law,the implementer has waived all copyright'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:13: Error: operand 1 must be an integer or stack pointer register -- `and related or neighboring rights to the source code in this file.'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:16: Error: junk at end of line, first unrecognized character is `-'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:18: Error: unknown mnemonic `this' -- `this file implements Xoodoo in a SnP-compatible way.'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:19: Error: unknown mnemonic `please' -- `please refer to SnP-documentation.h for more details.'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:21: Error: unknown mnemonic `this' -- `this implementation comes with Xoodoo-SnP.h in the same folder.'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:22: Error: unknown mnemonic `please' -- `please refer to LowLevel.build for the exact list of other files it must be combined with.'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:25: Error: unknown mnemonic `tested' -- `tested on ATmega1280 simulator'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:27: Error: unknown mnemonic `registers' -- `registers used in all routines'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:35: Error: junk at end of line, first unrecognized character is `-'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:37: Error: unknown mnemonic `void' -- `void Xoodoo_StaticInitialize(void)'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:41: Error: junk at end of line, first unrecognized character is `-'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:43: Error: unknown mnemonic `void' -- `void Xoodoo_Initialize(void*state)'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:45: Error: unknown mnemonic `argument' -- `argument state is passed in r24:r25'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:49: Error: unknown mnemonic `movw' -- `movw rZ,r24'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:50: Error: unknown mnemonic `ldi' -- `ldi r23,3*4/2'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:50: Error: unknown mnemonic `clear' -- `clear state(8 bytes/2 lanes)per iteration'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:52: Error: unknown mnemonic `st' -- `st z+,zero'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:53: Error: unknown mnemonic `st' -- `st z+,zero'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:54: Error: unknown mnemonic `st' -- `st z+,zero'
Xoodoo-avr8-u1.s: ...

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

Compiler output

Implementation: T:xkcp/AVX512
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
Xoodoo-SIMD512.c: In file included from Xoodoo-SIMD512.c:22:
Xoodoo-SIMD512.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/smmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD512.c: #error "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD512.c: ^
Xoodoo-SIMD512.c: In file included from Xoodoo-SIMD512.c:22:
Xoodoo-SIMD512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/smmintrin.h:17:
Xoodoo-SIMD512.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/tmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD512.c: #error "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD512.c: ^
Xoodoo-SIMD512.c: In file included from Xoodoo-SIMD512.c:22:
Xoodoo-SIMD512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/smmintrin.h:17:
Xoodoo-SIMD512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/tmmintrin.h:17:
Xoodoo-SIMD512.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/pmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD512.c: #error "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD512.c: ^
Xoodoo-SIMD512.c: In file included from Xoodoo-SIMD512.c:22:
Xoodoo-SIMD512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/smmintrin.h:17:
Xoodoo-SIMD512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/tmmintrin.h:17:
Xoodoo-SIMD512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/pmmintrin.h:17:
Xoodoo-SIMD512.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD512.c: #error "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD512.c: ^
Xoodoo-SIMD512.c: In file included from Xoodoo-SIMD512.c:22:
Xoodoo-SIMD512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/smmintrin.h:17:
Xoodoo-SIMD512.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/tmmintrin.h:17:
Xoodoo-SIMD512.c: ...

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

Compiler output

Implementation: T:xkcp/AVX512
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:22:10: fatal error: smmintrin.h: No such file or directory
Xoodoo-SIMD512.c: 22 | #include <smmintrin.h>
Xoodoo-SIMD512.c: | ^~~~~~~~~~~~~
Xoodoo-SIMD512.c: compilation terminated.

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

Compiler output

Implementation: T:xkcp/SSE2
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
Xoodoo-SIMD128.c: In file included from Xoodoo-SIMD128.c:22:
Xoodoo-SIMD128.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD128.c: #error "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD128.c: ^
Xoodoo-SIMD128.c: In file included from Xoodoo-SIMD128.c:22:
Xoodoo-SIMD128.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:17:
Xoodoo-SIMD128.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD128.c: #error "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD128.c: ^
Xoodoo-SIMD128.c: In file included from Xoodoo-SIMD128.c:22:
Xoodoo-SIMD128.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:17:
Xoodoo-SIMD128.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/xmmintrin.h:17:
Xoodoo-SIMD128.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD128.c: #error "This header is only meant to be used on x86 and x64 architecture"
Xoodoo-SIMD128.c: ^
Xoodoo-SIMD128.c: /usr/lib/llvm-14/lib/clang/14.0.0/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
Xoodoo-SIMD128.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
Xoodoo-SIMD128.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xoodoo-SIMD128.c: /usr/lib/llvm-14/lib/clang/14.0.0/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
Xoodoo-SIMD128.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
Xoodoo-SIMD128.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xoodoo-SIMD128.c: /usr/lib/llvm-14/lib/clang/14.0.0/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
Xoodoo-SIMD128.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
Xoodoo-SIMD128.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xoodoo-SIMD128.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:193:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
Xoodoo-SIMD128.c: ...

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

Compiler output

Implementation: T:xkcp/SSE2
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
Xoodoo-SIMD128.c: Xoodoo-SIMD128.c:22:10: fatal error: emmintrin.h: No such file or directory
Xoodoo-SIMD128.c: 22 | #include <emmintrin.h>
Xoodoo-SIMD128.c: | ^~~~~~~~~~~~~
Xoodoo-SIMD128.c: compilation terminated.

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