Implementation notes: amd64, hydra7, crypto_hash/keccak

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: keccak
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
19420166668 0 0179109 804 960T:x86_64_shldgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
19430166660 0 0177821 804 960T:x86_64_shldgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
19453166405 0 0177277 804 960T:x86_64_shldgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
19782166179 0 0175960 780 928T:x86_64_shldgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2067460873 0 071168 780 928T:opt64lcu24shldgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2099063533 0 075261 804 960T:opt64lcu24shldgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2130463451 0 074901 804 960T:opt64lcu24shldgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2149165845 0 078845 804 960T:opt64lcu24shldgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
22816159948 0 0172389 804 960T:x86_64_asmgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
22866159685 0 0170557 804 960T:x86_64_asmgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
23109159940 0 0171101 804 960T:x86_64_asmgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
23293159459 0 0169240 780 928T:x86_64_asmgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2417358547 0 068848 780 928T:opt64lcu24gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2421518389 0 028688 780 928T:opt64lcu6gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2453461789 0 073517 804 960T:opt64lcu24gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2463219405 0 031133 804 960T:opt64lcu6gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2515119114 0 030565 804 960T:opt64lcu6gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2561163669 0 076669 804 960T:opt64lcu24gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
256122776 0 013064 780 928T:simplegcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
256664371 0 014664 780 928T:inplacegcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2579261269 0 072709 804 960T:opt64lcu24gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2642219493 0 029792 780 928T:opt64u6gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2667520757 0 033757 804 960T:opt64lcu6gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
267584845 0 016533 804 960T:inplacegcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
268179564 0 022525 804 960T:inplacegcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
268436156 0 019117 804 960T:simplegcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2687020340 0 032069 804 960T:opt64u6gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
274273213 0 014901 804 960T:simplegcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
276444682 0 016109 804 960T:inplacegcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2794220489 0 031941 804 960T:opt64u6gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
279459252 0 020981 804 960T:mmxu1gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
281138734 0 020189 804 960T:mmxu1gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2837821452 0 034453 804 960T:opt64u6gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
287829580 0 022581 804 960T:mmxu1gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
289043038 0 014477 804 960T:simplegcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
312368692 0 019000 780 928T:mmxu1gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
477146552 192 019557 1004 960T:compact8gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
5522426691 0 26214837008 780 263104T:opt32biT-s2lcu4gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
5524533368 0 046349 804 960T:opt32bi-s2lcu4gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
5604525503 0 035808 780 928T:opt32bi-s2lcu4gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
5715230040 0 26214843053 804 263136T:opt32biT-s2lcu4gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
5840128338 0 26214839789 804 263136T:opt32biT-s2lcu4gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
5876829472 0 26214841213 804 263136T:opt32biT-s2lcu4gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
596475396 0 015688 780 928T:simple32bigcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
6032321032 0 034021 804 960T:opt32bi-rvku2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
607477574 0 020573 804 960T:compactgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
610318341 0 018648 780 928T:inplace32bigcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
6119415960 0 026256 780 928T:opt32bi-rvku2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
6147422901 0 035877 804 960T:inplace32bigcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
6148627779 0 039509 804 960T:opt32bi-s2lcu4gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
6161526467 0 037917 804 960T:opt32bi-s2lcu4gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
617255533 0 017229 804 960T:simple32bigcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
6207315705 0 028661 804 960T:simple32bigcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
6234016273 0 028005 804 960T:opt32bi-rvku2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
6582016309 0 027749 804 960T:opt32bi-rvku2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
670635610 0 017045 804 960T:simple32bigcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
679449154 0 020605 804 960T:inplace32bigcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
680029633 0 021333 804 960T:inplace32bigcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
867722058 0 012368 780 928T:compactgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
939042714 0 014437 804 960T:compactgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
952472332 0 013789 804 960T:compactgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2058351782 192 013164 996 960T:compact8gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2086891982 192 013717 1004 960T:compact8gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2639511606 192 011928 980 928T:compact8gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


KeccakF-1600-opt64.c: In file included from KeccakF-1600-opt64.c:67:
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c: In function 'KeccakPermutationOnWords':
KeccakF-1600-opt64.c: KeccakF-1600-simd128.macros:28:29: warning: unused variable 'Bmu' [-Wunused-variable]
KeccakF-1600-opt64.c:    28 |     V64 Bma, Bme, Bmi, Bmo, Bmu; \
KeccakF-1600-opt64.c:       |                             ^~~
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:179:5: note: in expansion of macro 'declareABCDE'
KeccakF-1600-opt64.c:   179 |     declareABCDE
KeccakF-1600-opt64.c:       |     ^~~~~~~~~~~~
KeccakF-1600-opt64.c: KeccakF-1600-simd128.macros:27:24: warning: unused variable 'Bko' [-Wunused-variable]
KeccakF-1600-opt64.c:    27 |     V64 Bka, Bke, Bki, Bko, Bku; \
KeccakF-1600-opt64.c:       |                        ^~~
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:179:5: note: in expansion of macro 'declareABCDE'
KeccakF-1600-opt64.c:   179 |     declareABCDE
KeccakF-1600-opt64.c:       |     ^~~~~~~~~~~~
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c: In function 'KeccakPermutationOnWordsAfterXoring':
KeccakF-1600-opt64.c: KeccakF-1600-simd128.macros:28:29: warning: unused variable 'Bmu' [-Wunused-variable]
KeccakF-1600-opt64.c:    28 |     V64 Bma, Bme, Bmi, Bmo, Bmu; \
KeccakF-1600-opt64.c:       |                             ^~~
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:193:5: note: in expansion of macro 'declareABCDE'
KeccakF-1600-opt64.c:   193 |     declareABCDE
KeccakF-1600-opt64.c:       |     ^~~~~~~~~~~~
KeccakF-1600-opt64.c: KeccakF-1600-simd128.macros:27:24: warning: unused variable 'Bko' [-Wunused-variable]
KeccakF-1600-opt64.c:    27 |     V64 Bka, Bke, Bki, Bko, Bku; \
KeccakF-1600-opt64.c:       |                        ^~~
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:193:5: note: in expansion of macro 'declareABCDE'
KeccakF-1600-opt64.c: ...

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

Compiler output


KeccakF-1600-opt64.c: In file included from KeccakF-1600-opt64.c:130:
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c: In function 'KeccakPermutationOnWords':
KeccakF-1600-opt64.c: KeccakF-1600-xop.macros:29:25: warning: unused variable 'Dio' [-Wunused-variable]
KeccakF-1600-opt64.c:    29 |     V128 Dua, Dae, Dei, Dio, Dou; \
KeccakF-1600-opt64.c:       |                         ^~~
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:179:5: note: in expansion of macro 'declareABCDE'
KeccakF-1600-opt64.c:   179 |     declareABCDE
KeccakF-1600-opt64.c:       |     ^~~~~~~~~~~~
KeccakF-1600-opt64.c: KeccakF-1600-xop.macros:29:10: warning: unused variable 'Dua' [-Wunused-variable]
KeccakF-1600-opt64.c:    29 |     V128 Dua, Dae, Dei, Dio, Dou; \
KeccakF-1600-opt64.c:       |          ^~~
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:179:5: note: in expansion of macro 'declareABCDE'
KeccakF-1600-opt64.c:   179 |     declareABCDE
KeccakF-1600-opt64.c:       |     ^~~~~~~~~~~~
KeccakF-1600-opt64.c: KeccakF-1600-xop.macros:21:9: warning: unused variable 'Ama' [-Wunused-variable]
KeccakF-1600-opt64.c:    21 |     V64 Ama, Ame, Ami, Amo, Amu; \
KeccakF-1600-opt64.c:       |         ^~~
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:179:5: note: in expansion of macro 'declareABCDE'
KeccakF-1600-opt64.c:   179 |     declareABCDE
KeccakF-1600-opt64.c:       |     ^~~~~~~~~~~~
KeccakF-1600-opt64.c: KeccakF-1600-xop.macros:20:29: warning: unused variable 'Aku' [-Wunused-variable]
KeccakF-1600-opt64.c:    20 |     V64 Aka, Ake, Aki, Ako, Aku; \
KeccakF-1600-opt64.c:       |                             ^~~
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:179:5: note: in expansion of macro 'declareABCDE'
KeccakF-1600-opt64.c:   179 |     declareABCDE
KeccakF-1600-opt64.c: ...

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