Test results for amd64, hertz, crypto_hash/mcssha5
[Page version: 20240912 08:40:39]
Measurements for amd64, hertz, crypto_hash
Test results for amd64, hertz, crypto_hash
Test results for crypto_hash/mcssha5
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240909
Operation: crypto_hash
Primitive: mcssha5
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
84986 | 24109 0 0 | 41758 828 968 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240910 | 20240909 |
85203 | 23854 0 0 | 41606 828 968 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240910 | 20240909 |
86852 | 3792 0 0 | 14016 780 936 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240910 | 20240909 |
87753 | 5061 0 0 | 18861 804 1032 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240910 | 20240909 |
87854 | 4750 0 0 | 16445 804 968 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240910 | 20240909 |
90273 | 5158 0 0 | 16648 820 968 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240910 | 20240909 |
Compiler output
mcssha5.c: mcssha5.c:55:8: warning: unused variable 'filename' [-Wunused-variable]
mcssha5.c: 55 | char filename[128];
mcssha5.c: | ^~~~~~~~
mcssha5.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
mcssha5.c: mcssha5.c: In function 'Init':
mcssha5.c: mcssha5.c:61:23: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mcssha5.c: 61 | if(hashbitlen == 224 | hashbitlen == 256)
mcssha5.c: | ~~~~~~~~~~~^~~~~~
mcssha5.c: mcssha5.c:55:22: warning: unused variable 'filename' [-Wunused-variable]
mcssha5.c: 55 | char filename[128];
mcssha5.c: | ^~~~~~~~
mcssha5.c: mcssha5.c: In function 'Update':
mcssha5.c: mcssha5.c:104:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
mcssha5.c: 104 | if(data == NULL & databitlen == 0)return(SUCCESS);
mcssha5.c: | ^
mcssha5.c: mcssha5.c:105:25: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
mcssha5.c: 105 | if(data == NULL & databitlen != 0)return(BAD_HASHBITLEN);
mcssha5.c: | ^
mcssha5.c: mcssha5.c:123:29: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mcssha5.c: 123 | if(c->hashbitlen == 224 | c->hashbitlen == 256)
mcssha5.c: | ~~~~~~~~~~~~~~^~~~~~
mcssha5.c: mcssha5.c:169:29: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mcssha5.c: 169 | if(c->hashbitlen == 224 | c->hashbitlen == 256)
mcssha5.c: | ~~~~~~~~~~~~~~^~~~~~
mcssha5.c: mcssha5.c: In function 'Final':
mcssha5.c: mcssha5.c:243:26: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mcssha5.c: 243 | if(c->hashbitlen == 224 | c->hashbitlen == 256)
mcssha5.c: | ~~~~~~~~~~~~~~^~~~~~
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
mcssha5.o Final T
mcssha5.o Hash T
mcssha5.o Init T
mcssha5.o Update T
Number of similar (implementation,compiler) pairs: 6, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |