Implementation notes: amd64, hydra4, crypto_hash/gimli24v1

Computer: hydra4
Microarchitecture: amd64; K10 32nm (300f10)
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20240716
Operation: crypto_hash
Primitive: gimli24v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
822191447 0 013936 780 952T:littleendiangcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
89299473 0 010574 804 888T:littleendianclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1049561558 0 014416 812 888T:littleendianclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1050031558 0 013584 812 888T:littleendianclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1050031558 0 014416 812 888T:littleendianclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
107753503 0 010091 756 920T:littleendiangcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
115504622 0 011896 780 952T:littleendiangcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
117580609 0 011167 772 952T:littleendiangcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
160790647 0 011270 804 888T:littleendianclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
236981957 0 012968 812 888T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
244889603 0 010702 804 888T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3006752743 0 015576 812 888T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3006752743 0 015576 812 888T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3074681024 0 013528 780 952T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
317421784 0 012056 780 952T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
5990771206 0 011846 804 888T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
664273848 0 010451 756 920T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
7161911099 0 011679 772 952T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625

Compiler output


gimli_hash.c: In file included from gimli_hash.c:5:
gimli_hash.c: ./gimli.inc:17:10: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'rotate24' that is compiled without support for 'ssse3'
gimli_hash.c:   return _mm_shuffle_epi8(x,
gimli_hash.c:          ^
gimli_hash.c: 1 error generated.

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

Compiler output


gimli_hash.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:35,
gimli_hash.c:                  from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
gimli_hash.c:                  from gimli.inc:1,
gimli_hash.c:                  from gimli_hash.c:5:
gimli_hash.c: gimli.inc: In function 'rotate24':
gimli_hash.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/tmmintrin.h:136:1: error: inlining failed in call to 'always_inline' '_mm_shuffle_epi8': target specific option mismatch
gimli_hash.c:   136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
gimli_hash.c:       | ^~~~~~~~~~~~~~~~
gimli_hash.c: In file included from gimli_hash.c:5:
gimli_hash.c: gimli.inc:17:10: note: called from here
gimli_hash.c:    17 |   return _mm_shuffle_epi8(x,
gimli_hash.c:       |          ^~~~~~~~~~~~~~~~~~~
gimli_hash.c:    18 |     _mm_set_epi8(
gimli_hash.c:       |     ~~~~~~~~~~~~~
gimli_hash.c:    19 |       12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1
gimli_hash.c:       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gimli_hash.c:    20 |     )
gimli_hash.c:       |     ~
gimli_hash.c:    21 |   );
gimli_hash.c:       |   ~
gimli_hash.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:35,
gimli_hash.c:                  from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
gimli_hash.c:                  from gimli.inc:1,
gimli_hash.c:                  from gimli_hash.c:5:
gimli_hash.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/tmmintrin.h:136:1: error: inlining failed in call to 'always_inline' '_mm_shuffle_epi8': target specific option mismatch
gimli_hash.c: ...

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