Implementation notes: amd64, icelake2, crypto_hash/asconhashbi32v12

Computer: icelake2
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20221005
Operation: crypto_hash
Primitive: asconhashbi32v12
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
669165003 0 018258 772 960refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022101120221005
6722013106 0 025362 764 960refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101120221005
672985003 0 018186 772 928refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022101120221005
686464710 0 015524 764 960refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022101120221005
696434446 0 014442 772 896refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022101120221005
794451012 0 014274 772 960bi32_lowsizeclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022101120221005
794751012 0 014202 772 928bi32_lowsizeclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022101120221005
79684984 0 011804 764 960bi32_lowsizeclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022101120221005
824441267 0 011538 764 960bi32_lowsizegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101120221005
826394258 0 016234 772 896refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022101120221005
827021640 0 012034 764 960refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101120221005
836241267 0 013394 764 960bi32_lowsizegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101120221005
838981811 0 011745 756 960refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101120221005
860081751 0 011561 756 960bi32_lowsizegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101120221005
902961150 0 09953 740 928bi32_lowsizegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101120221005
92096907 0 010938 772 896bi32_lowsizeclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022101120221005
924981065 0 09993 740 928refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101120221005
937861011 0 013002 772 896bi32_lowsizeclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022101120221005

Compiler output

Implementation: bi32
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash.c: hash.c:51:5: warning: implicit declaration of function 'ABSORB' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: ABSORB(s->b[0], in, 8);
hash.c: ^
hash.c: hash.c:58:3: warning: implicit declaration of function 'ABSORB' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: ABSORB(s->b[0], in, inlen);
hash.c: ^
hash.c: hash.c:68:5: warning: implicit declaration of function 'SQUEEZE' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: SQUEEZE(out, s->b[0], 8);
hash.c: ^
hash.c: hash.c:75:3: warning: implicit declaration of function 'SQUEEZE' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: SQUEEZE(out, s->b[0], outlen);
hash.c: ^
hash.c: 4 warnings generated.
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_absorb':
try.c: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_squeeze':
try.c: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `crypto_hash_asconhashbi32v12_bi32_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: clang-14: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bi32
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bi32
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bi32

Compiler output

Implementation: bi32
Security model: constbranchindex
Compiler: clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash.c: hash.c:51:5: warning: implicit declaration of function 'ABSORB' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: ABSORB(s->b[0], in, 8);
hash.c: ^
hash.c: hash.c:58:3: warning: implicit declaration of function 'ABSORB' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: ABSORB(s->b[0], in, inlen);
hash.c: ^
hash.c: hash.c:68:5: warning: implicit declaration of function 'SQUEEZE' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: SQUEEZE(out, s->b[0], 8);
hash.c: ^
hash.c: hash.c:75:3: warning: implicit declaration of function 'SQUEEZE' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: SQUEEZE(out, s->b[0], outlen);
hash.c: ^
hash.c: 4 warnings generated.
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_absorb':
try.c: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_squeeze':
try.c: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `crypto_hash_asconhashbi32v12_bi32_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: clang-14: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bi32
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bi32

Compiler output

Implementation: bi32
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: hash.c: In function 'ascon_absorb':
hash.c: hash.c:51:5: warning: implicit declaration of function 'ABSORB' [-Wimplicit-function-declaration]
hash.c: 51 | ABSORB(s->b[0], in, 8);
hash.c: | ^~~~~~
hash.c: hash.c: In function 'ascon_squeeze':
hash.c: hash.c:68:5: warning: implicit declaration of function 'SQUEEZE' [-Wimplicit-function-declaration]
hash.c: 68 | SQUEEZE(out, s->b[0], 8);
hash.c: | ^~~~~~~
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_absorb':
try.c: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_squeeze':
try.c: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `crypto_hash_asconhashbi32v12_bi32_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_squeeze':
try.c: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE bi32
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE bi32
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE bi32

Compiler output

Implementation: bi32
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: hash.c: In function 'ascon_absorb':
hash.c: hash.c:51:5: warning: implicit declaration of function 'ABSORB' [-Wimplicit-function-declaration]
hash.c: 51 | ABSORB(s->b[0], in, 8);
hash.c: | ^~~~~~
hash.c: hash.c: In function 'ascon_squeeze':
hash.c: hash.c:68:5: warning: implicit declaration of function 'SQUEEZE' [-Wimplicit-function-declaration]
hash.c: 68 | SQUEEZE(out, s->b[0], 8);
hash.c: | ^~~~~~~
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_absorb':
try.c: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_squeeze':
try.c: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `crypto_hash_asconhashbi32v12_bi32_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE bi32

Compiler output

Implementation: bi32_lowreg
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash.c: hash.c:51:5: warning: implicit declaration of function 'ABSORB' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: ABSORB(s->b[0], in, 8);
hash.c: ^
hash.c: hash.c:58:3: warning: implicit declaration of function 'ABSORB' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: ABSORB(s->b[0], in, inlen);
hash.c: ^
hash.c: hash.c:68:5: warning: implicit declaration of function 'SQUEEZE' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: SQUEEZE(out, s->b[0], 8);
hash.c: ^
hash.c: hash.c:75:3: warning: implicit declaration of function 'SQUEEZE' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: SQUEEZE(out, s->b[0], outlen);
hash.c: ^
hash.c: 4 warnings generated.
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_absorb':
try.c: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_squeeze':
try.c: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: clang-14: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bi32_lowreg
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bi32_lowreg
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bi32_lowreg
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bi32_lowreg
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bi32_lowreg

Compiler output

Implementation: bi32_lowreg
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: hash.c: In function 'ascon_absorb':
hash.c: hash.c:51:5: warning: implicit declaration of function 'ABSORB' [-Wimplicit-function-declaration]
hash.c: 51 | ABSORB(s->b[0], in, 8);
hash.c: | ^~~~~~
hash.c: hash.c: In function 'ascon_squeeze':
hash.c: hash.c:68:5: warning: implicit declaration of function 'SQUEEZE' [-Wimplicit-function-declaration]
hash.c: 68 | SQUEEZE(out, s->b[0], 8);
hash.c: | ^~~~~~~
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_absorb':
try.c: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `ABSORB'
try.c: /usr/bin/ld: libcrypto_hash_asconhashbi32v12.a(hash.o): in function `ascon_squeeze':
try.c: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `SQUEEZE'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE bi32_lowreg
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE bi32_lowreg
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE bi32_lowreg
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE bi32_lowreg