Implementation notes: amd64, cherry, crypto_stream/aes256estream

Computer: cherry
Microarchitecture: amd64; Silvermont (406c4)
Architecture: amd64
CPU ID: GenuineIntel-000406c4-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_stream
Primitive: aes256estream
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
385227638 4096 421160 4884 1048T:e/hongjun/v1gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
393857343 4096 419171 4860 1016T:e/hongjun/v1gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
403355332 4096 418848 4884 1048T:e/hongjun/v0gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
403668243 4096 422984 4884 1048T:e/hongjun/v1gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
408036278 4096 421032 4884 1048T:e/hongjun/v0gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
409584746 4096 416587 4860 1016T:e/hongjun/v0gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
419997519 4096 119846 4908 952T:e/hongjun/v1clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
422047602 4096 420623 4876 1048T:e/hongjun/v1gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
425285181 4096 418199 4876 1048T:e/hongjun/v0gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
4317719871 0 431739 756 1016T:e/gladmangcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
433014918 4096 117246 4908 952T:e/hongjun/v0clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
4546920102 0 132966 804 952T:e/gladmanclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
457785718 4096 120840 4916 952T:e/hongjun/v0clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
4663420504 0 132862 804 952T:e/gladmanclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
4716720581 0 135728 812 952T:e/gladmanclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
4718220270 0 134184 812 952T:e/gladmanclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
4790920270 0 135832 812 952T:e/gladmanclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
490005494 4096 119376 4916 952T:e/hongjun/v0clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
490335494 4096 121024 4916 952T:e/hongjun/v0clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
491428396 4096 123504 4916 952T:e/hongjun/v1clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
4974921171 0 434239 772 1048T:e/gladmangcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
513305221 4096 118054 4908 952T:e/hongjun/v0clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
5269621127 0 435888 780 1048T:e/gladmangcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
5278420802 0 434360 780 1048T:e/gladmangcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
541268294 4096 123816 4916 952T:e/hongjun/v1clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
542318294 4096 122168 4916 952T:e/hongjun/v1clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
561947941 4096 120766 4908 952T:e/hongjun/v1clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

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 'y3' [-Wunused-variable]
aes-ctr.c:       aes256_enc_block(ctx->counter, keystream, ctx);
aes-ctr.c:       ^
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: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 'y1' [-Wunused-variable]
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:134:7: warning: unused variable 'y3' [-Wunused-variable]
aes-ctr.c:       aes256_enc_block(ctx->counter, keystream, ctx);
aes-ctr.c:       ^
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: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:e/hongjun/v1clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:e/hongjun/v1clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:e/hongjun/v1clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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 'y2' [-Wunused-variable]
aes-ctr.c:       aes256_enc_block(ctx->counter, keystream, ctx);
aes-ctr.c:       ^
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:120:7: warning: unused variable 'y1' [-Wunused-variable]
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:134:7: warning: unused variable 'y2' [-Wunused-variable]
aes-ctr.c:       aes256_enc_block(ctx->counter, keystream, ctx);
aes-ctr.c:       ^
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: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:e/hongjun/v1clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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: 1, namely:
ImplementationCompiler
T:e/hongjun/v1clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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:15: 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:12: 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:9: 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:15: 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 (10.2.1_20210110)
T:e/hongjun/v1gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:e/hongjun/v1gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:e/hongjun/v1gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)