Implementation notes: amd64, icelake2, crypto_stream/cryptmtv3

Computer: icelake2
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20221005
Operation: crypto_stream
Primitive: cryptmtv3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
631012244 4 426986 768 1056T:e/v3gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100320220506
63978978 4 421866 768 1056T:e/v3gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100320220506
651710043 4 124290 776 960T:e/v3clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100320220506
657610016 4 422434 768 1056T:e/v3gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100320220506
96219913 4 122202 776 960T:e/v3clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100320220506
969210754 4 126314 776 1024T:e/v3clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100320220506
972110754 4 126242 776 992T:e/v3clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100320220506
97309205 4 122324 768 1024T:e/v3clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100320220506

Compiler output

Implementation: T:e/v3
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cryptmt-v3.c: In file included from cryptmt-v3.c:1:
cryptmt-v3.c: ./e/cryptmt-v3.c:187:2: warning: array index 156 is past the end of the array (which contains 156 elements) [-Warray-bounds]
cryptmt-v3.c: ps->sfmt[N][i] = ps->sfmt[0][i];
cryptmt-v3.c: ^ ~
cryptmt-v3.c: ./e/cryptmt-v3.c:25:5: note: array 'sfmt' declared here
cryptmt-v3.c: u32 sfmt[N][4];
cryptmt-v3.c: ^
cryptmt-v3.c: ./e/cryptmt-v3.c:189:18: warning: array index 156 is past the end of the array (which contains 156 elements) [-Warray-bounds]
cryptmt-v3.c: do_recursion(ps->sfmt[N], ps->sfmt[POS1], ps->sfmt[N - 1]);
cryptmt-v3.c: ^ ~
cryptmt-v3.c: ./e/cryptmt-v3.c:25:5: note: array 'sfmt' declared here
cryptmt-v3.c: u32 sfmt[N][4];
cryptmt-v3.c: ^
cryptmt-v3.c: 2 warnings generated.

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

Compiler output

Implementation: T:e/v3
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
cryptmt-v3.c: In file included from cryptmt-v3.c:1:
cryptmt-v3.c: e/cryptmt-v3.c: In function 'genrand_block_first':
cryptmt-v3.c: e/cryptmt-v3.c:189:5: warning: 'do_recursion' accessing 16 bytes in a region of size 0 [-Wstringop-overflow=]
cryptmt-v3.c: 189 | do_recursion(ps->sfmt[N], ps->sfmt[POS1], ps->sfmt[N - 1]);
cryptmt-v3.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cryptmt-v3.c: e/cryptmt-v3.c:189:5: note: referencing argument 1 of type 'u32[4]' {aka 'unsigned int[4]'}
cryptmt-v3.c: e/cryptmt-v3.c:189:5: note: referencing argument 2 of type 'const u32[4]' {aka 'const unsigned int[4]'}
cryptmt-v3.c: e/cryptmt-v3.c:189:5: note: referencing argument 3 of type 'const u32[4]' {aka 'const unsigned int[4]'}
cryptmt-v3.c: e/cryptmt-v3.c:126:20: note: in a call to function 'do_recursion'
cryptmt-v3.c: 126 | static INLINE void do_recursion(u32 a[4], const u32 b[4], const u32 c[4]) {
cryptmt-v3.c: | ^~~~~~~~~~~~

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

Compiler output

Implementation: T:e/v3
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
cryptmt-v3.c: In file included from cryptmt-v3.c:1:
cryptmt-v3.c: e/cryptmt-v3.c: In function 'genrand_block_first':
cryptmt-v3.c: e/cryptmt-v3.c:189:5: warning: 'do_recursion' accessing 16 bytes in a region of size 0 [-Wstringop-overflow=]
cryptmt-v3.c: 189 | do_recursion(ps->sfmt[N], ps->sfmt[POS1], ps->sfmt[N - 1]);
cryptmt-v3.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cryptmt-v3.c: e/cryptmt-v3.c:189:5: note: referencing argument 1 of type 'u32[4]' {aka 'unsigned int[4]'}
cryptmt-v3.c: e/cryptmt-v3.c:189:5: note: referencing argument 2 of type 'const u32[4]' {aka 'const unsigned int[4]'}
cryptmt-v3.c: e/cryptmt-v3.c:189:5: note: referencing argument 3 of type 'const u32[4]' {aka 'const unsigned int[4]'}
cryptmt-v3.c: e/cryptmt-v3.c:126:20: note: in a call to function 'do_recursion'
cryptmt-v3.c: 126 | static INLINE void do_recursion(u32 a[4], const u32 b[4], const u32 c[4]) {
cryptmt-v3.c: | ^~~~~~~~~~~~
cryptmt-v3.c: e/cryptmt-v3.c:189:5: warning: 'do_recursion' accessing 16 bytes in a region of size 0 [-Wstringop-overflow=]
cryptmt-v3.c: 189 | do_recursion(ps->sfmt[N], ps->sfmt[POS1], ps->sfmt[N - 1]);
cryptmt-v3.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cryptmt-v3.c: e/cryptmt-v3.c:189:5: note: referencing argument 1 of type 'u32[4]' {aka 'unsigned int[4]'}
cryptmt-v3.c: e/cryptmt-v3.c:189:5: note: referencing argument 2 of type 'const u32[4]' {aka 'const unsigned int[4]'}
cryptmt-v3.c: e/cryptmt-v3.c:189:5: note: referencing argument 3 of type 'const u32[4]' {aka 'const unsigned int[4]'}
cryptmt-v3.c: e/cryptmt-v3.c:126:20: note: in a call to function 'do_recursion'
cryptmt-v3.c: 126 | static INLINE void do_recursion(u32 a[4], const u32 b[4], const u32 c[4]) {
cryptmt-v3.c: | ^~~~~~~~~~~~
cryptmt-v3.c: e/cryptmt-v3.c:189:5: warning: 'do_recursion' accessing 16 bytes in a region of size 0 [-Wstringop-overflow=]
cryptmt-v3.c: 189 | do_recursion(ps->sfmt[N], ps->sfmt[POS1], ps->sfmt[N - 1]);
cryptmt-v3.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cryptmt-v3.c: e/cryptmt-v3.c:189:5: note: referencing argument 1 of type 'u32[4]' {aka 'unsigned int[4]'}
cryptmt-v3.c: e/cryptmt-v3.c:189:5: note: referencing argument 2 of type 'const u32[4]' {aka 'const unsigned int[4]'}
cryptmt-v3.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/v3