Implementation notes: amd64, cel02, crypto_kem/hqc192

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: hqc192
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
257259819545 212424 5020870592 213344 71656T:avxgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
380776835522 212424 5020888064 213352 71688T:avxgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
387318678036 212424 50208133872 213352 71720T:avxgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
433492634900 212424 5020887024 213352 71688T:avxgcc_-march=native_-mtune=native_-O_-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: 0x562f194bb1f0: v32i16 = X86ISD::VBROADCAST 0x562f194b36a0
fft.c: 0x562f194b36a0: i16,ch = CopyFromReg 0x562f193dd220, Register:i16 %vreg58
fft.c: 0x562f194bdd70: 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-e49a0e.c
fft.c: clang: note: diagnostic msg: /tmp/fft-e49a0e.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: 0x555898b95a20: v32i16 = X86ISD::VBROADCAST 0x555898b9e690
fft.c: 0x555898b9e690: i16,ch = CopyFromReg 0x555898aca2b0, Register:i16 %vreg58
fft.c: 0x555898ba4700: 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-8502aa.c
fft.c: clang: note: diagnostic msg: /tmp/fft-8502aa.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: 0x5602eb293b70: v32i16 = X86ISD::VBROADCAST 0x5602eb2abce0
fft.c: 0x5602eb2abce0: i16,ch = CopyFromReg 0x5602eb1d0260, Register:i16 %vreg58
fft.c: 0x5602eb2b0d30: 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-9ddafc.c
fft.c: clang: note: diagnostic msg: /tmp/fft-9ddafc.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