Test results for amd64, hertz, crypto_hash/mcssha6
[Page version: 20241028 01:32:29]
Measurements for amd64, hertz, crypto_hash
Test results for amd64, hertz, crypto_hash
Test results for crypto_hash/mcssha6
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20241022
Operation: crypto_hash
Primitive: mcssha6
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
78789 | 5599 0 0 | 19245 804 1064 | T:ref | cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241024 | 20241022 |
78863 | 10014 0 0 | 25366 828 968 | T:ref | clang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241024 | 20241022 |
79947 | 10014 0 0 | 25334 828 968 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241024 | 20241022 |
83923 | 4028 0 0 | 14392 780 936 | T:ref | cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241024 | 20241022 |
85092 | 5334 0 0 | 17096 820 968 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241024 | 20241022 |
Compiler output
mcssha6.c: mcssha6.c: In function 'Init':
mcssha6.c: mcssha6.c:60:23: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mcssha6.c: 60 | if(hashbitlen == 224 | hashbitlen == 256)
mcssha6.c: | ~~~~~~~~~~~^~~~~~
mcssha6.c: mcssha6.c:54:22: warning: unused variable 'filename' [-Wunused-variable]
mcssha6.c: 54 | char filename[128];
mcssha6.c: | ^~~~~~~~
mcssha6.c: mcssha6.c: In function 'Update':
mcssha6.c: mcssha6.c:98:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
mcssha6.c: 98 | if(data == NULL & databitlen == 0)return(SUCCESS);
mcssha6.c: | ^
mcssha6.c: mcssha6.c:99:25: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
mcssha6.c: 99 | if(data == NULL & databitlen != 0)return(BAD_HASHBITLEN);
mcssha6.c: | ^
mcssha6.c: mcssha6.c:113:29: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mcssha6.c: 113 | if(c->hashbitlen == 224 | c->hashbitlen == 256)
mcssha6.c: | ~~~~~~~~~~~~~~^~~~~~
mcssha6.c: mcssha6.c:159:29: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mcssha6.c: 159 | if(c->hashbitlen == 224 | c->hashbitlen == 256)
mcssha6.c: | ~~~~~~~~~~~~~~^~~~~~
mcssha6.c: mcssha6.c: In function 'Final':
mcssha6.c: mcssha6.c:378:40: warning: unused variable 'last' [-Wunused-variable]
mcssha6.c: 378 | BitSequence empty,bits,last;
mcssha6.c: | ^~~~
mcssha6.c: mcssha6.c:378:35: warning: unused variable 'bits' [-Wunused-variable]
mcssha6.c: ...
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:ref | cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
mcssha6.c: mcssha6.c:54:8: warning: unused variable 'filename' [-Wunused-variable]
mcssha6.c: 54 | char filename[128];
mcssha6.c: | ^~~~~~~~
mcssha6.c: mcssha6.c:376:26: warning: unused variable 'x1' [-Wunused-variable]
mcssha6.c: 376 | register unsigned long x1,x2,x3,x4,i;
mcssha6.c: | ^~
mcssha6.c: mcssha6.c:376:29: warning: unused variable 'x2' [-Wunused-variable]
mcssha6.c: 376 | register unsigned long x1,x2,x3,x4,i;
mcssha6.c: | ^~
mcssha6.c: mcssha6.c:376:32: warning: unused variable 'x3' [-Wunused-variable]
mcssha6.c: 376 | register unsigned long x1,x2,x3,x4,i;
mcssha6.c: | ^~
mcssha6.c: mcssha6.c:376:35: warning: unused variable 'x4' [-Wunused-variable]
mcssha6.c: 376 | register unsigned long x1,x2,x3,x4,i;
mcssha6.c: | ^~
mcssha6.c: mcssha6.c:378:15: warning: unused variable 'empty' [-Wunused-variable]
mcssha6.c: 378 | BitSequence empty,bits,last;
mcssha6.c: | ^~~~~
mcssha6.c: mcssha6.c:378:21: warning: unused variable 'bits' [-Wunused-variable]
mcssha6.c: 378 | BitSequence empty,bits,last;
mcssha6.c: | ^~~~
mcssha6.c: mcssha6.c:378:26: warning: unused variable 'last' [-Wunused-variable]
mcssha6.c: 378 | BitSequence empty,bits,last;
mcssha6.c: | ^~~~
mcssha6.c: 8 warnings generated.
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1)) |
T:ref | clang -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
mcssha6.o CalculateFinalState T
mcssha6.o Final T
mcssha6.o Hash T
mcssha6.o Init T
mcssha6.o MCSSHA6Reverse T
mcssha6.o Update T
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1)) |
T:ref | clang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1)) |