Implementation notes: amd64, zen3, crypto_aead/xoodyakv1

Computer: zen3
Architecture: amd64
CPU ID: AuthenticAMD-00a20f10-178bfbff
SUPERCOP version: 20211108
Operation: crypto_aead
Primitive: xoodyakv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
5291023625 0 043880 860 1048T:xkcp/SSE2clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
5295523991 0 044008 860 1048T:xkcp/SSE2clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
5301219864 0 031830 852 1016T:xkcp/SSE2clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
5457320367 0 032592 860 1016T:xkcp/SSE2clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
5542918989 0 035672 836 1080T:xkcp/SSE2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
5552118197 0 032968 836 1080T:xkcp/SSE2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
5554117081 0 031328 836 1080T:xkcp/SSE2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
5564916748 0 029751 812 1048T:xkcp/SSE2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
6085212087 0 027100 868 1016T:xkcp/plain-uaclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
6087916130 0 038860 868 1048T:xkcp/plain-uaclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
6111211702 0 026362 860 1016T:xkcp/plain-uaclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
6124612369 0 026944 844 1080T:xkcp/plain-uagcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
6135415748 0 038716 868 1048T:xkcp/plain-uaclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
6288612632 0 027712 844 1080T:xkcp/plain-uagcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
6362813866 0 030896 844 1080T:xkcp/plain-uagcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
6413711742 0 025031 820 1048T:xkcp/plain-uagcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
6713113003 0 030756 868 1016T:xkcp/plain-uaclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
6780110780 0 033780 868 1048T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
7216711082 0 033844 868 1048T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
770817502 0 025220 868 1016T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
2476399250 0 026280 844 1080T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
4202335027 0 019770 860 1016T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
5084125482 0 020552 844 1080T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
5244666477 0 021444 868 1016T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
5501225321 0 019880 844 1080T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
6843084551 0 017879 820 1048T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
322494949118 176 14075745 1276 1176T:refcppclang++_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
333753155857 176 12677480 1812 1272T:refcppg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
340035947084 176 14073953 1276 1176T:refcppclang++_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
359804040783 200 14059886 1300 1176T:refcppclang++_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
359881234371 176 14053576 1292 1176T:refcppclang++_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022020620211108
403290645885 176 12665721 1820 1272T:refcppg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
488990335300 176 12654475 1828 1272T:refcppg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
513440829958 176 12648119 1308 1240T:refcppg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108

Compiler output

Implementation: T:xkcp/AVR8
Security model: timingleaks
Compiler: clang -march=native -O2 -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: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:xkcp/AVR8
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:xkcp/AVR8
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:xkcp/AVR8
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:xkcp/AVR8
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: no such instruction: `the eXtended Keccak Code Package (XKCP)'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:5: Error: no such instruction: `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: no such instruction: `implementation by Ronny Van Keer,hereby denoted as "the implementer".'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:9: Error: no such instruction: `for more information,feedback or questions,please refer to the Keccak Team website:'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:12: Error: no such instruction: `to the extent possible under law,the implementer has waived all copyright'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:13: Error: junk `or neighboring rights to the source code in this file.' after expression
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:13: Error: number of operands mismatch for `and'
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: no such instruction: `this file implements Xoodoo in a SnP-compatible way.'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:19: Error: no such instruction: `please refer to SnP-documentation.h for more details.'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:21: Error: no such instruction: `this implementation comes with Xoodoo-SnP.h in the same folder.'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:22: Error: no such instruction: `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: no such instruction: `tested on ATmega1280 simulator'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:27: Error: no such instruction: `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: no such instruction: `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: no such instruction: `void Xoodoo_Initialize(void *state)'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:45: Error: no such instruction: `argument state is passed in r24:r25'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:49: Error: too many memory references for `mov'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:50: Error: no such instruction: `ldi r23,3*4/2'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:50: Error: no such instruction: `clear state (8 bytes/2 lanes)per iteration'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:52: Error: no such instruction: `st z+,zero'
Xoodoo-avr8-u1.s: Xoodoo-avr8-u1.s:53: Error: no such instruction: `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 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:379:9: error: '__builtin_ia32_pternlogd128_mask' needs target feature avx512vl
Xoodoo-SIMD512.c: Round(RC[i]);
Xoodoo-SIMD512.c: ^
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:328:29: note: expanded from macro 'Round'
Xoodoo-SIMD512.c: p = XOR3( a0, a1, a2 ); \
Xoodoo-SIMD512.c: ^
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:311:33: note: expanded from macro 'XOR3'
Xoodoo-SIMD512.c: #define XOR3(a,b,c) _mm_ternarylogic_epi32(a,b,c,0x96)
Xoodoo-SIMD512.c: ^
Xoodoo-SIMD512.c: /usr/lib/clang/13.0.0/include/avx512vlintrin.h:6529:12: note: expanded from macro '_mm_ternarylogic_epi32'
Xoodoo-SIMD512.c: (__m128i)__builtin_ia32_pternlogd128_mask((__v4si)(__m128i)(A), \
Xoodoo-SIMD512.c: ^
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:379:9: error: '__builtin_ia32_prold128' needs target feature avx512vl
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:330:29: note: expanded from macro 'Round'
Xoodoo-SIMD512.c: e = ROL32( p, 5 ); \
Xoodoo-SIMD512.c: ^
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:305:33: note: expanded from macro 'ROL32'
Xoodoo-SIMD512.c: #define ROL32(a, o) _mm_rol_epi32(a, o)
Xoodoo-SIMD512.c: ^
Xoodoo-SIMD512.c: /usr/lib/clang/13.0.0/include/avx512vlintrin.h:4301:12: note: expanded from macro '_mm_rol_epi32'
Xoodoo-SIMD512.c: (__m128i)__builtin_ia32_prold128((__v4si)(__m128i)(a), (int)(b))
Xoodoo-SIMD512.c: ^
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:379:9: error: '__builtin_ia32_prold128' needs target feature avx512vl
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:331:29: note: expanded from macro 'Round'
Xoodoo-SIMD512.c: p = ROL32( p, 14 ); \
Xoodoo-SIMD512.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:xkcp/AVX512
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:xkcp/AVX512
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:xkcp/AVX512
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:xkcp/AVX512
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: In function ‘Xoofff_AddIs’:
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:429:16: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
Xoodoo-SIMD512.c: 429 | lanes1 = LOAD512u(input[ 0]);
Xoodoo-SIMD512.c: | ^
Xoodoo-SIMD512.c: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/immintrin.h:57,
Xoodoo-SIMD512.c: from Xoodoo-SIMD512.c:24:
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c: In function ‘Xoodoo_Permute_Nrounds’:
Xoodoo-SIMD512.c: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/avx512vlintrin.h:11579:1: error: inlining failed in call to ‘always_inline’ ‘_mm_rol_epi32’: target specific option mismatch
Xoodoo-SIMD512.c: 11579 | _mm_rol_epi32 (__m128i __A, const int __B)
Xoodoo-SIMD512.c: | ^~~~~~~~~~~~~
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:305:33: note: called from here
Xoodoo-SIMD512.c: 305 | #define ROL32(a, o) _mm_rol_epi32(a, o)
Xoodoo-SIMD512.c: | ^~~~~~~~~~~~~~~~~~~
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:353:30: note: in expansion of macro ‘ROL32’
Xoodoo-SIMD512.c: 353 | a1 = ROL32(a1, 1); \
Xoodoo-SIMD512.c: | ^~~~~
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:379:9: note: in expansion of macro ‘Round’
Xoodoo-SIMD512.c: 379 | Round(RC[i]);
Xoodoo-SIMD512.c: | ^~~~~
Xoodoo-SIMD512.c: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/immintrin.h:57,
Xoodoo-SIMD512.c: from Xoodoo-SIMD512.c:24:
Xoodoo-SIMD512.c: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/avx512vlintrin.h:10681:1: error: inlining failed in call to ‘always_inline’ ‘_mm_ternarylogic_epi32’: target specific option mismatch
Xoodoo-SIMD512.c: 10681 | _mm_ternarylogic_epi32 (__m128i __A, __m128i __B, __m128i __C,
Xoodoo-SIMD512.c: | ^~~~~~~~~~~~~~~~~~~~~~
Xoodoo-SIMD512.c: Xoodoo-SIMD512.c:312:33: note: called from here
Xoodoo-SIMD512.c: ...

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: Xoodoo-SIMD128.c:288:9: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'Xoodoo_Permute_Nrounds' that is compiled without support for 'ssse3'
Xoodoo-SIMD128.c: Round(RC[i]);
Xoodoo-SIMD128.c: ^
Xoodoo-SIMD128.c: Xoodoo-SIMD128.c:263:25: note: expanded from macro 'Round'
Xoodoo-SIMD128.c: Rho_east(); \
Xoodoo-SIMD128.c: ^
Xoodoo-SIMD128.c: Xoodoo-SIMD128.c:251:30: note: expanded from macro 'Rho_east'
Xoodoo-SIMD128.c: a2 = _mm_shuffle_epi8( a2, rhoEast2);
Xoodoo-SIMD128.c: ^
Xoodoo-SIMD128.c: 1 error generated.

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