Test results for amd64, know, crypto_scalarmult/nistp256

[Page version: 20241023 21:33:59]

Measurements for amd64, know, crypto_scalarmult Test results for amd64, know, crypto_scalarmult Test results for crypto_scalarmult/nistp256
Computer: know
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20241022
Operation: crypto_scalarmult
Primitive: nistp256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
233180917477 30720 040633 31588 1728T:mj32clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
263404312820 30720 036764 31516 1792T:mj32gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
269287712881 30720 037417 31588 1760T:mj32clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
269507516897 30720 041697 31588 1792T:mj32clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
325711411630 30720 033716 31516 1792T:mj32gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
332824710196 30720 031863 31580 1792T:mj32clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
368178711536 30720 032417 31588 1728T:mj32clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
49806809824 30720 029516 31508 1760T:mj32gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
722715411149 30720 032060 31516 1792T:mj32gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024101320241011

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:     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: 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:     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: static int isneutral_precomp(gep256_precomp p) {
gep256.c:                                             ^
gep256.c: 2 warnings generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:mj32clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:mj32clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:mj32clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:mj32clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:mj32clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)

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