Implementation notes: amd64, speed2supercop, crypto_stream/aes256estream

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_stream
Primitive: aes256estream
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
218688557 4096 423260 4856 872T:e/hongjun/v1gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
221448171 4096 420805 4856 872T:e/hongjun/v1gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
223044746 4096 415904 4832 840T:e/hongjun/v0gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
224086630 4096 421340 4856 872T:e/hongjun/v0gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
224567574 4096 419868 4848 872T:e/hongjun/v1gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
225805764 4096 418405 4856 872T:e/hongjun/v0gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
226327444 4096 418584 4832 840T:e/hongjun/v1gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
226485173 4096 417476 4848 872T:e/hongjun/v0gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2284019985 0 431168 728 840T:e/gladmangcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2382820512 0 135390 792 800T:e/gladmanclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
240087650 4096 120711 4888 856T:e/hongjun/v1clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
241728117 4096 124406 4896 816T:e/hongjun/v1clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2426820722 0 433389 752 872T:e/gladmangcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2427221191 0 435909 752 872T:e/gladmangcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2428020550 0 136670 792 816T:e/gladmanclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2431220550 0 136862 792 816T:e/gladmanclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2439220389 0 132582 792 800T:e/gladmanclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
244647956 4096 120126 4896 800T:e/hongjun/v1clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
245685160 4096 118239 4888 856T:e/hongjun/v0clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
245928117 4096 124214 4896 816T:e/hongjun/v1clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
250685557 4096 121662 4896 816T:e/hongjun/v0clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
251048263 4096 123126 4896 800T:e/hongjun/v1clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
251245412 4096 117590 4896 800T:e/hongjun/v0clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
251965557 4096 121854 4896 816T:e/hongjun/v0clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2566020707 0 133815 784 856T:e/gladmanclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2582421094 0 433420 744 872T:e/gladmangcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
260685471 4096 120334 4896 800T:e/hongjun/v0clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625

Compiler output


aes-ctr.c: In file included from aes-ctr.c:1:
aes-ctr.c: ./e/aes-ctr.c:120:7: warning: unused variable 'y1' [-Wunused-variable]
aes-ctr.c:       aes256_enc_block(ctx->counter, keystream, ctx);
aes-ctr.c:       ^
aes-ctr.c: ./e/aes256.h:139:9: note: expanded from macro 'aes256_enc_block'
aes-ctr.c:         u32 y0,y1,y2,y3;\
aes-ctr.c:                ^
aes-ctr.c: In file included from aes-ctr.c:1:
aes-ctr.c: ./e/aes-ctr.c:120:7: warning: unused variable 'y2' [-Wunused-variable]
aes-ctr.c: ./e/aes256.h:139:12: note: expanded from macro 'aes256_enc_block'
aes-ctr.c:         u32 y0,y1,y2,y3;\
aes-ctr.c:                   ^
aes-ctr.c: In file included from aes-ctr.c:1:
aes-ctr.c: ./e/aes-ctr.c:120:7: warning: unused variable 'y3' [-Wunused-variable]
aes-ctr.c: ./e/aes256.h:139:15: note: expanded from macro 'aes256_enc_block'
aes-ctr.c:         u32 y0,y1,y2,y3;\
aes-ctr.c:                      ^
aes-ctr.c: In file included from aes-ctr.c:1:
aes-ctr.c: ./e/aes-ctr.c:134:7: warning: unused variable 'y1' [-Wunused-variable]
aes-ctr.c:       aes256_enc_block(ctx->counter, keystream, ctx);
aes-ctr.c:       ^
aes-ctr.c: ./e/aes256.h:139:9: note: expanded from macro 'aes256_enc_block'
aes-ctr.c:         u32 y0,y1,y2,y3;\
aes-ctr.c:                ^
aes-ctr.c: In file included from aes-ctr.c:1:
aes-ctr.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:e/hongjun/v1clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:e/hongjun/v1clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:e/hongjun/v1clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:e/hongjun/v1clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:e/hongjun/v1clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


aes-ctr.c: In file included from e/aes-ctr.c:9,
aes-ctr.c:                  from aes-ctr.c:1:
aes-ctr.c: e/aes-ctr.c: In function 'crypto_stream_aes256estream_e_hongjun_v1_timingleaks_ECRYPT_process_bytes':
aes-ctr.c: e/aes256.h:139:22: warning: unused variable 'y3' [-Wunused-variable]
aes-ctr.c:   139 |         u32 y0,y1,y2,y3;\
aes-ctr.c:       |                      ^~
aes-ctr.c: e/aes-ctr.c:120:7: note: in expansion of macro 'aes256_enc_block'
aes-ctr.c:   120 |       aes256_enc_block(ctx->counter, keystream, ctx);
aes-ctr.c:       |       ^~~~~~~~~~~~~~~~
aes-ctr.c: e/aes256.h:139:19: warning: unused variable 'y2' [-Wunused-variable]
aes-ctr.c:   139 |         u32 y0,y1,y2,y3;\
aes-ctr.c:       |                   ^~
aes-ctr.c: e/aes-ctr.c:120:7: note: in expansion of macro 'aes256_enc_block'
aes-ctr.c:   120 |       aes256_enc_block(ctx->counter, keystream, ctx);
aes-ctr.c:       |       ^~~~~~~~~~~~~~~~
aes-ctr.c: e/aes256.h:139:16: warning: unused variable 'y1' [-Wunused-variable]
aes-ctr.c:   139 |         u32 y0,y1,y2,y3;\
aes-ctr.c:       |                ^~
aes-ctr.c: e/aes-ctr.c:120:7: note: in expansion of macro 'aes256_enc_block'
aes-ctr.c:   120 |       aes256_enc_block(ctx->counter, keystream, ctx);
aes-ctr.c:       |       ^~~~~~~~~~~~~~~~
aes-ctr.c: e/aes256.h:139:22: warning: unused variable 'y3' [-Wunused-variable]
aes-ctr.c:   139 |         u32 y0,y1,y2,y3;\
aes-ctr.c:       |                      ^~
aes-ctr.c: e/aes-ctr.c:134:7: note: in expansion of macro 'aes256_enc_block'
aes-ctr.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:e/hongjun/v1gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:e/hongjun/v1gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:e/hongjun/v1gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:e/hongjun/v1gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)