Test results for amd64, hertz, crypto_scalarmult/nistp256

[Page version: 20240912 08:40:39]

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: 20240909
Operation: crypto_scalarmult
Primitive: nistp256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
185797719197 30720 053185 31572 1832T:mj32clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024091020240909
214711115389 30720 049265 31572 1832T:mj32clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024091020240909
234092213727 30720 043708 31548 1896T:mj32gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024091020240909
294102611540 30720 039419 31564 1832T:mj32clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024091020240909
323016212621 30720 040580 31548 1832T:mj32gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024091020240909
388683510861 30720 036916 31540 1800T:mj32gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024091020240909

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 -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:mj32clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:mj32clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

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: 3, namely:
ImplementationCompiler
T:mj32gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:mj32gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:mj32gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)