Implementation notes: aarch64, pi4b, crypto_hash/nasha256
Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240716
Operation: crypto_hash
Primitive: nasha256
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
28436 | 10240 0 0 | 24833 896 744 | T:opt | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
28436 | 8492 0 0 | 21051 872 744 | T:opt | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
28436 | 11612 0 0 | 25251 872 752 | T:opt | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
28436 | 8268 0 0 | 20722 864 744 | T:opt | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
28436 | 7500 0 0 | 18979 856 736 | T:opt | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
28436 | 37596 0 131076 | 50137 896 131824 | T:opt_v4 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
28436 | 26868 0 131080 | 39419 872 131824 | T:opt_v4 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
28436 | 29500 0 131088 | 43155 872 131848 | T:opt_v4 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
28436 | 26108 0 131080 | 38554 864 131824 | T:opt_v4 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
28436 | 26372 0 131076 | 37859 856 131808 | T:opt_v4 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
Compiler output
Nasha.c: Nasha.c:243:17: warning: unused variable 'pom' [-Wunused-variable]
Nasha.c: uint_64t pom=state->count[1];
Nasha.c: ^
Nasha.c: Nasha.c:462:17: warning: unused variable 'pom' [-Wunused-variable]
Nasha.c: uint_64t pom=state->count[1];
Nasha.c: ^
Nasha.c: Nasha.c:627:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
Nasha.c: }
Nasha.c: ^
Nasha.c: Nasha.c:646:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
Nasha.c: }
Nasha.c: ^
Nasha.c: Nasha.c:656:30: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare]
Nasha.c: if (hashbitlen != 224 || hashbitlen != 256 || hashbitlen != 384 || hashbitlen!=512)
Nasha.c: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Nasha.c: 5 warnings generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
Nasha.c: Nasha.c: In function 'Nasha_Final1':
Nasha.c: Nasha.c:243:17: warning: unused variable 'pom' [-Wunused-variable]
Nasha.c: 243 | uint_64t pom=state->count[1];
Nasha.c: | ^~~
Nasha.c: Nasha.c: In function 'Nasha_Final2':
Nasha.c: Nasha.c:462:17: warning: unused variable 'pom' [-Wunused-variable]
Nasha.c: 462 | uint_64t pom=state->count[1];
Nasha.c: | ^~~
Nasha.c: Nasha.c: In function 'Update':
Nasha.c: Nasha.c:627:1: warning: control reaches end of non-void function [-Wreturn-type]
Nasha.c: 627 | }
Nasha.c: | ^
Nasha.c: Nasha.c: In function 'Final':
Nasha.c: Nasha.c:646:1: warning: control reaches end of non-void function [-Wreturn-type]
Nasha.c: 646 | }
Nasha.c: | ^
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
Nasha.c: Nasha.c:304:17: warning: unused variable 'pom' [-Wunused-variable]
Nasha.c: uint_64t pom=state->count[1];
Nasha.c: ^
Nasha.c: Nasha.c:682:17: warning: unused variable 'pom' [-Wunused-variable]
Nasha.c: uint_64t pom=state->count[1];
Nasha.c: ^
Nasha.c: Nasha.c:815:29: warning: incompatible pointer to integer conversion assigning to 'uint_16t' (aka 'unsigned short') from 'uint_16t[256]' (aka 'unsigned short[256]') [-Wint-conversion]
Nasha.c: ssbox[i][j] = ssbox[i^j];
Nasha.c: ^ ~~~~~~~~~~
Nasha.c: Nasha.c:854:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
Nasha.c: }
Nasha.c: ^
Nasha.c: Nasha.c:873:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
Nasha.c: }
Nasha.c: ^
Nasha.c: Nasha.c:883:30: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare]
Nasha.c: if (hashbitlen != 224 || hashbitlen != 256 || hashbitlen != 384 || hashbitlen!=512)
Nasha.c: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Nasha.c: 6 warnings generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:opt_v4 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
Nasha.c: Nasha.c: In function 'Nasha_Final1':
Nasha.c: Nasha.c:304:17: warning: unused variable 'pom' [-Wunused-variable]
Nasha.c: 304 | uint_64t pom=state->count[1];
Nasha.c: | ^~~
Nasha.c: Nasha.c: In function 'Nasha_Final2':
Nasha.c: Nasha.c:682:17: warning: unused variable 'pom' [-Wunused-variable]
Nasha.c: 682 | uint_64t pom=state->count[1];
Nasha.c: | ^~~
Nasha.c: Nasha.c: In function 'Init':
Nasha.c: Nasha.c:815:29: warning: assignment to 'uint_16t' {aka 'short unsigned int'} from 'uint_16t *' {aka 'short unsigned int *'} makes integer from pointer without a cast [-Wint-conversion]
Nasha.c: 815 | ssbox[i][j] = ssbox[i^j];
Nasha.c: | ^
Nasha.c: Nasha.c: In function 'Update':
Nasha.c: Nasha.c:854:1: warning: control reaches end of non-void function [-Wreturn-type]
Nasha.c: 854 | }
Nasha.c: | ^
Nasha.c: Nasha.c: In function 'Final':
Nasha.c: Nasha.c:873:1: warning: control reaches end of non-void function [-Wreturn-type]
Nasha.c: 873 | }
Nasha.c: | ^
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:opt_v4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:opt_v4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:opt_v4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:opt_v4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |