Implementation notes: amd64, cel02, crypto_kem/hqc2563

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: hqc2563
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
779317637835 0 068621 920 1720T:optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
836370412273 32 551550080 4136 6736T:refg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1018875612635 0 040107 912 1688T:optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1023956411924 0 038939 912 1688T:optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1108170810188 0 036147 904 1656T:optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1414177012714 32 551551049 4136 6736T:refg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1509908427000 32 551568535 4136 6768T:refg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1590790211784 32 551544034 4120 6640T:refclang++_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
1662643610450 32 551547248 4128 6704T:refg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
gf2x_avx2.c: gf2x_avx2.c:76:42: error: cannot convert between vector values of different size ('v8uint32' (vector of 8 'uint32_t' values) and 'int')
gf2x_avx2.c: const v8uint32 rightPerm = countVector + distInts;
gf2x_avx2.c: ~~~~~~~~~~~ ^ ~~~~~~~~
gf2x_avx2.c: gf2x_avx2.c:77:41: error: cannot convert between vector values of different size ('v8uint32' (vector of 8 'uint32_t' values) and 'int')
gf2x_avx2.c: const v8uint32 leftPerm = countVector + distInts + 1;
gf2x_avx2.c: ~~~~~~~~~~~ ^ ~~~~~~~~
gf2x_avx2.c: gf2x_avx2.c:87:19: error: use of unknown builtin '__builtin_shuffle' [-Wimplicit-function-declaration]
gf2x_avx2.c: rightVector = __builtin_shuffle(
gf2x_avx2.c: ^
gf2x_avx2.c: gf2x_avx2.c:87:17: error: assigning to 'v8uint32' (vector of 8 'uint32_t' values) from incompatible type 'int'
gf2x_avx2.c: rightVector = __builtin_shuffle(
gf2x_avx2.c: ^ ~~~~~~~~~~~~~~~~~~
gf2x_avx2.c: gf2x_avx2.c:89:16: error: assigning to 'v8uint32' (vector of 8 'uint32_t' values) from incompatible type 'int'
gf2x_avx2.c: leftVector = __builtin_shuffle(
gf2x_avx2.c: ^ ~~~~~~~~~~~~~~~~~~
gf2x_avx2.c: gf2x_avx2.c:92:26: error: cannot convert between vector values of different size ('v8uint32' (vector of 8 'uint32_t' values) and 'int')
gf2x_avx2.c: shifted = rightVector>>distBits | leftVector<<minDistBits;
gf2x_avx2.c: ~~~~~~~~~~~^ ~~~~~~~~
gf2x_avx2.c: gf2x_avx2.c:92:49: error: cannot convert between vector values of different size ('v8uint32' (vector of 8 'uint32_t' values) and 'int')
gf2x_avx2.c: shifted = rightVector>>distBits | leftVector<<minDistBits;
gf2x_avx2.c: ~~~~~~~~~~^ ~~~~~~~~~~~
gf2x_avx2.c: 7 errors generated.

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
rng.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
try.cpp: fatal error: error in backend: Cannot select: 0x5576842774f0: v4i64 = X86ISD::VTRUNC 0x5576842773c0
try.cpp: 0x5576842773c0: v16i32 = vselect 0x557684271ec0, 0x557684203560, 0x557684277290
try.cpp: 0x557684271ec0: v4i1 = X86ISD::PCMPGTM 0x55768425db80, 0x557684259710
try.cpp: 0x55768425db80: v4i64 = X86ISD::VBROADCAST 0x557684200190
try.cpp: 0x557684200190: i64,ch = load<LD8[%lsr.iv6971]> 0x55768416c9c0, 0x55768424efb0, undef:i64
try.cpp: 0x55768424efb0: i64,ch = CopyFromReg 0x55768416c9c0, Register:i64 %vreg50
try.cpp: 0x557684259970: i64 = Register %vreg50
try.cpp: 0x557684201660: i64 = undef
try.cpp: 0x557684259710: v4i64,ch = CopyFromReg 0x55768416c9c0, Register:v4i64 %vreg13
try.cpp: 0x55768425e3d0: v4i64 = Register %vreg13
try.cpp: 0x557684203560: v16i32 = X86ISD::VBROADCAST 0x55768425dde0
try.cpp: 0x55768425dde0: i32,ch = load<LD4[ConstantPool]> 0x55768416c9c0, 0x5576841ff770, undef:i64
try.cpp: 0x5576841ff770: i64 = X86ISD::WrapperRIP TargetConstantPool:i64<i32 1> 0
try.cpp: 0x5576841de7f0: i64 = TargetConstantPool<i32 1> 0
try.cpp: 0x557684201660: i64 = undef
try.cpp: 0x557684277290: v16i32 = BUILD_VECTOR Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>
try.cpp: 0x557684277160: i32 = Constant<0>
try.cpp: 0x557684277160: i32 = Constant<0>
try.cpp: 0x557684277160: i32 = Constant<0>
try.cpp: 0x557684277160: i32 = Constant<0>
try.cpp: 0x557684277160: i32 = Constant<0>
try.cpp: 0x557684277160: i32 = Constant<0>
try.cpp: 0x557684277160: i32 = Constant<0>
try.cpp: 0x557684277160: i32 = Constant<0>
try.cpp: 0x557684277160: i32 = Constant<0>
try.cpp: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
rng.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
try.cpp: fatal error: error in backend: Cannot select: 0x55868c1d6120: v4i64 = X86ISD::VTRUNC 0x55868c1d5ff0
try.cpp: 0x55868c1d5ff0: v16i32 = vselect 0x55868c1c5c80, 0x55868c144f50, 0x55868c1d5ec0
try.cpp: 0x55868c1c5c80: v4i1 = X86ISD::PCMPGTM 0x55868c1b22f0, 0x55868c1ade80
try.cpp: 0x55868c1b22f0: v4i64 = X86ISD::VBROADCAST 0x55868c145410
try.cpp: 0x55868c145410: i64,ch = load<LD8[%lsr.iv6971]> 0x55868c0aaa70, 0x55868c14d540, undef:i64
try.cpp: 0x55868c14d540: i64,ch = CopyFromReg 0x55868c0aaa70, Register:i64 %vreg50
try.cpp: 0x55868c1ae0e0: i64 = Register %vreg50
try.cpp: 0x55868c161940: i64 = undef
try.cpp: 0x55868c1ade80: v4i64,ch = CopyFromReg 0x55868c0aaa70, Register:v4i64 %vreg13
try.cpp: 0x55868c1b2b40: v4i64 = Register %vreg13
try.cpp: 0x55868c144f50: v16i32 = X86ISD::VBROADCAST 0x55868c1b2550
try.cpp: 0x55868c1b2550: i32,ch = load<LD4[ConstantPool]> 0x55868c0aaa70, 0x55868c1478f0, undef:i64
try.cpp: 0x55868c1478f0: i64 = X86ISD::WrapperRIP TargetConstantPool:i64<i32 1> 0
try.cpp: 0x55868c1622c0: i64 = TargetConstantPool<i32 1> 0
try.cpp: 0x55868c161940: i64 = undef
try.cpp: 0x55868c1d5ec0: v16i32 = BUILD_VECTOR Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>
try.cpp: 0x55868c1d5d90: i32 = Constant<0>
try.cpp: 0x55868c1d5d90: i32 = Constant<0>
try.cpp: 0x55868c1d5d90: i32 = Constant<0>
try.cpp: 0x55868c1d5d90: i32 = Constant<0>
try.cpp: 0x55868c1d5d90: i32 = Constant<0>
try.cpp: 0x55868c1d5d90: i32 = Constant<0>
try.cpp: 0x55868c1d5d90: i32 = Constant<0>
try.cpp: 0x55868c1d5d90: i32 = Constant<0>
try.cpp: 0x55868c1d5d90: i32 = Constant<0>
try.cpp: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang++ -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
rng.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
try.cpp: fatal error: error in backend: Cannot select: 0x55986bdc2a50: v4i64 = X86ISD::VTRUNC 0x55986bdc2920
try.cpp: 0x55986bdc2920: v16i32 = vselect 0x55986bdd4f80, 0x55986bd5b050, 0x55986bdc27f0
try.cpp: 0x55986bdd4f80: v4i1 = X86ISD::PCMPGTM 0x55986bdbd420, 0x55986bdb8fb0
try.cpp: 0x55986bdbd420: v4i64 = X86ISD::VBROADCAST 0x55986bd63400
try.cpp: 0x55986bd63400: i64,ch = load<LD8[%lsr.iv6971]> 0x55986bccca00, 0x55986bda77f0, undef:i64
try.cpp: 0x55986bda77f0: i64,ch = CopyFromReg 0x55986bccca00, Register:i64 %vreg50
try.cpp: 0x55986bdb9210: i64 = Register %vreg50
try.cpp: 0x55986bd648d0: i64 = undef
try.cpp: 0x55986bdb8fb0: v4i64,ch = CopyFromReg 0x55986bccca00, Register:v4i64 %vreg13
try.cpp: 0x55986bdbdc70: v4i64 = Register %vreg13
try.cpp: 0x55986bd5b050: v16i32 = X86ISD::VBROADCAST 0x55986bdbd680
try.cpp: 0x55986bdbd680: i32,ch = load<LD4[ConstantPool]> 0x55986bccca00, 0x55986bd629e0, undef:i64
try.cpp: 0x55986bd629e0: i64 = X86ISD::WrapperRIP TargetConstantPool:i64<i32 1> 0
try.cpp: 0x55986bd6e000: i64 = TargetConstantPool<i32 1> 0
try.cpp: 0x55986bd648d0: i64 = undef
try.cpp: 0x55986bdc27f0: v16i32 = BUILD_VECTOR Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>
try.cpp: 0x55986bdc26c0: i32 = Constant<0>
try.cpp: 0x55986bdc26c0: i32 = Constant<0>
try.cpp: 0x55986bdc26c0: i32 = Constant<0>
try.cpp: 0x55986bdc26c0: i32 = Constant<0>
try.cpp: 0x55986bdc26c0: i32 = Constant<0>
try.cpp: 0x55986bdc26c0: i32 = Constant<0>
try.cpp: 0x55986bdc26c0: i32 = Constant<0>
try.cpp: 0x55986bdc26c0: i32 = Constant<0>
try.cpp: 0x55986bdc26c0: i32 = Constant<0>
try.cpp: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang++ -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
rng.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated

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