Implementation notes: amd64, hydra5, crypto_stream/aes256estream

Computer: hydra5
Microarchitecture: amd64; K10 32nm (300f10)
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20240625
Operation: crypto_stream
Primitive: aes256estream
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
283285189 4096 417688 4884 1024T:e/hongjun/v0gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
285545710 4096 420285 4908 1056T:e/hongjun/v0gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
285617266 4096 423221 4908 1056T:e/hongjun/v0gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
289675636 4096 119960 4964 960T:e/hongjun/v0clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
289965636 4096 120848 4964 960T:e/hongjun/v0clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
290635636 4096 120848 4964 960T:e/hongjun/v0clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
291235173 4096 118112 4964 960T:e/hongjun/v0clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3009120648 0 134992 860 960T:e/gladmanclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3009520648 0 135880 860 960T:e/gladmanclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3010320422 0 432944 780 1024T:e/gladmangcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
301485613 4096 419276 4900 1056T:e/hongjun/v0gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3036720286 0 133256 860 960T:e/gladmanclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3043820980 0 435597 804 1056T:e/gladmangcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3047521446 0 437413 804 1056T:e/gladmangcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3063520648 0 135880 860 960T:e/gladmanclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
307075226 4096 117418 4956 960T:e/hongjun/v0clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3210420454 0 132666 852 960T:e/gladmanclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3571921583 0 435292 796 1056T:e/gladmangcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625

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 '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 '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: 2, 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)

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 '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 '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 -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 '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 '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 -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)