Test results for amd64, hertz, crypto_hash/mgrostl256

[Page version: 20241028 01:32:29]

Measurements for amd64, hertz, crypto_hash Test results for amd64, hertz, crypto_hash Test results for crypto_hash/mgrostl256
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20241022
Operation: crypto_hash
Primitive: mgrostl256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4926043254 0 032296 796 936T:opt-32cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
5073449518 0 039133 820 1064T:opt-32cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
5081442824 0 033392 836 968T:opt-32clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
5138650377 0 040968 852 968T:opt-32clang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
5149348937 0 040216 852 968T:opt-32clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
97956716246 384 030076 1204 1064T:refcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
105299062955 384 078287 1236 968T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
105492588115 384 0103375 1236 968T:refclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
11775626498 384 018383 1220 968T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
31932104019 384 014559 1180 936T:refcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022

Compiler output


hash.c: hash.c: In function 'Transform':
hash.c: hash.c:386:5: warning: 'F' may be used uninitialized [-Wmaybe-uninitialized]
hash.c:   386 |     F(ctx->chaining,(u32*)input,(u32*)ctx->counter);//modified oct28
hash.c:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash.c: hash.c:361:10: note: 'F' was declared here
hash.c:   361 |   void (*F)(u32*,const u32*,u32*);      //modified oct28
hash.c:       |          ^
hash.c: In function 'Transform',
hash.c:     inlined from 'Update' at hash.c:562:3:
hash.c: hash.c:386:5: warning: 'F' may be used uninitialized [-Wmaybe-uninitialized]
hash.c:   386 |     F(ctx->chaining,(u32*)input,(u32*)ctx->counter);//modified oct28
hash.c:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash.c: hash.c: In function 'Update':
hash.c: hash.c:361:10: note: 'F' was declared here
hash.c:   361 |   void (*F)(u32*,const u32*,u32*);      //modified oct28
hash.c:       |          ^
hash.c: In function 'Init',
hash.c:     inlined from 'Init' at hash.c:474:12,
hash.c:     inlined from 'Hash' at hash.c:709:14:
hash.c: hash.c:497:27: warning: 'context.blocksize' may be used uninitialized [-Wmaybe-uninitialized]
hash.c:   497 |   ctx->buffer = malloc(ctx->blocksize);         //modified
hash.c:       |                        ~~~^~~~~~~~~~~
hash.c: hash.c: In function 'Hash':
hash.c: hash.c:706:13: note: 'context' declared here
hash.c:   706 |   hashState context;
hash.c: ...
mGroestl.c: mGroestl.c: In function 'Transform':
mGroestl.c: mGroestl.c:384:5: warning: 'F' may be used uninitialized [-Wmaybe-uninitialized]
mGroestl.c:   384 |     F(ctx->chaining,(u32*)input,(u32*)ctx->counter);//modified oct28
mGroestl.c:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mGroestl.c: mGroestl.c:359:10: note: 'F' was declared here
mGroestl.c:   359 |   void (*F)(u32*,const u32*,u32*);      //modified oct28
mGroestl.c:       |          ^
mGroestl.c: In function 'Transform',
mGroestl.c:     inlined from 'Update' at mGroestl.c:560:3:
mGroestl.c: mGroestl.c:384:5: warning: 'F' may be used uninitialized [-Wmaybe-uninitialized]
mGroestl.c:   384 |     F(ctx->chaining,(u32*)input,(u32*)ctx->counter);//modified oct28
mGroestl.c:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mGroestl.c: mGroestl.c: In function 'Update':
mGroestl.c: mGroestl.c:359:10: note: 'F' was declared here
mGroestl.c:   359 |   void (*F)(u32*,const u32*,u32*);      //modified oct28
mGroestl.c:       |          ^
mGroestl.c: In function 'Init',
mGroestl.c:     inlined from 'Init' at mGroestl.c:472:12,
mGroestl.c:     inlined from 'Hash' at mGroestl.c:707:14:
mGroestl.c: mGroestl.c:495:27: warning: 'context.blocksize' may be used uninitialized [-Wmaybe-uninitialized]
mGroestl.c:   495 |   ctx->buffer = malloc(ctx->blocksize);         //modified
mGroestl.c:       |                        ~~~^~~~~~~~~~~
mGroestl.c: mGroestl.c: In function 'Hash':
mGroestl.c: mGroestl.c:704:13: note: 'context' declared here
mGroestl.c:   704 |   hashState context;
mGroestl.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:opt-32cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Compiler output


hash.c: hash.c: In function 'Transform':
hash.c: hash.c:386:5: warning: 'F' may be used uninitialized [-Wmaybe-uninitialized]
hash.c:   386 |     F(ctx->chaining,(u32*)input,(u32*)ctx->counter);//modified oct28
hash.c:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash.c: hash.c:361:10: note: 'F' was declared here
hash.c:   361 |   void (*F)(u32*,const u32*,u32*);      //modified oct28
hash.c:       |          ^
mGroestl.c: mGroestl.c: In function 'Transform':
mGroestl.c: mGroestl.c:384:5: warning: 'F' may be used uninitialized [-Wmaybe-uninitialized]
mGroestl.c:   384 |     F(ctx->chaining,(u32*)input,(u32*)ctx->counter);//modified oct28
mGroestl.c:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mGroestl.c: mGroestl.c:359:10: note: 'F' was declared here
mGroestl.c:   359 |   void (*F)(u32*,const u32*,u32*);      //modified oct28
mGroestl.c:       |          ^

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:opt-32cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Compiler output


hash.c: hash.c: In function 'F512':
hash.c: hash.c:230: warning: ignoring '#pragma vector aligned' [-Wunknown-pragmas]
hash.c:   230 | #pragma vector aligned
hash.c: hash.c: In function 'F1024':
hash.c: hash.c:267: warning: ignoring '#pragma vector aligned' [-Wunknown-pragmas]
hash.c:   267 | #pragma vector aligned
hash.c: hash.c: At top level:
hash.c: hash.c:242:14: warning: 'inP' is static but declared in inline function 'F1024' which is not static
hash.c:   242 |   static u64 inP[COLS1024] __attribute__((aligned(16)));
hash.c:       |              ^~~
hash.c: hash.c:241:14: warning: 'outQ' is static but declared in inline function 'F1024' which is not static
hash.c:   241 |   static u64 outQ[COLS1024] __attribute__((aligned(16)));
hash.c:       |              ^~~~
hash.c: hash.c:240:14: warning: 'z' is static but declared in inline function 'F1024' which is not static
hash.c:   240 |   static u64 z[COLS1024] __attribute__((aligned(16)));
hash.c:       |              ^
hash.c: hash.c:239:14: warning: 'y' is static but declared in inline function 'F1024' which is not static
hash.c:   239 |   static u64 y[COLS1024] __attribute__((aligned(16)));
hash.c:       |              ^
hash.c: In function 'Init',
hash.c:     inlined from 'Init' at hash.c:396:12,
hash.c:     inlined from 'Hash' at hash.c:619:14:
hash.c: hash.c:434:30: warning: 'context.statesize' may be used uninitialized [-Wmaybe-uninitialized]
hash.c:   434 | while (ctx->cnt_buf_ptr < ctx->statesize) {
hash.c:       |                           ~~~^~~~~~~~~~~
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:opt-64cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Compiler output


hash.c: hash.c: In function 'F512':
hash.c: hash.c:230: warning: ignoring '#pragma vector aligned' [-Wunknown-pragmas]
hash.c:   230 | #pragma vector aligned
hash.c: hash.c: In function 'F1024':
hash.c: hash.c:267: warning: ignoring '#pragma vector aligned' [-Wunknown-pragmas]
hash.c:   267 | #pragma vector aligned
hash.c: hash.c: At top level:
hash.c: hash.c:242:14: warning: 'inP' is static but declared in inline function 'F1024' which is not static
hash.c:   242 |   static u64 inP[COLS1024] __attribute__((aligned(16)));
hash.c:       |              ^~~
hash.c: hash.c:241:14: warning: 'outQ' is static but declared in inline function 'F1024' which is not static
hash.c:   241 |   static u64 outQ[COLS1024] __attribute__((aligned(16)));
hash.c:       |              ^~~~
hash.c: hash.c:240:14: warning: 'z' is static but declared in inline function 'F1024' which is not static
hash.c:   240 |   static u64 z[COLS1024] __attribute__((aligned(16)));
hash.c:       |              ^
hash.c: hash.c:239:14: warning: 'y' is static but declared in inline function 'F1024' which is not static
hash.c:   239 |   static u64 y[COLS1024] __attribute__((aligned(16)));
hash.c:       |              ^
try.c: /usr/bin/ld: libcrypto_hash_mgrostl256.a(hash.o): in function `Transform':
try.c: .../supercop-data/hertz/amd64/try/c/cc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_hash/mgrostl256/opt-64/work/hash.c:304:(.text+0x...): undefined reference to `F512'
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:opt-64cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Compiler output


hash.c: hash.c:230:9: warning: unknown pragma ignored [-Wunknown-pragmas]
hash.c:   230 | #pragma vector aligned
hash.c:       |         ^
hash.c: hash.c:239:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline]
hash.c:   239 |   static u64 y[COLS1024] __attribute__((aligned(16)));
hash.c:       |   ^
hash.c: hash.c:238:1: note: use 'static' to give inline function 'F1024' internal linkage
hash.c:   238 | inline void F1024(u64 *h, const u64 *m) {
hash.c:       | ^
hash.c:       | static
hash.c: hash.c:240:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline]
hash.c:   240 |   static u64 z[COLS1024] __attribute__((aligned(16)));
hash.c:       |   ^
hash.c: hash.c:238:1: note: use 'static' to give inline function 'F1024' internal linkage
hash.c:   238 | inline void F1024(u64 *h, const u64 *m) {
hash.c:       | ^
hash.c:       | static
hash.c: hash.c:241:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline]
hash.c:   241 |   static u64 outQ[COLS1024] __attribute__((aligned(16)));
hash.c:       |   ^
hash.c: hash.c:238:1: note: use 'static' to give inline function 'F1024' internal linkage
hash.c:   238 | inline void F1024(u64 *h, const u64 *m) {
hash.c:       | ^
hash.c:       | static
hash.c: hash.c:242:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline]
hash.c: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:opt-64clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:opt-64clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:opt-64clang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

Namespace violations


hash.o F1024 T
hash.o F512 T
hash.o Final T
hash.o Hash T
hash.o Init T
hash.o OutputTransformation T
hash.o PrintHash T
hash.o RND1024P T
hash.o RND1024Q T
hash.o RND512P T
hash.o RND512Q T
hash.o T R
hash.o Transform T
hash.o Update T
mGroestl.o F1024 T
mGroestl.o F512 T
mGroestl.o Final T
mGroestl.o Hash T
mGroestl.o Init T
mGroestl.o OutputTransformation T
mGroestl.o PrintHash T
mGroestl.o RND1024P T
mGroestl.o RND1024Q T
mGroestl.o RND512P T
mGroestl.o RND512Q T
mGroestl.o T R
mGroestl.o Transform T
mGroestl.o Update T

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:opt-32cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:opt-32cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:opt-32clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:opt-32clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:opt-32clang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

Namespace violations


hash.o AddRoundConstant T
hash.o Final T
hash.o Hash T
hash.o Init T
hash.o MixBytes T
hash.o OutputTransformation T
hash.o P T
hash.o PrintHash T
hash.o Q T
hash.o S D
hash.o Shift D
hash.o ShiftBytes T
hash.o SubBytes T
hash.o Transform T
hash.o Update T

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:refcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:refclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))