Implementation notes: amd64, margaux, crypto_hash/cubehash81

Computer: margaux
Microarchitecture: amd64; Core 2 65nm (6fb)
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20240716
Operation: crypto_hash
Primitive: cubehash81
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3362131971 0 012216 780 928T:emmintrin4gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3389051499 0 011744 780 928T:emmintrin3gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3416712132 0 015125 804 960T:emmintrin3gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3417361740 0 013533 804 960T:emmintrin3gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3423802874 0 015861 804 960T:emmintrin4gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3424252166 0 013957 804 960T:emmintrin4gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3486231967 0 011861 836 896T:emmintrin4clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3509791509 0 011413 836 896T:emmintrin3clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3516252200 0 013508 796 960T:emmintrin4gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3517444953 0 015339 844 896T:emmintrin4clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3519671703 0 012996 796 960T:emmintrin3gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3528704622 0 016307 844 896T:emmintrin4clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3528704622 0 017419 844 896T:emmintrin4clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3528704626 0 017227 844 896T:emmintrin4clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3551743710 0 015651 844 896T:emmintrin3clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3551743714 0 016571 844 896T:emmintrin3clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3551933977 0 014619 844 896T:emmintrin3clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3551953710 0 016763 844 896T:emmintrin3clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3705853958 0 017019 844 896T:emmintrin2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3711943958 0 015907 844 896T:emmintrin2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3713173963 0 016811 844 896T:emmintrin2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3784721206 0 011109 836 896T:emmintrin2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3840451448 0 012756 796 960T:emmintrin2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3852223251 0 013915 844 896T:emmintrin2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3944901731 0 014725 804 960T:emmintrin2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
4017241367 0 013157 804 960T:emmintrin2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
4198554393 0 017475 844 896T:emmintrinclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
4198614265 0 017139 844 896T:emmintrinclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
4222981232 0 011109 836 896T:emmintrinclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
4223862913 0 014875 844 896T:emmintrinclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
4240711485 0 012772 796 960T:emmintringcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
4262112977 0 013635 844 896T:emmintrinclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
4378961431 0 013205 804 960T:emmintringcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
4392691672 0 014653 804 960T:emmintringcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
4599541209 0 011456 780 928T:emmintrin2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
5270001294 0 011528 780 928T:emmintringcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
10841032598 0 015581 804 960T:simplegcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
12007932814 0 015797 804 960T:unrolledgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
12101122538 0 014317 804 960T:unrolledgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
13129952508 0 013796 796 960T:unrolledgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
13130292530 0 015595 844 896T:simpleclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
13131722317 0 012536 780 928T:unrolledgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
13132502530 0 014483 844 896T:simpleclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
13132652451 0 015307 844 896T:simpleclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
13224072112 0 011981 836 896T:unrolledclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
13315602451 0 015323 844 896T:unrolledclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
13360612530 0 014499 844 896T:unrolledclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
13361372530 0 015611 844 896T:unrolledclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
13546262887 0 013531 844 896T:unrolledclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
17220473217 0 016299 844 896T:specclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
17229773217 0 016091 844 896T:specclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
17632083070 0 015043 844 896T:specclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
181799318089 0 031085 804 960T:specgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
35660662722 0 014533 804 960T:specgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
40412502537 0 013860 796 960T:specgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
44468052395 0 012648 780 928T:specgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
47316082036 0 011917 836 896T:specclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
50285681238 0 011109 836 896T:simpleclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
50293462127 0 012771 844 896T:simpleclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
52650611594 0 013373 804 960T:simplegcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
61350681350 0 011576 780 928T:simplegcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
61438221469 0 012748 796 960T:simplegcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
75150093605 0 014259 844 896T:specclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625

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 (Ubuntu_Clang_14.0.0)
T:emmintrinclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:emmintrinclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:emmintrinclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:emmintrinclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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

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 (Ubuntu_Clang_14.0.0)
T:emmintrin2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:emmintrin2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:emmintrin2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:emmintrin2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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

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 (Ubuntu_Clang_14.0.0)
T:simpleclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:simpleclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:simpleclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:simpleclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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

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 (Ubuntu_Clang_14.0.0)
T:unrolledclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:unrolledclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:unrolledclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:unrolledclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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