Implementation notes: amd64, icelake2, crypto_aead/xoodyakv1

Computer: icelake2
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20221005
Operation: crypto_aead
Primitive: xoodyakv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2884920841 0 036090 772 1088T:xkcp/AVX512clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
2893920273 0 035450 772 1056T:xkcp/AVX512clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
2894717560 0 031298 764 1088T:xkcp/AVX512gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
2896617809 0 029714 772 1024T:xkcp/AVX512clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
2916119856 0 035402 764 1088T:xkcp/AVX512gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
2916417007 0 030394 764 1088T:xkcp/AVX512gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
2949317268 0 029964 764 1088T:xkcp/AVX512clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
3036716441 0 028513 740 1056T:xkcp/AVX512gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
3412119177 0 033306 772 1056T:xkcp/SSE2clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
3446517626 0 029284 764 1088T:xkcp/SSE2clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
3459819713 0 033914 772 1088T:xkcp/SSE2clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
3463618073 0 028930 772 1024T:xkcp/SSE2clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
3968220266 0 035802 764 1088T:xkcp/SSE2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
4025419474 0 033202 764 1088T:xkcp/SSE2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
4083917751 0 029809 740 1056T:xkcp/SSE2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
4108418244 0 031610 764 1088T:xkcp/SSE2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
586766667 0 023554 780 1056T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
7079311793 0 025426 780 1024T:xkcp/plain-uaclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
7430713105 0 028954 772 1088T:xkcp/plain-uagcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
7495313870 0 030738 780 1088T:xkcp/plain-uaclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
7519512297 0 026338 772 1088T:xkcp/plain-uagcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
7531211750 0 026060 772 1088T:xkcp/plain-uaclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
7537713334 0 030130 780 1056T:xkcp/plain-uaclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
786167051 0 024010 780 1088T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
8168810822 0 023177 748 1056T:xkcp/plain-uagcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
8352912543 0 026202 772 1088T:xkcp/plain-uagcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
8800712665 0 028394 780 1024T:xkcp/plain-uaclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
908546830 0 022522 780 1024T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
3139738813 0 024682 772 1088T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
4116115076 0 019130 772 1088T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
4133974876 0 019276 772 1088T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
5135575318 0 018914 780 1024T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
6111164267 0 016641 748 1056T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
6173665027 0 018666 772 1088T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
220101644462 176 14064941 1196 1248T:refcppclang++_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
226101643052 176 14063461 1196 1184T:refcppclang++_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
316156448665 176 12669555 1764 1280T:refcppg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
342470932675 176 14050938 1204 1248T:refcppclang++_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
358954139276 200 14056470 1220 1184T:refcppclang++_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100420220506
379080639802 176 12659109 1772 1280T:refcppg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
448575132764 176 12650957 1764 1280T:refcppg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506
496455827960 176 12645053 1244 1248T:refcppg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100420220506

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 -mcpu=native -O3 -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/lib64/clang/14.0.5/include/avx512vlintrin.h:6529:13: 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/lib64/clang/14.0.5/include/avx512vlintrin.h:4301:13: 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: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -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