Implementation notes: amd64, rome0, crypto_hash/cubehash81

Computer: rome0
Microarchitecture: amd64; Zen 2 (830f10)
Architecture: amd64
CPU ID: AuthenticAMD-00830f10-178bfbff
SUPERCOP version: 20240716
Operation: crypto_hash
Primitive: cubehash81
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1998731982 0 012567 772 952T:emmintrin4gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2002571953 0 012502 804 888T:emmintrin4clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2007944085 0 016656 812 888T:emmintrin4clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2011561469 0 012055 772 952T:emmintrin3gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2013843570 0 016024 812 920T:emmintrin4clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2014063554 0 015880 812 920T:emmintrin4clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2017921850 0 012142 804 888T:emmintrin4clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2018891457 0 012006 804 888T:emmintrin3clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2021233087 0 015920 812 888T:emmintrin3clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2030531362 0 011646 804 888T:emmintrin3clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2034292657 0 015240 812 920T:emmintrin3clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2034322657 0 015368 812 920T:emmintrin3clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2069731799 0 011419 756 920T:emmintrin4gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2077492663 0 015456 780 952T:emmintrin4gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2083181308 0 010939 756 920T:emmintrin3gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2090661525 0 012616 780 952T:emmintrin3gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2129941974 0 013056 780 952T:emmintrin4gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2143441845 0 014648 780 952T:emmintrin3gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2326522377 0 015096 812 920T:emmintrin2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2327131292 0 011879 772 952T:emmintrin2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2327651138 0 011422 804 888T:emmintrin2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2331781185 0 011734 804 888T:emmintrin2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2344872377 0 014968 812 920T:emmintrin2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2350262438 0 015016 812 920T:emmintrinclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2353141680 0 014472 780 952T:emmintrin2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2354981234 0 012312 780 952T:emmintrin2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2355041249 0 011782 804 888T:emmintrinclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2364922757 0 015584 812 888T:emmintrin2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2370522438 0 015144 812 920T:emmintrinclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2372271056 0 010683 756 920T:emmintrin2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2374051192 0 011470 804 888T:emmintrinclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2382502819 0 015648 812 888T:emmintrinclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2384871560 0 014360 780 952T:emmintringcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2386611282 0 012344 780 952T:emmintringcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2575801136 0 010739 756 920T:emmintringcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
2641591307 0 011879 772 952T:emmintringcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
4264891488 0 014072 812 920T:unrolledclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
4290941163 0 011438 804 888T:unrolledclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
4367451488 0 014184 812 920T:unrolledclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
5936792177 0 014896 812 920T:specclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
6063952726 0 015520 780 952T:simplegcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
6198152038 0 014632 812 920T:specclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
6837802367 0 012943 772 952T:unrolledgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
6879692509 0 013576 780 952T:unrolledgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
6915282934 0 015728 780 952T:unrolledgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
6982972200 0 011803 756 920T:unrolledgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
7371031883 0 014704 812 888T:simpleclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
7666272467 0 015288 812 888T:unrolledclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
7984321568 0 014136 812 920T:simpleclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
8114061568 0 014264 812 920T:simpleclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
8397233762 0 016568 780 952T:specgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
10085042473 0 012990 804 888T:unrolledclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
11444963257 0 016096 812 888T:specclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
23537941246 0 011486 804 888T:simpleclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
24763012429 0 013528 780 952T:specgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
25703082273 0 012887 772 952T:specgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
26392332121 0 011763 756 920T:specgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
28527941345 0 011862 804 888T:simpleclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
29486251410 0 012480 780 952T:simplegcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
31526702025 0 012294 804 888T:specclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
38332911288 0 011871 772 952T:simplegcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
40728681137 0 010739 756 920T:simplegcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625
44718502769 0 013310 804 888T:specclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062520240625

Compiler output


cubehash.c: cubehash.c:26:11: warning: unused variable 'y4' [-Wunused-variable]
cubehash.c:   __m128i y4;
cubehash.c:           ^
cubehash.c: cubehash.c:27:11: warning: unused variable 'y5' [-Wunused-variable]
cubehash.c:   __m128i y5;
cubehash.c:           ^
cubehash.c: cubehash.c:28:11: warning: unused variable 'y6' [-Wunused-variable]
cubehash.c:   __m128i y6;
cubehash.c:           ^
cubehash.c: cubehash.c:29:11: warning: unused variable 'y7' [-Wunused-variable]
cubehash.c:   __m128i y7;
cubehash.c:           ^
cubehash.c: cubehash.c:96:7: warning: unused variable 'j' [-Wunused-variable]
cubehash.c:   int j;
cubehash.c:       ^
cubehash.c: 5 warnings generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:emmintrinclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:emmintrinclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:emmintrinclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:emmintrinclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:emmintrinclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


cubehash.c: cubehash.c: In function 'transform':
cubehash.c: cubehash.c:29:11: warning: unused variable 'y7' [-Wunused-variable]
cubehash.c:    29 |   __m128i y7;
cubehash.c:       |           ^~
cubehash.c: cubehash.c:28:11: warning: unused variable 'y6' [-Wunused-variable]
cubehash.c:    28 |   __m128i y6;
cubehash.c:       |           ^~
cubehash.c: cubehash.c:27:11: warning: unused variable 'y5' [-Wunused-variable]
cubehash.c:    27 |   __m128i y5;
cubehash.c:       |           ^~
cubehash.c: cubehash.c:26:11: warning: unused variable 'y4' [-Wunused-variable]
cubehash.c:    26 |   __m128i y4;
cubehash.c:       |           ^~
cubehash.c: cubehash.c: In function 'Init':
cubehash.c: cubehash.c:96:7: warning: unused variable 'j' [-Wunused-variable]
cubehash.c:    96 |   int j;
cubehash.c:       |       ^

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

Compiler output


cubehash.c: cubehash.c:25:11: warning: unused variable 'y4' [-Wunused-variable]
cubehash.c:   __m128i y4;
cubehash.c:           ^
cubehash.c: cubehash.c:26:11: warning: unused variable 'y5' [-Wunused-variable]
cubehash.c:   __m128i y5;
cubehash.c:           ^
cubehash.c: cubehash.c:27:11: warning: unused variable 'y6' [-Wunused-variable]
cubehash.c:   __m128i y6;
cubehash.c:           ^
cubehash.c: cubehash.c:28:11: warning: unused variable 'y7' [-Wunused-variable]
cubehash.c:   __m128i y7;
cubehash.c:           ^
cubehash.c: cubehash.c:95:7: warning: unused variable 'j' [-Wunused-variable]
cubehash.c:   int j;
cubehash.c:       ^
cubehash.c: 5 warnings generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:emmintrin2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:emmintrin2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:emmintrin2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:emmintrin2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:emmintrin2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


cubehash.c: cubehash.c: In function 'transform':
cubehash.c: cubehash.c:28:11: warning: unused variable 'y7' [-Wunused-variable]
cubehash.c:    28 |   __m128i y7;
cubehash.c:       |           ^~
cubehash.c: cubehash.c:27:11: warning: unused variable 'y6' [-Wunused-variable]
cubehash.c:    27 |   __m128i y6;
cubehash.c:       |           ^~
cubehash.c: cubehash.c:26:11: warning: unused variable 'y5' [-Wunused-variable]
cubehash.c:    26 |   __m128i y5;
cubehash.c:       |           ^~
cubehash.c: cubehash.c:25:11: warning: unused variable 'y4' [-Wunused-variable]
cubehash.c:    25 |   __m128i y4;
cubehash.c:       |           ^~
cubehash.c: cubehash.c: In function 'Init':
cubehash.c: cubehash.c:95:7: warning: unused variable 'j' [-Wunused-variable]
cubehash.c:    95 |   int j;
cubehash.c:       |       ^

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

Compiler output


cubehash.c: cubehash.c:37:7: warning: unused variable 'j' [-Wunused-variable]
cubehash.c:   int j;
cubehash.c:       ^
cubehash.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:simpleclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:simpleclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:simpleclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:simpleclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:simpleclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


cubehash.c: cubehash.c: In function 'Init':
cubehash.c: cubehash.c:37:7: warning: unused variable 'j' [-Wunused-variable]
cubehash.c:    37 |   int j;
cubehash.c:       |       ^

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

Compiler output


cubehash.c: cubehash.c:154:7: warning: unused variable 'j' [-Wunused-variable]
cubehash.c:   int j;
cubehash.c:       ^
cubehash.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:unrolledclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:unrolledclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:unrolledclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:unrolledclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:unrolledclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


cubehash.c: cubehash.c: In function 'Init':
cubehash.c: cubehash.c:154:7: warning: unused variable 'j' [-Wunused-variable]
cubehash.c:   154 |   int j;
cubehash.c:       |       ^

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