Implementation notes: amd64, kizomba, crypto_stream/aes256estream

Computer: kizomba
Microarchitecture: amd64; Kaby Lake (906e9)
Architecture: amd64
CPU ID: GenuineIntel-000906e9-1fc9cbf5
SUPERCOP version: 20240716
Operation: crypto_stream
Primitive: aes256estream
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
205795774 4096 419422 4880 872T:e/hongjun/v0gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
209285190 4096 417225 4856 840T:e/hongjun/v0gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
214247092 4096 422958 4880 872T:e/hongjun/v0gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
217385619 4096 418813 4872 872T:e/hongjun/v0gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
2204620892 0 434574 776 872T:e/gladmangcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
2206220423 0 432497 752 840T:e/gladmangcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
2278920648 0 135436 816 800T:e/gladmanclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
230825636 4096 120404 4920 800T:e/hongjun/v0clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
2318420896 0 137324 816 864T:e/gladmanclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
2324020896 0 137028 816 816T:e/gladmanclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
232655088 4096 118294 4912 856T:e/hongjun/v0clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
2334320285 0 132652 816 800T:e/gladmanclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
2356722070 0 437958 776 872T:e/gladmangcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
2391720464 0 133702 808 856T:e/gladmanclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
240596089 4096 122484 4920 864T:e/hongjun/v0clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
241595396 4096 117732 4920 800T:e/hongjun/v0clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
2462921566 0 434797 768 872T:e/gladmangcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
273856089 4096 122188 4920 816T:e/hongjun/v0clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716

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 '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: 3, namely:
ImplementationCompiler
T:e/hongjun/v1clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/hongjun/v1clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/hongjun/v1clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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 '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 -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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 '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: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: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 (Ubuntu_Clang_14.0.0)

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

Namespace violations


aes-ctr.o aes_encrypt T
aes-ctr.o aes_encrypt_key T
aes-ctr.o aes_encrypt_key128 T
aes-ctr.o aes_encrypt_key192 T
aes-ctr.o aes_encrypt_key256 T
aes-ctr.o gen_tabs T
aes-ctr.o t_fl R
aes-ctr.o t_fn R
aes-ctr.o t_im R
aes-ctr.o t_rc R

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
T:e/gladmanclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/gladmanclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/gladmanclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/gladmanclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/gladmanclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/gladmangcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:e/gladmangcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:e/gladmangcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:e/gladmangcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Namespace violations


aes-ctr.o T0 D
aes-ctr.o T1 D
aes-ctr.o T2 D
aes-ctr.o T3 D
aes-ctr.o aes256_enc_block T
aes-ctr.o partial_precompute_tworounds T

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
T:e/hongjun/v0clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/hongjun/v0clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/hongjun/v0clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/hongjun/v0clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/hongjun/v0clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:e/hongjun/v0gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:e/hongjun/v0gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:e/hongjun/v0gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:e/hongjun/v0gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)