Test results for amd64, cherry, crypto_hash/mcssha4
[Page version: 20241024 06:43:23]
Measurements for amd64, cherry, crypto_hash
Test results for amd64, cherry, crypto_hash
Test results for crypto_hash/mcssha4
Computer: cherry
Microarchitecture: amd64; Silvermont (406c4)
Architecture: amd64
CPU ID: GenuineIntel-000406c4-bfebfbff
SUPERCOP version: 20241022
Operation: crypto_hash
Primitive: mcssha4
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
75545 | 6965 0 0 | 19312 780 952 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240718 | 20240716 |
75793 | 4018 0 0 | 14607 772 952 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240718 | 20240716 |
76038 | 4135 0 0 | 15304 780 952 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240718 | 20240716 |
80309 | 3742 0 0 | 14294 804 888 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240718 | 20240716 |
81206 | 4142 0 0 | 17344 812 888 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240718 | 20240716 |
81257 | 4812 0 0 | 16104 812 888 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240718 | 20240716 |
81451 | 4398 0 0 | 17192 812 888 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240718 | 20240716 |
90688 | 3193 0 0 | 12779 756 920 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240718 | 20240716 |
92765 | 3463 0 0 | 13510 804 888 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240718 | 20240716 |
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:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -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:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
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:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |