Test results for amd64, speed2supercop, crypto_hash/mcssha5

[Page version: 20240911 13:07:51]

Measurements for amd64, speed2supercop, crypto_hash Test results for amd64, speed2supercop, crypto_hash Test results for crypto_hash/mcssha5
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240909
Operation: crypto_hash
Primitive: mcssha5
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
837004698 0 017222 792 728T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
838085330 0 019301 792 744T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
838365565 0 019237 792 744T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
838924250 0 014198 792 728T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
839203973 0 013916 744 800T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
841605071 0 017309 752 800T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
842924498 0 014717 752 800T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
916683573 0 012504 728 768T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
949086161 0 016919 784 792T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024070320240625

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_16.0.6_(27+b1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

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