Test results for amd64, speed2supercop, crypto_hash/mcssha4

[Page version: 20241023 21:37:24]

Measurements for amd64, speed2supercop, crypto_hash Test results for amd64, speed2supercop, crypto_hash Test results for crypto_hash/mcssha4
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20241022
Operation: crypto_hash
Primitive: mcssha4
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
803604218 0 016758 792 728T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
805683858 0 013806 792 728T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
806205469 0 018998 792 744T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
806804962 0 018958 792 744T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
807523565 0 013516 744 800T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
808644775 0 017021 752 800T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
814003946 0 014165 752 800T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
880403221 0 012152 728 768T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024070320240625
914845684 0 016463 784 792T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024070320240625

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_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


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