Implementation notes: amd64, firefly, crypto_kem/remblem1056

Computer: firefly
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: remblem1056
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
100867428816 4320 2032963 5232 1688T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121420201130
1333247934454 4320 2060459 5232 1688T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121420201130
1379215719507 4312 1744660 5200 1656T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121420201130
145775387892 4320 2031755 5232 1688T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121420201130
1467165417693 4312 1742364 5200 1656T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121420201130
149433536309 4320 2029031 5224 1656T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121420201130
159355738428 4312 1731154 5192 1656T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121420201130
1652625915842 4312 1740108 5200 1656T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121420201130
1666678915842 4312 1740108 5200 1656T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121420201130

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
kem.c: kem.c:366:24: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
kem.c: bytes_from_modq(pk+32,pPubKey_B,CRYPTO_R_n);
kem.c: ^~~~~~~~~
kem.c: kem.c:27:60: note: passing argument to parameter 'x' here
kem.c: static void bytes_from_modq(unsigned char *y,unsigned int *x,int xlen)
kem.c: ^
kem.c: kem.c:571:24: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
kem.c: bytes_from_modq(ct+32,C_KEM,CRYPTO_R_n + CRYPTO_R_msg);
kem.c: ^~~~~
kem.c: kem.c:27:60: note: passing argument to parameter 'x' here
kem.c: static void bytes_from_modq(unsigned char *y,unsigned int *x,int xlen)
kem.c: ^
kem.c: 2 warnings generated.

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
kem.o CDT_TABLE D
kem.o INTT T
kem.o NTT T
kem.o NTT_new T
kem.o SHA256_INT T
kem.o SHA256_OS T
kem.o Sample_CDT T
kem.o _BINT_to_OS T
kem.o _OS_to_BINT T
kem.o _R_KEM_Enc T
kem.o _R_KEM_GenTrinary T
kem.o _R_KEM_dec T
kem.o fmodq T
kem.o intt_512_40961 D
kem.o ntt_512_40961 D
kem.o p_add T
kem.o p_mul T
kem.o p_muladd T
kem.o random_modq T
rng.o AES256_CTR_DRBG_Update T
rng.o AES256_ECB T
rng.o DRBG_ctx C
rng.o handleErrors T
rng.o seedexpander T
rng.o seedexpander_init T
rng.o xrandombytes T
rng.o xrandombytes_init T

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref