Test results for amd64, speed2supercop, crypto_hash/mcssha5
[Page version: 20250928 18:31:37]
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: 20250922
Operation: crypto_hash
Primitive: mcssha5
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version | 
|---|
| 78992 | 5394 0 0 | 20085 792 792 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250310 | 20250307 | 
| 79044 | 5654 0 0 | 20285 792 792 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250310 | 20250307 | 
| 83712 | 4674 0 0 | 21086 792 728 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250310 | 20250307 | 
| 83836 | 4069 0 0 | 14236 744 800 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250310 | 20250307 | 
| 83996 | 4218 0 0 | 14230 792 728 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250310 | 20250307 | 
| 84356 | 5145 0 0 | 17413 752 800 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250310 | 20250307 | 
| 84640 | 4581 0 0 | 14965 752 800 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250310 | 20250307 | 
| 91724 | 3552 0 0 | 12488 728 768 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250310 | 20250307 | 
| 94932 | 6423 0 0 | 17407 784 792 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250310 | 20250307 | 
Compiler output
mcssha5.c: mcssha5.c:55:8: warning: unused variable 'filename' [-Wunused-variable]
mcssha5.c:    55 |                 char filename[128];
mcssha5.c:       |                      ^~~~~~~~
mcssha5.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_19.1.7_(3+b1)) | 
| T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) | 
| T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) | 
| T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) | 
| T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+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:
| Implementation | Compiler | 
| T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) | 
| T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) | 
| T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) | 
| T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) | 
Namespace violations
mcssha5.o Final T
mcssha5.o Hash T
mcssha5.o Init T
mcssha5.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_19.1.7_(3+b1)) | 
| T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) | 
| T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) | 
| T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) | 
| T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) | 
| T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) | 
| T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) | 
| T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) | 
| T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |