Implementation notes: amd64, cel02, crypto_kem/hqc256

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: hqc256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
609271829617 221064 2563282048 221992 56328T:avxgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
622721628891 221064 2563280888 221992 56328T:avxgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
629790851579 221064 25632107312 221992 56360T:avxgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
698541621212 221064 2563272272 221984 56296T:avxgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130

Test failure

Implementation: T:avx
Security model: timingleaks
Compiler: clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 111

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

Compiler output

Implementation: T:avx
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
fft.c: fatal error: error in backend: Cannot select: 0x55a7d27f3370: v32i16 = X86ISD::VBROADCAST 0x55a7d280efc0
fft.c: 0x55a7d280efc0: i16,ch = CopyFromReg 0x55a7d273f260, Register:i16 %vreg58
fft.c: 0x55a7d281e6a0: i16 = Register %vreg58
fft.c: In function: fft_rec
fft.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
fft.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
fft.c: Target: x86_64-pc-linux-gnu
fft.c: Thread model: posix
fft.c: InstalledDir: /usr/bin
fft.c: clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
fft.c: clang: note: diagnostic msg:
fft.c: ********************
fft.c:
fft.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
fft.c: Preprocessed source(s) and associated run script(s) are located at:
fft.c: clang: note: diagnostic msg: /tmp/fft-56ef11.c
fft.c: clang: note: diagnostic msg: /tmp/fft-56ef11.sh
fft.c: clang: note: diagnostic msg:
fft.c:
fft.c: ********************

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

Compiler output

Implementation: T:avx
Security model: timingleaks
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
fft.c: fatal error: error in backend: Cannot select: 0x559ea0068f30: v32i16 = X86ISD::VBROADCAST 0x559ea0079840
fft.c: 0x559ea0079840: i16,ch = CopyFromReg 0x559e9ffa6350, Register:i16 %vreg58
fft.c: 0x559ea0072010: i16 = Register %vreg58
fft.c: In function: fft_rec
fft.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
fft.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
fft.c: Target: x86_64-pc-linux-gnu
fft.c: Thread model: posix
fft.c: InstalledDir: /usr/bin
fft.c: clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
fft.c: clang: note: diagnostic msg:
fft.c: ********************
fft.c:
fft.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
fft.c: Preprocessed source(s) and associated run script(s) are located at:
fft.c: clang: note: diagnostic msg: /tmp/fft-dfbebf.c
fft.c: clang: note: diagnostic msg: /tmp/fft-dfbebf.sh
fft.c: clang: note: diagnostic msg:
fft.c:
fft.c: ********************

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

Compiler output

Implementation: T:avx
Security model: timingleaks
Compiler: clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
fft.c: fatal error: error in backend: Cannot select: 0x5609f67d0b30: v32i16 = X86ISD::VBROADCAST 0x5609f67ccac0
fft.c: 0x5609f67ccac0: i16,ch = CopyFromReg 0x5609f66fc280, Register:i16 %vreg58
fft.c: 0x5609f67dd030: i16 = Register %vreg58
fft.c: In function: fft_rec
fft.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
fft.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
fft.c: Target: x86_64-pc-linux-gnu
fft.c: Thread model: posix
fft.c: InstalledDir: /usr/bin
fft.c: clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
fft.c: clang: note: diagnostic msg:
fft.c: ********************
fft.c:
fft.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
fft.c: Preprocessed source(s) and associated run script(s) are located at:
fft.c: clang: note: diagnostic msg: /tmp/fft-36fb5f.c
fft.c: clang: note: diagnostic msg: /tmp/fft-36fb5f.sh
fft.c: clang: note: diagnostic msg:
fft.c:
fft.c: ********************

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

Compiler output

Implementation: T:avx
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
bch.c: bch.c:291:7: error: always_inline function '_mm256_set1_epi32' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: y = _mm256_set1_epi32(*aux);
bch.c: ^
bch.c: bch.c:294:7: error: always_inline function '_mm256_shuffle_epi8' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: y = _mm256_shuffle_epi8(y, mask_one);
bch.c: ^
bch.c: bch.c:296:15: error: always_inline function '_mm256_and_si256' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: z[i >> 2] = _mm256_and_si256(y, mask_two);
bch.c: ^
bch.c: bch.c:306:17: error: always_inline function '_mm256_set1_epi64x' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: tmp_repeat = _mm256_set1_epi64x((long long)(tmp_array[i]!=0));
bch.c: ^
bch.c: bch.c:307:8: error: always_inline function '_mm256_cmpeq_epi64' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: L = _mm256_cmpeq_epi64(tmp_repeat,un_256);
bch.c: ^
bch.c: bch.c:308:17: error: always_inline function '_mm256_lddqu_si256' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: tmp_repeat = _mm256_lddqu_si256((__m256i *)(alpha_tmp + i * (PARAM_DELTA << 1)));
bch.c: ^
bch.c: bch.c:309:8: error: always_inline function '_mm256_and_si256' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: L = _mm256_and_si256(L,tmp_repeat);
bch.c: ^
bch.c: bch.c:310:8: error: always_inline function '_mm256_xor_si256' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: S = _mm256_xor_si256(L,S);
bch.c: ^
bch.c: bch.c:312:3: error: always_inline function '_mm256_storeu_si256' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: ...

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