Implementation notes: amd64, speed2supercop, crypto_hash/cubehash81

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: cubehash81
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2064801930 0 011868 744 800T:emmintrin4gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2079041417 0 011356 744 800T:emmintrin3gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2085082569 0 014813 752 800T:emmintrin4gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2085321876 0 012101 752 800T:emmintrin4gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2097641775 0 014021 752 800T:emmintrin3gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2098081479 0 011709 752 800T:emmintrin3gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2102563987 0 017494 792 744T:emmintrin4clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2103323987 0 017686 792 744T:emmintrin4clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2106324443 0 014102 792 728T:emmintrin4clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2108281859 0 012671 784 792T:emmintrin4clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2109081788 0 010704 728 768T:emmintrin4gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2115603075 0 017030 792 744T:emmintrin3clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2117323075 0 016838 792 744T:emmintrin3clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2120283451 0 013366 792 728T:emmintrin3clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2121841368 0 012175 784 792T:emmintrin3clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2122001287 0 010200 728 768T:emmintrin3gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2128001060 0 011863 784 792T:unrolledclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2136684677 0 016934 792 728T:emmintrin4clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2150203765 0 016278 792 728T:emmintrin3clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2165881382 0 015198 792 744T:unrolledclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2221882326 0 016358 792 744T:simpleclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2237521446 0 015270 792 744T:simpleclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2383121535 0 013773 752 800T:emmintrin2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2387683363 0 017318 792 744T:emmintrin2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2388043363 0 017126 792 744T:emmintrin2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2389721145 0 011951 784 792T:emmintrin2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2399321239 0 011180 744 800T:emmintrin2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2423564021 0 016534 792 728T:emmintrin2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2429682820 0 012742 792 728T:emmintrin2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2433601145 0 011373 752 800T:emmintrin2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2474083773 0 017774 792 744T:emmintrinclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2478683511 0 015749 752 800T:emmintringcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2496641213 0 011437 752 800T:emmintringcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2503881302 0 011228 744 800T:emmintringcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2561681584 0 014126 792 728T:simpleclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2592481197 0 011991 784 792T:emmintrinclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2603841600 0 014142 792 728T:unrolledclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2699602445 0 012390 792 728T:emmintrinclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2728084323 0 016862 792 728T:emmintrinclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2729201025 0 09944 728 768T:emmintrin2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2953442198 0 016206 792 744T:unrolledclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3112361119 0 010032 728 768T:emmintringcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3214962389 0 016190 792 744T:emmintrinclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
5807842859 0 016894 792 744T:specclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
6330042187 0 014742 792 728T:specclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
6882842131 0 015966 792 744T:specclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
6984162084 0 012333 752 800T:specgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
7802084645 0 016885 752 800T:simplegcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
8930644911 0 017157 752 800T:unrolledgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
9047242629 0 012556 744 800T:unrolledgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
9093882699 0 012925 752 800T:unrolledgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
9468202287 0 011192 728 768T:unrolledgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
11022203003 0 012950 792 728T:unrolledclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
11047444271 0 016533 752 800T:specgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
18809201394 0 012199 784 792T:simpleclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
25801161355 0 011581 752 800T:simplegcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
26924722265 0 012212 744 800T:specgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
27219002035 0 010968 728 768T:specgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
31854202082 0 012903 784 792T:specclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
34947001811 0 011758 792 728T:simpleclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
39533241149 0 010056 728 768T:simplegcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
44571961300 0 011228 744 800T:simplegcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
52180363617 0 013566 792 728T:specclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625

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_16.0.6_(27+b1))
T:emmintrinclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:emmintrinclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:emmintrinclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:emmintrinclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

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 (13.3.0)
T:emmintringcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:emmintringcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:emmintringcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.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 (Debian_Clang_16.0.6_(27+b1))
T:emmintrin2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:emmintrin2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:emmintrin2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:emmintrin2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

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 (13.3.0)
T:emmintrin2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:emmintrin2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:emmintrin2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.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 (Debian_Clang_16.0.6_(27+b1))
T:simpleclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:simpleclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:simpleclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:simpleclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

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 (13.3.0)
T:simplegcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:simplegcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:simplegcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.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 (Debian_Clang_16.0.6_(27+b1))
T:unrolledclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:unrolledclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:unrolledclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:unrolledclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

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