Test results for amd64, trident, crypto_hash/mcssha6

[Page version: 20241027 17:25:10]

Measurements for amd64, trident, crypto_hash Test results for amd64, trident, crypto_hash Test results for crypto_hash/mcssha6
Computer: trident
Microarchitecture: amd64; Core 2 65nm (6fb)
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20241022
Operation: crypto_hash
Primitive: mcssha6
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
699253726 0 013283 756 920T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
704045238 0 018280 812 888T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
704265588 0 017416 812 888T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
705754309 0 014350 804 888T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
706065382 0 018152 812 888T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
707514382 0 014926 804 888T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
709874962 0 015511 772 952T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
718696817 0 018800 780 952T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
725005292 0 016280 780 952T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062920240625

Compiler output


mcssha6.c: mcssha6.c:54:8: warning: unused variable 'filename' [-Wunused-variable]
mcssha6.c:                 char filename[128];
mcssha6.c:                      ^
mcssha6.c: mcssha6.c:376:26: warning: unused variable 'x1' [-Wunused-variable]
mcssha6.c:                 register unsigned long x1,x2,x3,x4,i;
mcssha6.c:                                        ^
mcssha6.c: mcssha6.c:376:29: warning: unused variable 'x2' [-Wunused-variable]
mcssha6.c:                 register unsigned long x1,x2,x3,x4,i;
mcssha6.c:                                           ^
mcssha6.c: mcssha6.c:376:32: warning: unused variable 'x3' [-Wunused-variable]
mcssha6.c:                 register unsigned long x1,x2,x3,x4,i;
mcssha6.c:                                              ^
mcssha6.c: mcssha6.c:376:35: warning: unused variable 'x4' [-Wunused-variable]
mcssha6.c:                 register unsigned long x1,x2,x3,x4,i;
mcssha6.c:                                                 ^
mcssha6.c: mcssha6.c:378:15: warning: unused variable 'empty' [-Wunused-variable]
mcssha6.c:                 BitSequence empty,bits,last;
mcssha6.c:                             ^
mcssha6.c: mcssha6.c:378:21: warning: unused variable 'bits' [-Wunused-variable]
mcssha6.c:                 BitSequence empty,bits,last;
mcssha6.c:                                   ^
mcssha6.c: mcssha6.c:378:26: warning: unused variable 'last' [-Wunused-variable]
mcssha6.c:                 BitSequence empty,bits,last;
mcssha6.c:                                        ^
mcssha6.c: 8 warnings 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


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:8: 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:11: 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:26: warning: unused variable 'last' [-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: ...

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)