Implementation notes: aarch64, supercoplxc, crypto_core/multsntrup761

Computer: supercoplxc
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_core
Primitive: multsntrup761
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
8899202168 0 014273 888 784refgcc_-O3_-fomit-frame-pointer2019083120190816
8968003468 0 016905 888 784refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019083120190816
8969603472 0 016953 888 784refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019083120190816
9105602164 0 014241 888 784refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019083120190816
24967201888 0 014784 880 768refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019083120190816
26532001408 0 014838 800 792refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019083120190816
26551201444 0 014862 800 792refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019083120190816
26551201444 0 014862 800 792refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019083120190816
26551201444 0 014862 800 792refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019083120190816
26563201444 0 014814 800 792refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019083120190816
29009601844 0 014816 880 768refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019083120190816
4126480468 0 010680 864 760refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019083120190816
4126480468 0 010680 864 760refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019083120190816
4489520468 0 010616 864 760refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019083120190816
4489600468 0 010616 864 760refgcc_-Os_-fomit-frame-pointer2019083120190816
5192400596 0 011416 880 768refgcc_-O2_-fomit-frame-pointer2019083120190816
59408001928 0 016176 880 768refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019083120190816
59412801928 0 016176 880 768refgcc_-funroll-loops_-O_-fomit-frame-pointer2019083120190816
6302960596 0 011360 880 768refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019083120190816
7051920564 0 011584 880 768refgcc_-O_-fomit-frame-pointer2019083120190816
7052400564 0 011584 880 768refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019083120190816
218216001028 0 014600 864 768refcc2019083120190816
218253601028 0 014600 864 768refgcc_-funroll-loops2019083120190816
218958401028 0 014600 864 768refgcc2019083120190816

Compiler output

Implementation: crypto_core/multsntrup761/round1
Compiler: cc
mult.c: mult.c:2:10: fatal error: immintrin.h: No such file or directory
mult.c: #include <immintrin.h>
mult.c: ^~~~~~~~~~~~~
mult.c: compilation terminated.

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

Compiler output

Implementation: crypto_core/multsntrup761/avx
Compiler: cc
mult768.c: mult768.c:2:10: fatal error: immintrin.h: No such file or directory
mult768.c: #include <immintrin.h>
mult768.c: ^~~~~~~~~~~~~
mult768.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/multsntrup761/round1
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
mult.c: In file included from mult.c:2:
mult.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/immintrin.h:28:
mult.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
mult.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
mult.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult.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
mult.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
mult.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult.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
mult.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
mult.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult.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
mult.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
mult.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult.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
mult.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
mult.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult.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
mult.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
mult.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult.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
mult.c: return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
mult.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult.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
mult.c: return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
mult.c: ...

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

Compiler output

Implementation: crypto_core/multsntrup761/avx
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
mult768.c: In file included from mult768.c:2:
mult768.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/immintrin.h:28:
mult768.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
mult768.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
mult768.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult768.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
mult768.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
mult768.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult768.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
mult768.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
mult768.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult768.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
mult768.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
mult768.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult768.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
mult768.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
mult768.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult768.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
mult768.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
mult768.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult768.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
mult768.c: return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
mult768.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mult768.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
mult768.c: return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
mult768.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