Test results for amd64, hertz, crypto_scalarmult/nistp256

[Page version: 20241028 01:32:29]

Measurements for amd64, hertz, crypto_scalarmult Test results for amd64, hertz, crypto_scalarmult Test results for crypto_scalarmult/nistp256
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20241022
Operation: crypto_scalarmult
Primitive: nistp256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
181986220258 30720 052457 31572 1832T:mj32clang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
186883519437 30720 051593 31572 1832T:mj32clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
241961113691 30720 043988 31548 1928T:mj32cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
299909811810 30720 040427 31564 1832T:mj32clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
377447010832 30720 037700 31540 1800T:mj32cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022

Compiler output


gep256.c: gep256.c: In function 'isneutral':
gep256.c: gep256.c:83:28: warning: 'sizeof' on array function parameter 'p' will return size of 'uint32_t (*)[8]' {aka 'unsigned int (*)[8]'} [-Wsizeof-array-argument]
gep256.c:    83 |     for (i = 0; i < sizeof p; ++i) x |= ((unsigned char *)p)[i];
gep256.c:       |                            ^
gep256.c: gep256.c:78:29: note: declared here
gep256.c:    78 | static int isneutral(gep256 p) {
gep256.c:       |                      ~~~~~~~^
gep256.c: gep256.c: In function 'isneutral_precomp':
gep256.c: gep256.c:92:28: warning: 'sizeof' on array function parameter 'p' will return size of 'uint32_t (*)[8]' {aka 'unsigned int (*)[8]'} [-Wsizeof-array-argument]
gep256.c:    92 |     for (i = 0; i < sizeof p; ++i) x |= ((unsigned char *)p)[i];
gep256.c:       |                            ^
gep256.c: gep256.c:87:45: note: declared here
gep256.c:    87 | static int isneutral_precomp(gep256_precomp p) {
gep256.c:       |                              ~~~~~~~~~~~~~~~^

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:mj32cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:mj32cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Compiler output


gep256.c: gep256.c:83:28: warning: sizeof on array function parameter will return size of 'fe *' (aka 'unsigned int (*)[8]') instead of 'gep256' (aka 'unsigned int[3][8]') [-Wsizeof-array-argument]
gep256.c:    83 |     for (i = 0; i < sizeof p; ++i) x |= ((unsigned char *)p)[i];
gep256.c:       |                            ^
gep256.c: gep256.c:78:29: note: declared here
gep256.c:    78 | static int isneutral(gep256 p) {
gep256.c:       |                             ^
gep256.c: gep256.c:92:28: warning: sizeof on array function parameter will return size of 'fe *' (aka 'unsigned int (*)[8]') instead of 'gep256_precomp' (aka 'unsigned int[2][8]') [-Wsizeof-array-argument]
gep256.c:    92 |     for (i = 0; i < sizeof p; ++i) x |= ((unsigned char *)p)[i];
gep256.c:       |                            ^
gep256.c: gep256.c:87:45: note: declared here
gep256.c:    87 | static int isneutral_precomp(gep256_precomp p) {
gep256.c:       |                                             ^
gep256.c: 2 warnings generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:mj32clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:mj32clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:mj32clang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))