Test results for amd64, rome0, crypto_hash/mcssha5

[Page version: 20241022 18:42:25]

Measurements for amd64, rome0, crypto_hash Test results for amd64, rome0, crypto_hash Test results for crypto_hash/mcssha5
Computer: rome0
Microarchitecture: amd64; Zen 2 (830f10)
Architecture: amd64
CPU ID: AuthenticAMD-00830f10-178bfbff
SUPERCOP version: 20241022
Operation: crypto_hash
Primitive: mcssha5
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
883624838 0 017648 812 888T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024072120240716
884515747 0 018504 780 952T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024072120240716
886043990 0 014510 804 888T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024072120240716
886744467 0 015071 772 952T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024072120240716
891224668 0 015752 780 952T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024072120240716
899254674 0 017104 812 920T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024072120240716
900194422 0 017112 812 920T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024072120240716
964373892 0 014134 804 888T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024072120240716
1017043723 0 013363 756 920T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024072120240716

Compiler output


mcssha5.c: mcssha5.c:55:8: warning: unused variable 'filename' [-Wunused-variable]
mcssha5.c:                 char filename[128];
mcssha5.c:                      ^
mcssha5.c: 1 warning generated.

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

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:8: 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:11: 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: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Namespace violations


mcssha5.o Final T
mcssha5.o Hash T
mcssha5.o Init T
mcssha5.o Update T

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)