Implementation notes: amd64, alder2,1f626960,3300000, crypto_hash/nasha512

Computer: alder2,1f626960,3300000
Microarchitecture: amd64; Gracemont (906a4-20)
Architecture: amd64
CPU ID: GenuineIntel-000906a4-20-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: nasha512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1976746574 0 13108857472 812 131992T:opt_v4clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2046828065 0 13108838726 804 131992T:opt_v4clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2097133609 0 13108846496 812 131992T:opt_v4clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2166133389 0 13108846112 812 131992T:opt_v4clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2229738045 0 13110451240 780 132056T:opt_v4gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2249132023 0 13108842350 804 131992T:opt_v4clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2254032004 0 13110443152 780 132056T:opt_v4gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2284630201 0 13110440887 772 132056T:opt_v4gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2413911053 0 022200 780 952T:optgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
250418560 0 019255 772 952T:optgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2517614782 0 027968 780 952T:optgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2539212890 0 025808 812 888T:optclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2541611821 0 024752 812 920T:optclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2542311602 0 024400 812 920T:optclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
262868977 0 019638 804 888T:optclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
262878939 0 019310 804 888T:optclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
281197999 0 017707 756 920T:optgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2863528315 0 13110438027 756 132024T:opt_v4gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

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: 5, namely:
ImplementationCompiler
T:optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:optclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:optclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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:
ImplementationCompiler
T:optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

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]' [-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: 5, namely:
ImplementationCompiler
T:opt_v4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:opt_v4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:opt_v4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:opt_v4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:opt_v4clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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:
ImplementationCompiler
T:opt_v4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:opt_v4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:opt_v4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:opt_v4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)