Implementation notes: amd64, dali, crypto_hash/mcssha6
Computer: dali
Microarchitecture: amd64; Zen (820f01)
Architecture: amd64
CPU ID: AuthenticAMD-00820f01-178bfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: mcssha6
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
85081 | 6325 0 0 | 18472 780 952 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
85172 | 5382 0 0 | 18208 812 888 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
85460 | 4398 0 0 | 14934 804 888 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
85486 | 5180 0 0 | 16296 780 952 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
85509 | 4809 0 0 | 15423 772 952 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
87435 | 5046 0 0 | 17752 812 920 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
87509 | 5338 0 0 | 17784 812 920 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
91792 | 4497 0 0 | 14766 804 888 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
98450 | 3931 0 0 | 13579 756 920 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
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:
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
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:
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) |