Implementation notes: aarch64, pi3bplus, crypto_kem/sikep503

Computer: pi3bplus
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20210114
Operation: crypto_kem
Primitive: sikep503
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
58044573064928 0 082840 864 1568T:optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020091020200826
66855378358332 0 075637 800 1552T:optclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020091020200826
81363047627564 0 044208 864 1552T:optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020091020200826
100394132426268 0 042984 864 1552T:optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020091020200826
135068891521584 0 037344 848 1536T:optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020091020200826

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:ms
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
fp_x64_asm.S: fp_x64_asm.S:7:1: error: unknown directive
fp_x64_asm.S: .intel_syntax noprefix
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:63:3: error: unrecognized instruction mnemonic, did you mean: ushl, ushr?
fp_x64_asm.S: push r12
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:64:3: error: unrecognized instruction mnemonic, did you mean: ushl, ushr?
fp_x64_asm.S: push r13
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:65:3: error: unrecognized instruction mnemonic, did you mean: ushl, ushr?
fp_x64_asm.S: push r14
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:66:3: error: unrecognized instruction mnemonic, did you mean: ushl, ushr?
fp_x64_asm.S: push r15
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:68:3: error: unrecognized instruction mnemonic, did you mean: eor, orn, orr, ror?
fp_x64_asm.S: xor rax, rax
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:69:7: error: invalid operand for instruction
fp_x64_asm.S: mov r8, [rdi]
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:70:7: error: invalid operand for instruction
fp_x64_asm.S: mov r9, [rdi+8]
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:71:7: error: invalid operand for instruction
fp_x64_asm.S: ...

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

Compiler output

Implementation: T:ms
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
fp_x64_asm.S: fp_x64_asm.S: Assembler messages:
fp_x64_asm.S: fp_x64_asm.S:7: Error: unknown pseudo-op: `.intel_syntax'
fp_x64_asm.S: fp_x64_asm.S:63: Error: unknown mnemonic `push' -- `push r12'
fp_x64_asm.S: fp_x64_asm.S:64: Error: unknown mnemonic `push' -- `push r13'
fp_x64_asm.S: fp_x64_asm.S:65: Error: unknown mnemonic `push' -- `push r14'
fp_x64_asm.S: fp_x64_asm.S:66: Error: unknown mnemonic `push' -- `push r15'
fp_x64_asm.S: fp_x64_asm.S:68: Error: unknown mnemonic `xor' -- `xor rax,rax'
fp_x64_asm.S: fp_x64_asm.S:69: Error: operand 1 must be an integer register -- `mov r8,[rdi]'
fp_x64_asm.S: fp_x64_asm.S:70: Error: operand 1 must be an integer register -- `mov r9,[rdi+8]'
fp_x64_asm.S: fp_x64_asm.S:71: Error: operand 1 must be an integer register -- `mov r10,[rdi+16]'
fp_x64_asm.S: fp_x64_asm.S:72: Error: operand 1 must be an integer register -- `mov r11,[rdi+24]'
fp_x64_asm.S: fp_x64_asm.S:73: Error: operand 1 must be an integer register -- `mov r12,[rdi+32]'
fp_x64_asm.S: fp_x64_asm.S:74: Error: operand 1 must be an integer register -- `mov r13,[rdi+40]'
fp_x64_asm.S: fp_x64_asm.S:75: Error: operand 1 must be an integer register -- `mov r14,[rdi+48]'
fp_x64_asm.S: fp_x64_asm.S:76: Error: operand 1 must be an integer register -- `mov r15,[rdi+56]'
fp_x64_asm.S: fp_x64_asm.S:77: Error: operand 1 must be an integer or stack pointer register -- `add r8,[rsi]'
fp_x64_asm.S: fp_x64_asm.S:78: Error: operand 1 must be an integer register -- `adc r9,[rsi+8]'
fp_x64_asm.S: fp_x64_asm.S:79: Error: operand 1 must be an integer register -- `adc r10,[rsi+16]'
fp_x64_asm.S: fp_x64_asm.S:80: Error: operand 1 must be an integer register -- `adc r11,[rsi+24]'
fp_x64_asm.S: fp_x64_asm.S:81: Error: operand 1 must be an integer register -- `adc r12,[rsi+32]'
fp_x64_asm.S: fp_x64_asm.S:82: Error: operand 1 must be an integer register -- `adc r13,[rsi+40]'
fp_x64_asm.S: fp_x64_asm.S:83: Error: operand 1 must be an integer register -- `adc r14,[rsi+48]'
fp_x64_asm.S: fp_x64_asm.S:84: Error: operand 1 must be an integer register -- `adc r15,[rsi+56]'
fp_x64_asm.S: fp_x64_asm.S:86: Error: operand 1 must be an integer register -- `mov rcx,0xFFFFFFFFFFFFFFFE'
fp_x64_asm.S: fp_x64_asm.S:87: Error: operand 1 must be an integer or stack pointer register -- `sub r8,rcx'
fp_x64_asm.S: ...

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

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
fp_x64_asm.S: fp_x64_asm.S:7:1: error: unknown directive
fp_x64_asm.S: .intel_syntax noprefix
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:37:3: error: unrecognized instruction mnemonic, did you mean: ushl, ushr?
fp_x64_asm.S: push r12
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:38:3: error: unrecognized instruction mnemonic, did you mean: ushl, ushr?
fp_x64_asm.S: push r13
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:39:3: error: unrecognized instruction mnemonic, did you mean: ushl, ushr?
fp_x64_asm.S: push r14
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:40:3: error: unrecognized instruction mnemonic, did you mean: ushl, ushr?
fp_x64_asm.S: push r15
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:42:3: error: unrecognized instruction mnemonic, did you mean: eor, orn, orr, ror?
fp_x64_asm.S: xor rax, rax
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:43:7: error: invalid operand for instruction
fp_x64_asm.S: mov r8, [rdi]
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:44:7: error: invalid operand for instruction
fp_x64_asm.S: mov r9, [rdi+8]
fp_x64_asm.S: ^
fp_x64_asm.S: fp_x64_asm.S:45:7: error: invalid operand for instruction
fp_x64_asm.S: ...

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

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
fp_x64_asm.S: fp_x64_asm.S: Assembler messages:
fp_x64_asm.S: fp_x64_asm.S:7: Error: unknown pseudo-op: `.intel_syntax'
fp_x64_asm.S: fp_x64_asm.S:37: Error: unknown mnemonic `push' -- `push r12'
fp_x64_asm.S: fp_x64_asm.S:38: Error: unknown mnemonic `push' -- `push r13'
fp_x64_asm.S: fp_x64_asm.S:39: Error: unknown mnemonic `push' -- `push r14'
fp_x64_asm.S: fp_x64_asm.S:40: Error: unknown mnemonic `push' -- `push r15'
fp_x64_asm.S: fp_x64_asm.S:42: Error: unknown mnemonic `xor' -- `xor rax,rax'
fp_x64_asm.S: fp_x64_asm.S:43: Error: operand 1 must be an integer register -- `mov r8,[rdi]'
fp_x64_asm.S: fp_x64_asm.S:44: Error: operand 1 must be an integer register -- `mov r9,[rdi+8]'
fp_x64_asm.S: fp_x64_asm.S:45: Error: operand 1 must be an integer register -- `mov r10,[rdi+16]'
fp_x64_asm.S: fp_x64_asm.S:46: Error: operand 1 must be an integer register -- `mov r11,[rdi+24]'
fp_x64_asm.S: fp_x64_asm.S:47: Error: operand 1 must be an integer register -- `mov r12,[rdi+32]'
fp_x64_asm.S: fp_x64_asm.S:48: Error: operand 1 must be an integer register -- `mov r13,[rdi+40]'
fp_x64_asm.S: fp_x64_asm.S:49: Error: operand 1 must be an integer register -- `mov r14,[rdi+48]'
fp_x64_asm.S: fp_x64_asm.S:50: Error: operand 1 must be an integer register -- `mov r15,[rdi+56]'
fp_x64_asm.S: fp_x64_asm.S:51: Error: operand 1 must be an integer or stack pointer register -- `add r8,[rsi]'
fp_x64_asm.S: fp_x64_asm.S:52: Error: operand 1 must be an integer register -- `adc r9,[rsi+8]'
fp_x64_asm.S: fp_x64_asm.S:53: Error: operand 1 must be an integer register -- `adc r10,[rsi+16]'
fp_x64_asm.S: fp_x64_asm.S:54: Error: operand 1 must be an integer register -- `adc r11,[rsi+24]'
fp_x64_asm.S: fp_x64_asm.S:55: Error: operand 1 must be an integer register -- `adc r12,[rsi+32]'
fp_x64_asm.S: fp_x64_asm.S:56: Error: operand 1 must be an integer register -- `adc r13,[rsi+40]'
fp_x64_asm.S: fp_x64_asm.S:57: Error: operand 1 must be an integer register -- `adc r14,[rsi+48]'
fp_x64_asm.S: fp_x64_asm.S:58: Error: operand 1 must be an integer register -- `adc r15,[rsi+56]'
fp_x64_asm.S: fp_x64_asm.S:60: Error: operand 1 must be an integer register -- `mov rcx,0xFFFFFFFFFFFFFFFE'
fp_x64_asm.S: fp_x64_asm.S:61: Error: operand 1 must be an integer or stack pointer register -- `sub r8,rcx'
fp_x64_asm.S: ...

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

Namespace violations

Implementation: T:opt
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
P503.o A_gen R
P503.o Alice_order R
P503.o B_gen R
P503.o Bob_order R
P503.o Border_div3 R
P503.o EphemeralKeyGeneration_A T
P503.o EphemeralKeyGeneration_B T
P503.o EphemeralSecretAgreement_A T
P503.o EphemeralSecretAgreement_B T
P503.o Montgomery_R2 R
P503.o Montgomery_Rprime R
P503.o Montgomery_one R
P503.o Montgomery_rprime R
P503.o copy_words T
P503.o eval_3_isog T
P503.o eval_4_isog T
P503.o fp2add503 T
P503.o fp2copy503 T
P503.o fp2correction503 T
P503.o fp2div2_503 T
P503.o fp2inv503_mont T
P503.o fp2mul503_mont T
P503.o fp2neg503 T
P503.o fp2sqr503_mont T
P503.o fp2sub503 T
P503.o fp2zero503 T
P503.o fpcopy503 T
P503.o fpinv503_chain_mont T
P503.o fpinv503_mont T
P503.o fpmul503_mont T
P503.o fpsqr503_mont T
P503.o fpzero503 T
P503.o from_fp2mont T
P503.o from_mont T
P503.o get_3_isog T
P503.o get_4_isog T
P503.o get_A T
P503.o inv_3_way T
P503.o j_inv T
P503.o mp_add T
P503.o mp_shiftl1 T
P503.o mp_shiftleft T
P503.o mp_shiftr1 T
P503.o mp_sub T
P503.o p503 R
P503.o p503p1 R
P503.o p503x2 R
P503.o random_mod_order_A T
P503.o random_mod_order_B T
P503.o strat_Alice R
P503.o strat_Bob R
P503.o to_fp2mont T
P503.o to_mont T
P503.o xDBL T
P503.o xDBLADD T
P503.o xDBLe T
P503.o xTPL T
P503.o xTPLe 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 cshake256_simple T
fips202.o cshake256_simple_absorb T
fips202.o cshake256_simple_squeezeblocks 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 fpadd503 T
fp_generic.o fpcorrection503 T
fp_generic.o fpdiv2_503 T
fp_generic.o fpneg503 T
fp_generic.o fpsub503 T
fp_generic.o mp_mul T
fp_generic.o rdc_mont T

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