Implementation notes: aarch64, supercoplxc, crypto_core/inv3sntrup761

Computer: supercoplxc
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_core
Primitive: inv3sntrup761
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
129038403068 0 015131 896 784refgcc_-O3_-fomit-frame-pointer2019082920190816
129833604132 0 017547 896 784refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019082920190816
129891204172 0 017619 896 784refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019082920190816
141862403020 0 015075 896 784refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019082920190816
208500004296 0 017606 800 792refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019082920190816
217149604272 0 017526 800 792refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019082920190816
217168004272 0 017582 800 792refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019082920190816
217188804272 0 017582 800 792refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019082920190816
217223204272 0 017582 800 792refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019082920190816
784793602324 0 015112 880 768refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019082920190816
89006960712 0 011416 880 768refgcc_-O2_-fomit-frame-pointer2019082920190816
89341120640 0 010752 864 760refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019082920190816
89363280640 0 010752 864 760refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019082920190816
916404002272 0 015144 880 768refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019082920190816
92276560640 0 010688 864 760refgcc_-Os_-fomit-frame-pointer2019082920190816
92301360640 0 010688 864 760refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019082920190816
100820800676 0 011336 880 768refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019082920190816
1050489602224 0 016360 880 768refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019082920190816
1050611202224 0 016360 880 768refgcc_-funroll-loops_-O_-fomit-frame-pointer2019082920190816
110870160688 0 011608 880 768refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019082920190816
110873680688 0 011608 880 768refgcc_-O_-fomit-frame-pointer2019082920190816

Test failure

Implementation: crypto_core/inv3sntrup761/ref
Compiler: cc
error 142
Alarm clock

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
cc ref
gcc ref
gcc -funroll-loops ref

Compiler output

Implementation: crypto_core/inv3sntrup761/avx
Compiler: cc
r3_recip.c: r3_recip.c:3:10: fatal error: immintrin.h: No such file or directory
r3_recip.c: #include <immintrin.h>
r3_recip.c: ^~~~~~~~~~~~~
r3_recip.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 19, namely:
CompilerImplementations
cc avx
gcc avx
gcc -O2 -fomit-frame-pointer avx
gcc -O3 -fomit-frame-pointer avx
gcc -O -fomit-frame-pointer avx
gcc -Os -fomit-frame-pointer avx
gcc -fno-schedule-insns -O2 -fomit-frame-pointer avx
gcc -fno-schedule-insns -O3 -fomit-frame-pointer avx
gcc -fno-schedule-insns -O -fomit-frame-pointer avx
gcc -fno-schedule-insns -Os -fomit-frame-pointer avx
gcc -funroll-loops avx
gcc -funroll-loops -O2 -fomit-frame-pointer avx
gcc -funroll-loops -O3 -fomit-frame-pointer avx
gcc -funroll-loops -O -fomit-frame-pointer avx
gcc -funroll-loops -Os -fomit-frame-pointer avx
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer avx
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer avx
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer avx
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer avx

Compiler output

Implementation: crypto_core/inv3sntrup761/avx
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
r3_recip.c: In file included from r3_recip.c:3:
r3_recip.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/immintrin.h:28:
r3_recip.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:64:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
r3_recip.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
r3_recip.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r3_recip.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:143:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
r3_recip.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
r3_recip.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r3_recip.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:173:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
r3_recip.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
r3_recip.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r3_recip.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:203:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
r3_recip.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
r3_recip.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r3_recip.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:230:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
r3_recip.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
r3_recip.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r3_recip.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:253:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
r3_recip.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
r3_recip.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r3_recip.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:274:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
r3_recip.c: return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
r3_recip.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r3_recip.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:301:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
r3_recip.c: return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
r3_recip.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments avx
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments avx
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments avx
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments avx
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments avx