Implementation notes: aarch64, pi4b, crypto_hash/mcssha5
Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240716
Operation: crypto_hash
Primitive: mcssha5
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
77343 | 4560 0 0 | 19097 896 744 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
85308 | 4472 0 0 | 16979 872 744 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
85308 | 4936 0 0 | 18523 872 752 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
85308 | 4080 0 0 | 16378 864 744 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
85308 | 3892 0 0 | 15243 856 736 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
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: 1, namely:
Implementation | Compiler |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
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 (11.4.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |