Test results for armeabi, berry2, crypto_kem/lightsaber2

[Page version: 20241120 00:22:57]

Measurements for armeabi, berry2, crypto_kem Test results for armeabi, berry2, crypto_kem Test results for crypto_kem/lightsaber2
Computer: berry2
Microarchitecture: armeabi; Cortex-A7 (410fc075)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240909
Operation: crypto_kem
Primitive: lightsaber2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
281684528373 0 042545 408 1528T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102120240909
313463415461 0 027989 408 1528T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102120240909
333991414301 0 026777 408 1528T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102120240909
385021413699 0 025353 400 1528T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102120240909

Compiler output


SABER_indcpa.c: In file included from SABER_indcpa.c:5:
SABER_indcpa.c: SABER_indcpa.h:4:10: fatal error: immintrin.h: No such file or directory
SABER_indcpa.c:     4 | #include <immintrin.h>
SABER_indcpa.c:       |          ^~~~~~~~~~~~~
SABER_indcpa.c: compilation terminated.

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

Compiler output


SABER_indcpa.c: In file included from SABER_indcpa.c:20:
SABER_indcpa.c: SABER_indcpa.h:4:10: fatal error: immintrin.h: No such file or directory
SABER_indcpa.c:     4 | #include <immintrin.h>
SABER_indcpa.c:       |          ^~~~~~~~~~~~~
SABER_indcpa.c: compilation terminated.

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

Compiler output


SABER_indcpa.c: In file included from polymul/toom_cook_4/batch_64coefficient_multiplications.c:26,
SABER_indcpa.c:                  from polymul/toom_cook_4/asimd_toom_cook_4way_neon.c:22,
SABER_indcpa.c:                  from SABER_indcpa.c:35:
SABER_indcpa.c: polymul/toom_cook_4/asimd_matrix.c: In function 'transpose':
SABER_indcpa.c: polymul/toom_cook_4/asimd_matrix.c:42:9: warning: implicit declaration of function 'vtrn1q_u16'; did you mean 'vtrnq_u16'? [-Wimplicit-function-declaration]
SABER_indcpa.c:    42 |   y16 = vtrn1q_u16(y0, y1);
SABER_indcpa.c:       |         ^~~~~~~~~~
SABER_indcpa.c:       |         vtrnq_u16
SABER_indcpa.c: polymul/toom_cook_4/asimd_matrix.c:42:9: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
SABER_indcpa.c: polymul/toom_cook_4/asimd_matrix.c:43:9: warning: implicit declaration of function 'vtrn2q_u16'; did you mean 'vtrnq_u16'? [-Wimplicit-function-declaration]
SABER_indcpa.c:    43 |   y17 = vtrn2q_u16(y0, y1);
SABER_indcpa.c:       |         ^~~~~~~~~~
SABER_indcpa.c:       |         vtrnq_u16
SABER_indcpa.c: polymul/toom_cook_4/asimd_matrix.c:43:9: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
SABER_indcpa.c: polymul/toom_cook_4/asimd_matrix.c:44:9: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
SABER_indcpa.c:    44 |   y18 = vtrn1q_u16(y2, y3);
SABER_indcpa.c:       |         ^~~~~~~~~~
SABER_indcpa.c: polymul/toom_cook_4/asimd_matrix.c:45:9: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
SABER_indcpa.c:    45 |   y19 = vtrn2q_u16(y2, y3);
SABER_indcpa.c:       |         ^~~~~~~~~~
SABER_indcpa.c: polymul/toom_cook_4/asimd_matrix.c:46:22: warning: implicit declaration of function 'vtrn1q_u32'; did you mean 'vtrnq_u32'? [-Wimplicit-function-declaration]
SABER_indcpa.c:    46 |   y24 = (uint16x8_t) vtrn1q_u32((uint32x4_t)y16, (uint32x4_t)y17);
SABER_indcpa.c:       |                      ^~~~~~~~~~
SABER_indcpa.c:       |                      vtrnq_u32
SABER_indcpa.c: polymul/toom_cook_4/asimd_matrix.c:46:3: error: cannot convert a value of type 'int' to vector type '__simd128_uint16_t' which has different size
SABER_indcpa.c: ...

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

Compiler output


SABER_indcpa.c: In file included from rq_mul/neon_poly_rq_mul.c:25,
SABER_indcpa.c:                  from SABER_indcpa.c:22:
SABER_indcpa.c: rq_mul/neon_matrix_transpose.c: In function 'transpose_8x16':
SABER_indcpa.c: rq_mul/neon_matrix_transpose.c:64:11: warning: implicit declaration of function 'vtrn1q_u16'; did you mean 'vtrnq_u16'? [-Wimplicit-function-declaration]
SABER_indcpa.c:    64 |     y16 = vtrn1q_u16(y0, y1);
SABER_indcpa.c:       |           ^~~~~~~~~~
SABER_indcpa.c:       |           vtrnq_u16
SABER_indcpa.c: rq_mul/neon_matrix_transpose.c:64:11: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
SABER_indcpa.c: rq_mul/neon_matrix_transpose.c:65:11: warning: implicit declaration of function 'vtrn2q_u16'; did you mean 'vtrnq_u16'? [-Wimplicit-function-declaration]
SABER_indcpa.c:    65 |     y17 = vtrn2q_u16(y0, y1);
SABER_indcpa.c:       |           ^~~~~~~~~~
SABER_indcpa.c:       |           vtrnq_u16
SABER_indcpa.c: rq_mul/neon_matrix_transpose.c:65:11: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
SABER_indcpa.c: rq_mul/neon_matrix_transpose.c:66:11: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
SABER_indcpa.c:    66 |     y18 = vtrn1q_u16(y2, y3);
SABER_indcpa.c:       |           ^~~~~~~~~~
SABER_indcpa.c: rq_mul/neon_matrix_transpose.c:67:11: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
SABER_indcpa.c:    67 |     y19 = vtrn2q_u16(y2, y3);
SABER_indcpa.c:       |           ^~~~~~~~~~
SABER_indcpa.c: rq_mul/neon_matrix_transpose.c:68:23: warning: implicit declaration of function 'vtrn1q_u32'; did you mean 'vtrnq_u32'? [-Wimplicit-function-declaration]
SABER_indcpa.c:    68 |     y24 = (uint16x8_t)vtrn1q_u32((uint32x4_t)y16, (uint32x4_t)y17);
SABER_indcpa.c:       |                       ^~~~~~~~~~
SABER_indcpa.c:       |                       vtrnq_u32
SABER_indcpa.c: rq_mul/neon_matrix_transpose.c:68:5: error: cannot convert a value of type 'int' to vector type '__simd128_uint16_t' which has different size
SABER_indcpa.c:    68 |     y24 = (uint16x8_t)vtrn1q_u32((uint32x4_t)y16, (uint32x4_t)y17);
SABER_indcpa.c: ...

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

Compiler output


SABER_indcpa.c: In file included from SABER_indcpa.c:6:
SABER_indcpa.c: poly_mul.inc: In function 'print_poly2':
SABER_indcpa.c: poly_mul.inc:20:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
SABER_indcpa.c:    20 |     printf("  Mod(%d,%lu)*x^%d + ", a[i], p,i);
SABER_indcpa.c:       |                      ~~^                  ~
SABER_indcpa.c:       |                        |                  |
SABER_indcpa.c:       |                        long unsigned int  uint64_t {aka long long unsigned int}
SABER_indcpa.c:       |                      %llu
SABER_indcpa.c: poly_mul.inc:22:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
SABER_indcpa.c:    22 |     printf("  Mod(%d,%lu)*x^%d ", a[i], p,i);
SABER_indcpa.c:       |                      ~~^                ~
SABER_indcpa.c:       |                        |                |
SABER_indcpa.c:       |                        |                uint64_t {aka long long unsigned int}
SABER_indcpa.c:       |                        long unsigned int
SABER_indcpa.c:       |                      %llu

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

Namespace violations


SABER_indcpa.o GenMatrix T
SABER_indcpa.o InnerProd T
SABER_indcpa.o MatrixVectorMul T
SABER_indcpa.o POL2MSG T
SABER_indcpa.o indcpa_kem_dec T
SABER_indcpa.o indcpa_kem_enc T
SABER_indcpa.o indcpa_kem_keypair T
SABER_indcpa.o karatsuba_simple T
SABER_indcpa.o pol_mul T
SABER_indcpa.o print_poly2 T
SABER_indcpa.o reduce T
SABER_indcpa.o toom_cook_4way T
cbd.o cbd T
fips202.o KeccakF1600_StatePermute T
fips202.o cshake128_simple T
fips202.o cshake128_simple_absorb T
fips202.o cshake128_simple_squeezeblocks T
fips202.o sha3_256 T
fips202.o sha3_512 T
fips202.o shake128 T
pack_unpack.o BS2POL T
pack_unpack.o BS2POLVEC T
pack_unpack.o BS2POLVECp T
pack_unpack.o BS2POLVECq T
pack_unpack.o POLVEC2BS T
pack_unpack.o POLVECp2BS T
pack_unpack.o POLVECq2BS T
pack_unpack.o SABER_pack_3bit T
pack_unpack.o SABER_pack_4bit T
pack_unpack.o SABER_pack_6bit T
pack_unpack.o SABER_un_pack3bit T
pack_unpack.o SABER_un_pack4bit T
pack_unpack.o SABER_un_pack6bit T
poly.o GenSecret T
verify.o cmov T
verify.o verify T

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