Test results for amd64, h6sandy, crypto_hash/mcssha4

[Page version: 20240911 12:55:31]

Measurements for amd64, h6sandy, crypto_hash Test results for amd64, h6sandy, crypto_hash Test results for crypto_hash/mcssha4
Computer: h6sandy
Microarchitecture: amd64; Sandy Bridge (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240909
Operation: crypto_hash
Primitive: mcssha4
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
805704854 0 019043 844 896T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071820240716
809724152 0 015933 804 960T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024071820240716
810304163 0 015484 796 960T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024071820240716
812495324 0 018365 804 960T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024071820240716
813474550 0 017411 844 896T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071820240716
814565589 0 017579 844 896T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071820240716
831804086 0 014771 844 896T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071820240716
885173453 0 013720 780 928T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024071820240716
911473917 0 014197 836 896T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071820240716

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 (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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:22: 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:25: 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 (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Namespace violations


mcssha4.o Final T
mcssha4.o Hash T
mcssha4.o Hash3 T
mcssha4.o Init T
mcssha4.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 (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)