Implementation notes: amd64, cel02, crypto_kem/hqcrmrs192

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: hqcrmrs192
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3647784107897 8 49152163800 904 69896T:avxgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
409489644899 8 4915297568 904 69864T:avxgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
432999444098 8 4915296304 904 69864T:avxgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
474172826494 8 4915277616 896 69832T:avxgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130

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: 0x55a5c7460c00: v32i16 = X86ISD::VBROADCAST 0x55a5c7484170
fft.c: 0x55a5c7484170: i16,ch = CopyFromReg 0x55a5c73ab950, Register:i16 %vreg58
fft.c: 0x55a5c7483160: 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-fecc86.c
fft.c: clang: note: diagnostic msg: /tmp/fft-fecc86.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: 0x56422119ddb0: v32i16 = X86ISD::VBROADCAST 0x5642211908d0
fft.c: 0x5642211908d0: i16,ch = CopyFromReg 0x5642210d29e0, Register:i16 %vreg58
fft.c: 0x5642211928e0: 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-0770e4.c
fft.c: clang: note: diagnostic msg: /tmp/fft-0770e4.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: 0x55d202886b10: v32i16 = X86ISD::VBROADCAST 0x55d202872c40
fft.c: 0x55d202872c40: i16,ch = CopyFromReg 0x55d2027af9d0, Register:i16 %vreg58
fft.c: 0x55d202873c80: 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-54c4b1.c
fft.c: clang: note: diagnostic msg: /tmp/fft-54c4b1.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 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
reed_muller.c: reed_muller.c:112:33: error: cannot convert between vector values of different size ('uint16_t' (aka 'unsigned short') and 'i16x16' (vector of 16 'int16_t' values))
reed_muller.c: dst->v[part] = src->u16[part] >> count_vector & 1;
reed_muller.c: ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
reed_muller.c: reed_muller.c:117:40: error: cannot convert between vector values of different size ('uint16_t' (aka 'unsigned short') and 'i16x16' (vector of 16 'int16_t' values))
reed_muller.c: dst->v[part] += src[copy].u16[part] >> count_vector & 1;
reed_muller.c: ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
reed_muller.c: reed_muller.c:325:13: warning: implicit declaration of function '_bit_scan_forward' is invalid in C99 [-Wimplicit-function-declaration]
reed_muller.c: message |= _bit_scan_forward(peak_mask.v[0] + peak_mask.v[8]);
reed_muller.c: ^
reed_muller.c: 1 warning and 2 errors generated.

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 -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
gf.c: gf.c:116:16: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
gf.c: __m128i vab = _mm_clmulepi64_si128(va, vb, 0);
gf.c: ^
gf.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/__wmmintrin_pclmul.h:27:13: note: expanded from macro '_mm_clmulepi64_si128'
gf.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(__X), \
gf.c: ^
gf.c: 1 error generated.

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