Implementation notes: amd64, rumba5, crypto_core/scale3sntrup761

Computer: rumba5
Microarchitecture: amd64; Zen (800f11)
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20240107
Operation: crypto_core
Primitive: scale3sntrup761
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
403333 0 015291 844 960avxclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121220231212
403200 0 012445 836 1024avxclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121220231212
404333 0 014915 844 960avxclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121220231212
405339 0 011648 780 960avxgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212
412327 0 011835 844 928avxclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121220231212
445325 0 013293 804 992avxgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212
448325 0 014525 804 992avxgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212
460317 0 012788 796 992avxgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212
651410 0 014757 804 992refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212
663905 0 014955 844 928refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121220231212
2912269 0 013365 804 992refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212
2972263 0 012860 796 992refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212
7869264 0 011820 788 960refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212

Compiler output

Implementation: avx
Security model: constbranchindex
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
core.c: core.c:20:18: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'crypto_core_scale3sntrup761_avx_constbranchindex' that is compiled without support for 'avx'
core.c: __m256i save = _mm256_loadu_si256((__m256i *) (inbytes+2*i));
core.c: ^
core.c: core.c:20:18: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
core.c: core.c:25:19: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'crypto_core_scale3sntrup761_avx_constbranchindex' that is compiled without support for 'avx'
core.c: __m256i x = _mm256_loadu_si256((__m256i *) inbytes);
core.c: ^
core.c: core.c:25:19: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
core.c: core.c:27:32: error: always_inline function '_mm256_set1_epi16' requires target feature 'avx', but would be inlined into function 'crypto_core_scale3sntrup761_avx_constbranchindex' that is compiled without support for 'avx'
core.c: x = _mm256_mullo_epi16(x,_mm256_set1_epi16(3));
core.c: ^
core.c: core.c:27:32: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
core.c: core.c:27:11: error: always_inline function '_mm256_mullo_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_core_scale3sntrup761_avx_constbranchindex' that is compiled without support for 'avx2'
core.c: x = _mm256_mullo_epi16(x,_mm256_set1_epi16(3));
core.c: ^
core.c: core.c:27:11: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
core.c: core.c:28:30: error: always_inline function '_mm256_set1_epi16' requires target feature 'avx', but would be inlined into function 'crypto_core_scale3sntrup761_avx_constbranchindex' that is compiled without support for 'avx'
core.c: x = _mm256_sub_epi16(x,_mm256_set1_epi16((q+1)/2));
core.c: ^
core.c: core.c:28:30: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
core.c: core.c:28:11: error: always_inline function '_mm256_sub_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_core_scale3sntrup761_avx_constbranchindex' that is compiled without support for 'avx2'
core.c: x = _mm256_sub_epi16(x,_mm256_set1_epi16((q+1)/2));
core.c: ^
core.c: core.c:28:11: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
core.c: core.c:29:14: error: always_inline function '_mm256_srai_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_core_scale3sntrup761_avx_constbranchindex' that is compiled without support for 'avx2'
core.c: ...

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

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: /home/supercop/benchmarking/supercop-20231212/supercop-data/rumba5/amd64/lib/libsupercop.a(crypto_decode_761xint16_little_constbranchindex-decode.o): bad reloc symbol index (0xfc08566 >= 0x5) for offset 0x818d00002f81c869 in section `.text'
try.c: /usr/bin/ld: /home/supercop/benchmarking/supercop-20231212/supercop-data/rumba5/amd64/lib/libsupercop.a(crypto_encode_761xint16_little_constbranchindex-encode.o): bad reloc symbol index (0x2e00365f >= 0x5) for offset 0x4c2e00375f304950 in section `.text'
try.c: /usr/bin/ld: /home/supercop/benchmarking/supercop-20231212/supercop-data/rumba5/amd64/lib/libsupercop.a(crypto_decode_761xint16_little_constbranchindex-decode.o): bad reloc symbol index (0xfc08566 >= 0x5) for offset 0x818d00002f81c869 in section `.text'
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: /home/supercop/benchmarking/supercop-20231212/supercop-data/rumba5/amd64/lib/libsupercop.a(crypto_decode_761xint16_little_constbranchindex-decode.o): bad reloc symbol index (0xdb0000 >= 0x5) for offset 0 in section `.text'
try.c: /usr/bin/ld: /home/supercop/benchmarking/supercop-20231212/supercop-data/rumba5/amd64/lib/libsupercop.a(crypto_encode_761xint16_little_constbranchindex-encode.o): bad reloc symbol index (0x10d372dd >= 0x5) for offset 0x6ffec50000000015 in section `.text'
try.c: /usr/bin/ld: /home/supercop/benchmarking/supercop-20231212/supercop-data/rumba5/amd64/lib/libsupercop.a(crypto_decode_761xint16_little_constbranchindex-decode.o): bad reloc symbol index (0xdb0000 >= 0x5) for offset 0 in section `.text'
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref