Implementation notes: amd64, spawn, crypto_aead/xoodyakv1

Computer: spawn
Microarchitecture: amd64; Zen 3 (a20f10)
Architecture: amd64
CPU ID: AuthenticAMD-00a20f10-178bfbff
SUPERCOP version: 20231215
Operation: crypto_aead
Primitive: xoodyakv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4669418885 0 035645 784 928T:xkcp/SSE2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
4702717125 0 031461 784 928T:xkcp/SSE2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
4739716831 0 029848 760 896T:xkcp/SSE2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
4747118133 0 032981 784 928T:xkcp/SSE2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
5224412332 0 027013 792 928T:xkcp/plain-uagcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
5268812616 0 027805 792 928T:xkcp/plain-uagcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
5342811825 0 025160 768 896T:xkcp/plain-uagcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
5376113858 0 030981 792 928T:xkcp/plain-uagcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
1968039046 0 026157 792 928T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
4284235458 0 020605 792 928T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
4805565261 0 019901 792 928T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
5783104618 0 017968 768 896T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
317918855848 176 12678206 1752 1104T:refcppg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
346908345730 176 12666364 1760 1104T:refcppg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
424626836319 176 12656025 1768 1104T:refcppg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215
466063131024 176 12649674 1248 1072T:refcppg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121720231215

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: 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-linux-gnu/11/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-linux-gnu/11/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-linux-gnu/11/include/immintrin.h:57,
Xoodoo-SIMD512.c: from Xoodoo-SIMD512.c:24:
Xoodoo-SIMD512.c: /usr/lib/gcc/x86_64-linux-gnu/11/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