Implementation notes: amd64, comet, crypto_sign/ntrumls401x

Computer: comet
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_sign
Primitive: ntrumls401x
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
80317225611 322 416460005 1132 6016T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
94621433757 322 416069930 1204 5984T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
94732630345 322 416066242 1204 5952T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
114397315276 322 416447797 1132 6016T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
115019729888 322 416064386 1204 5920T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
117403614614 322 416046711 1212 5920T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
120509014679 322 416446814 1140 6016T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
140453313958 322 416046808 1196 5984T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
146728912372 322 416443294 1132 5984T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625

Compiler output


sign.c: sign.c:48:6: warning: variable 'rc' is uninitialized when used here [-Wuninitialized]
sign.c:   if(rc == PQNTRU_ERROR)
sign.c:      ^~
sign.c: sign.c:40:9: note: initialize the variable 'rc' to silence this warning
sign.c:   int rc;
sign.c:         ^
sign.c:          = 0
sign.c: sign.c:86:6: warning: variable 'rc' is uninitialized when used here [-Wuninitialized]
sign.c:   if(rc == PQNTRU_ERROR)
sign.c:      ^~
sign.c: sign.c:76:9: note: initialize the variable 'rc' to silence this warning
sign.c:   int rc;
sign.c:         ^
sign.c:          = 0
sign.c: 2 warnings generated.

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

Compiler output


sign.c: sign.c: In function 'crypto_sign_ntrumls401x_ref_timingleaks_keypair':
sign.c: sign.c:48:5: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized]
sign.c:    48 |   if(rc == PQNTRU_ERROR)
sign.c:       |     ^
sign.c: sign.c:40:7: note: 'rc' was declared here
sign.c:    40 |   int rc;
sign.c:       |       ^~
sign.c: sign.c: In function 'crypto_sign_ntrumls401x_ref_timingleaks':
sign.c: sign.c:86:5: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized]
sign.c:    86 |   if(rc == PQNTRU_ERROR)
sign.c:       |     ^
sign.c: sign.c:76:7: note: 'rc' was declared here
sign.c:    76 |   int rc;
sign.c:       |       ^~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)