Implementation notes: amd64, dali, crypto_aead/isapk128av20

Computer: dali
Microarchitecture: amd64; Zen (820f01)
Architecture: amd64
CPU ID: AuthenticAMD-00820f01-178bfbff
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: isapk128av20
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
380351151650 0 0166168 780 1080T:opt_64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
380941152575 0 0168096 780 1080T:opt_64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
403851162565 0 0176663 772 1080T:opt_64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
437227174215 0 0190280 812 1048T:opt_64clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
438467174180 0 0187742 804 1016T:opt_64clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
439582174199 0 0190136 812 1048T:opt_64clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
441204174488 0 0188342 804 1016T:opt_64clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
533989195069 0 0211416 812 1016T:opt_64clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
570327137875 0 0150803 756 1048T:opt_64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
7041115797 0 022316 820 1016T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
10041895353 0 021452 820 1048T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
10138755353 0 021580 820 1048T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
12541635312 0 020984 788 1080T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
37113624330 0 019016 788 1080T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
40020024579 0 018642 812 1016T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
66466964403 0 018671 780 1080T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
75900774448 0 018170 812 1016T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
104912523448 0 016531 764 1048T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212

Compiler output

Implementation: T:avx512
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
isap.c: isap.c:105:5: error: always_inline function '_mm512_set_epi32' requires target feature 'avx512f', but would be inlined into function 'isap_rk' that is compiled without support for 'avx512f'
isap.c: declareABCDEX
isap.c: ^
isap.c: ./KeccakP-400-64.macros:42:21: note: expanded from macro 'declareABCDEX'
isap.c: __m512i pchi1 = _mm512_set_epi32(0, 0, 0, 0x000014, 0x180017, 0x160015, 0x0f0013, 0x120011, 0x10000a, 0xe000d, 0xc000b, 0x50009, 0x80007, 0x60000, 0x40003, 0x20001); \
isap.c: ^
isap.c: isap.c:105:5: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'avx512f' enabled changes the ABI
isap.c: ./KeccakP-400-64.macros:42:21: note: expanded from macro 'declareABCDEX'
isap.c: __m512i pchi1 = _mm512_set_epi32(0, 0, 0, 0x000014, 0x180017, 0x160015, 0x0f0013, 0x120011, 0x10000a, 0xe000d, 0xc000b, 0x50009, 0x80007, 0x60000, 0x40003, 0x20001); \
isap.c: ^
isap.c: isap.c:105:5: error: always_inline function '_mm512_set_epi32' requires target feature 'avx512f', but would be inlined into function 'isap_rk' that is compiled without support for 'avx512f'
isap.c: ./KeccakP-400-64.macros:43:21: note: expanded from macro 'declareABCDEX'
isap.c: __m512i pchi2 = _mm512_set_epi32(0, 0, 0, 0x000015, 0x140018, 0x170016, 0x10000f, 0x130012, 0x11000b, 0xa000e, 0xd000c, 0x60005, 0x90008, 0x70001, 0x00004, 0x30002); \
isap.c: ^
isap.c: isap.c:105:5: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'avx512f' enabled changes the ABI
isap.c: ./KeccakP-400-64.macros:43:21: note: expanded from macro 'declareABCDEX'
isap.c: __m512i pchi2 = _mm512_set_epi32(0, 0, 0, 0x000015, 0x140018, 0x170016, 0x10000f, 0x130012, 0x11000b, 0xa000e, 0xd000c, 0x60005, 0x90008, 0x70001, 0x00004, 0x30002); \
isap.c: ^
isap.c: isap.c:105:5: error: always_inline function '_mm512_set_epi32' requires target feature 'avx512f', but would be inlined into function 'isap_rk' that is compiled without support for 'avx512f'
isap.c: ./KeccakP-400-64.macros:44:19: note: expanded from macro 'declareABCDEX'
isap.c: __m512i ppi = _mm512_set_epi32(0, 0, 0, 0x0015, 0xf000e, 0x80002, 0x170011, 0xb0005, 0x40014, 0x13000d, 0x70001, 0x160010, 0xa0009, 0x30018, 0x12000c, 0x60000); \
isap.c: ^
isap.c: isap.c:105:5: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'avx512f' enabled changes the ABI
isap.c: ./KeccakP-400-64.macros:44:19: note: expanded from macro 'declareABCDEX'
isap.c: __m512i ppi = _mm512_set_epi32(0, 0, 0, 0x0015, 0xf000e, 0x80002, 0x170011, 0xb0005, 0x40014, 0x13000d, 0x70001, 0x160010, 0xa0009, 0x30018, 0x12000c, 0x60000); \
isap.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx512
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx512
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx512
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx512
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx512

Compiler output

Implementation: T:avx512
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
isap.c: In file included from isap.c:6:
isap.c: isap.c: In function 'isap_rk':
isap.c: KeccakP-400-64.macros:42:13: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
isap.c: 42 | __m512i pchi1 = _mm512_set_epi32(0, 0, 0, 0x000014, 0x180017, 0x160015, 0x0f0013, 0x120011, 0x10000a, 0xe000d, 0xc000b, 0x50009, 0x80007, 0x60000, 0x40003, 0x20001); \
isap.c: | ^~~~~
isap.c: isap.c:105:5: note: in expansion of macro 'declareABCDEX'
isap.c: 105 | declareABCDEX
isap.c: | ^~~~~~~~~~~~~
isap.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:55,
isap.c: from isap.c:3:
isap.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/avx512fintrin.h:7478:1: error: inlining failed in call to 'always_inline' '_mm512_xor_epi64': target specific option mismatch
isap.c: 7478 | _mm512_xor_epi64 (__m512i __A, __m512i __B)
isap.c: | ^~~~~~~~~~~~~~~~
isap.c: In file included from isap.c:6:
isap.c: KeccakP-400-64.macros:76:11: note: called from here
isap.c: 76 | E.S = _mm512_xor_epi64 (E.S, _mm512_set_epi64(0,0,0,0,0,0,0,KeccakF400RoundConstants[i])); \
isap.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
isap.c: KeccakP-400-unrolling.macros:63:5: note: in expansion of macro 'thetaRhoPiChiIota'
isap.c: 63 | thetaRhoPiChiIota(19, E, S) \
isap.c: | ^~~~~~~~~~~~~~~~~
isap.c: isap.c:56:25: note: in expansion of macro 'rounds8X'
isap.c: 56 | #define PermuteRoundsKX rounds8X
isap.c: | ^~~~~~~~
isap.c: isap.c:131:5: note: in expansion of macro 'PermuteRoundsKX'
isap.c: 131 | PermuteRoundsKX;
isap.c: ...

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