Implementation notes: aarch64, pi3aplus, crypto_kem/sikep610

Computer: pi3aplus
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20220506
Operation: crypto_kem
Primitive: sikep610
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
26096162172096 0 089141 792 1552T:arm64asmclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022061020220506
26130766450556 0 068504 856 1568T:arm64asmgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506
26234046032084 0 048808 856 1552T:arm64asmgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506
26235977326456 0 042216 840 1536T:arm64asmgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506
26456781830760 0 047480 856 1552T:arm64asmgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506
118711092295484 0 0113496 872 1568T:amd64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506
118750814895484 0 0113496 872 1568T:arm64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506
130007682796500 0 0113301 808 1552T:arm64clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022061020220506
130016036096500 0 0113301 808 1552T:amd64clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022061020220506
155541595035488 0 052256 872 1552T:arm64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506
155570574835488 0 052256 872 1552T:amd64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506
199635124234968 0 051744 872 1552T:arm64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506
199747125134968 0 051744 872 1552T:amd64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506
255718245522980 0 038808 856 1536T:arm64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506
255762824522980 0 038808 856 1536T:amd64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022061020220506

Test failure

Implementation: T:ref
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 142
Alarm clock

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
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

Compiler output

Implementation: T:arm64asm
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
fp_arm64.c: fp_arm64.c:71:5: warning: implicit declaration of function 'mp_shiftr1' is invalid in C99 [-Wimplicit-function-declaration]
fp_arm64.c: mp_shiftr1(c, NWORDS_FIELD);
fp_arm64.c: ^
fp_arm64.c: 1 warning generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:arm64asm

Compiler output

Implementation: T:arm64asm
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
fp_arm64.c: fp_arm64.c: In function 'fpdiv2_610':
fp_arm64.c: fp_arm64.c:71:5: warning: implicit declaration of function 'mp_shiftr1' [-Wimplicit-function-declaration]
fp_arm64.c: mp_shiftr1(c, NWORDS_FIELD);
fp_arm64.c: ^~~~~~~~~~

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:arm64asm
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:arm64asm
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:arm64asm
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:arm64asm

Namespace violations

Implementation: T:amd64
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
P610.o A_gen R
P610.o Alice_order R
P610.o B_gen R
P610.o Bob_order R
P610.o EphemeralKeyGeneration_A_SIDHp610 T
P610.o EphemeralKeyGeneration_B_SIDHp610 T
P610.o EphemeralSecretAgreement_A_SIDHp610 T
P610.o EphemeralSecretAgreement_B_SIDHp610 T
P610.o Montgomery_R2 R
P610.o Montgomery_one R
P610.o clear_words T
P610.o copy_words T
P610.o ct_cmov T
P610.o ct_compare T
P610.o eval_2_isog T
P610.o eval_3_isog T
P610.o eval_4_isog T
P610.o fp2add610 T
P610.o fp2copy610 T
P610.o fp2correction610 T
P610.o fp2div2_610 T
P610.o fp2inv610_mont T
P610.o fp2mul610_mont T
P610.o fp2neg610 T
P610.o fp2sqr610_mont T
P610.o fp2sub610 T
P610.o fp2zero610 T
P610.o fpcopy610 T
P610.o fpinv610_chain_mont T
P610.o fpinv610_mont T
P610.o fpmul610_mont T
P610.o fpsqr610_mont T
P610.o fpzero610 T
P610.o from_fp2mont T
P610.o from_mont T
P610.o get_2_isog T
P610.o get_3_isog T
P610.o get_4_isog T
P610.o get_A T
P610.o inv_3_way T
P610.o j_inv T
P610.o mp_add T
P610.o mp_shiftl1 T
P610.o mp_shiftleft T
P610.o mp_shiftr1 T
P610.o mp_sub T
P610.o p610 R
P610.o p610p1 R
P610.o p610x16p R
P610.o p610x2 R
P610.o p610x4 R
P610.o random_mod_order_A_SIDHp610 T
P610.o random_mod_order_B_SIDHp610 T
P610.o strat_Alice R
P610.o strat_Bob R
P610.o to_fp2mont T
P610.o to_mont T
P610.o xDBL T
P610.o xDBLADD T
P610.o xDBLe T
P610.o xTPL T
P610.o xTPLe T
fips202.o KeccakF1600_StatePermute T
fips202.o shake128 T
fips202.o shake128_absorb T
fips202.o shake128_squeezeblocks T
fips202.o shake256 T
fips202.o shake256_absorb T
fips202.o shake256_squeezeblocks T
fp_generic.o digit_x_digit T
fp_generic.o fpadd610 T
fp_generic.o fpcorrection610 T
fp_generic.o fpdiv2_610 T
fp_generic.o fpneg610 T
fp_generic.o fpsub610 T
fp_generic.o mp_mul T
fp_generic.o mp_sub610_p2 T
fp_generic.o mp_sub610_p4 T
fp_generic.o rdc_mont T

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

Namespace violations

Implementation: T:arm64asm
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
P610.o A_gen R
P610.o Alice_order R
P610.o B_gen R
P610.o Bob_order R
P610.o EphemeralKeyGeneration_A_SIDHp610 T
P610.o EphemeralKeyGeneration_B_SIDHp610 T
P610.o EphemeralSecretAgreement_A_SIDHp610 T
P610.o EphemeralSecretAgreement_B_SIDHp610 T
P610.o Montgomery_R2 R
P610.o Montgomery_one R
P610.o clear_words T
P610.o copy_words T
P610.o ct_cmov T
P610.o ct_compare T
P610.o eval_2_isog T
P610.o eval_3_isog T
P610.o eval_4_isog T
P610.o fp2add610 T
P610.o fp2copy610 T
P610.o fp2correction610 T
P610.o fp2div2_610 T
P610.o fp2inv610_mont T
P610.o fp2mul610_mont T
P610.o fp2neg610 T
P610.o fp2sqr610_mont T
P610.o fp2sub610 T
P610.o fp2zero610 T
P610.o fpcopy610 T
P610.o fpinv610_chain_mont T
P610.o fpinv610_mont T
P610.o fpmul610_mont T
P610.o fpsqr610_mont T
P610.o fpzero610 T
P610.o from_fp2mont T
P610.o from_mont T
P610.o get_2_isog T
P610.o get_3_isog T
P610.o get_4_isog T
P610.o get_A T
P610.o inv_3_way T
P610.o j_inv T
P610.o mp_add T
P610.o mp_shiftl1 T
P610.o mp_shiftleft T
P610.o mp_shiftr1 T
P610.o mp_sub T
P610.o p610 R
P610.o p610p1 R
P610.o p610x16p R
P610.o p610x2 R
P610.o p610x4 R
P610.o random_mod_order_A_SIDHp610 T
P610.o random_mod_order_B_SIDHp610 T
P610.o strat_Alice R
P610.o strat_Bob R
P610.o to_fp2mont T
P610.o to_mont T
P610.o xDBL T
P610.o xDBLADD T
P610.o xDBLe T
P610.o xTPL T
P610.o xTPLe T
fips202.o KeccakF1600_StatePermute T
fips202.o shake128 T
fips202.o shake128_absorb T
fips202.o shake128_squeezeblocks T
fips202.o shake256 T
fips202.o shake256_absorb T
fips202.o shake256_squeezeblocks T
fp_arm64.o fpadd610 T
fp_arm64.o fpcorrection610 T
fp_arm64.o fpdiv2_610 T
fp_arm64.o fpneg610 T
fp_arm64.o fpsub610 T
fp_arm64.o mp_mul T
fp_arm64.o mp_sub610_p2 T
fp_arm64.o mp_sub610_p4 T
fp_arm64.o rdc_mont T
fp_arm64_asm.o fpadd610_asm T
fp_arm64_asm.o fpsub610_asm T
fp_arm64_asm.o mp_add610_asm T
fp_arm64_asm.o mp_add610x2_asm T
fp_arm64_asm.o mp_dblsub610x2_asm T
fp_arm64_asm.o mp_sub610_p2_asm T
fp_arm64_asm.o mp_sub610_p4_asm T
fp_arm64_asm.o mp_subadd610x2_asm T
fp_arm64_asm.o mul610_asm T
fp_arm64_asm.o rdc610_asm T

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