Test results for amd64, hydra4, crypto_hash/mcssha4

[Page version: 20241024 06:34:08]

Measurements for amd64, hydra4, crypto_hash Test results for amd64, hydra4, crypto_hash Test results for crypto_hash/mcssha4
Computer: hydra4
Microarchitecture: amd64; K10 32nm (300f10)
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20241022
Operation: crypto_hash
Primitive: mcssha4
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
757563426 0 013502 804 888T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062820240625
783423742 0 014342 804 888T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062820240625
858834398 0 017224 812 888T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062820240625
858914398 0 017224 812 888T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062820240625
859135084 0 016800 812 888T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062820240625
882295367 0 017888 780 952T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062820240625
886744268 0 015576 780 952T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062820240625
890563305 0 012939 756 920T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062820240625
936483960 0 014543 772 952T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062820240625

Compiler output


mcssha4.c: mcssha4.c:54:8: warning: unused variable 'filename' [-Wunused-variable]
mcssha4.c:                 char filename[128];
mcssha4.c:                      ^
mcssha4.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


mcssha4.c: mcssha4.c: In function 'Init':
mcssha4.c: mcssha4.c:60:23: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mcssha4.c:    60 |         if(hashbitlen == 224 | hashbitlen == 256)
mcssha4.c:       |            ~~~~~~~~~~~^~~~~~
mcssha4.c: mcssha4.c:54:8: warning: unused variable 'filename' [-Wunused-variable]
mcssha4.c:    54 |   char filename[128];
mcssha4.c:       |        ^~~~~~~~
mcssha4.c: mcssha4.c: In function 'Update':
mcssha4.c: mcssha4.c:103:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
mcssha4.c:   103 |         if(data == NULL & databitlen == 0)return(SUCCESS);
mcssha4.c:       |                 ^
mcssha4.c: mcssha4.c:104:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
mcssha4.c:   104 |   if(data == NULL & databitlen != 0)return(BAD_HASHBITLEN);
mcssha4.c:       |           ^
mcssha4.c: mcssha4.c:122:29: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mcssha4.c:   122 |            if(c->hashbitlen == 224 | c->hashbitlen == 256)
mcssha4.c:       |               ~~~~~~~~~~~~~~^~~~~~
mcssha4.c: mcssha4.c:168:29: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mcssha4.c:   168 |            if(c->hashbitlen == 224 | c->hashbitlen == 256)
mcssha4.c:       |               ~~~~~~~~~~~~~~^~~~~~
mcssha4.c: mcssha4.c: In function 'Final':
mcssha4.c: mcssha4.c:242:26: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mcssha4.c:   242 |         if(c->hashbitlen == 224 | c->hashbitlen == 256)
mcssha4.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)