Implementation notes: amd64, oki, crypto_dh/gls254

Computer: oki
Architecture: amd64
CPU ID: GenuineIntel-00050654-bfebfbff
SUPERCOP version: 20181123
Operation: crypto_dh
Primitive: gls254
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
145882? ? ?? ? ?optclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019011020181123
145904? ? ?? ? ?optclang_-O3_-fwrapv_-march=x86-64_-mcpu=core-avx2_-mavx2_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019011020181123
150666? ? ?? ? ?optgcc_-m64_-march=core-avx2_-O3_-fomit-frame-pointer2019011020181123
151180? ? ?? ? ?optgcc_-m64_-march=core-avx-i_-O3_-fomit-frame-pointer2019011020181123
151210? ? ?? ? ?optgcc_-m64_-march=corei7-avx_-O3_-fomit-frame-pointer2019011020181123
152188? ? ?? ? ?optgcc_-m64_-march=core-avx2_-O2_-fomit-frame-pointer2019011020181123
152336? ? ?? ? ?optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019011020181123
152914? ? ?? ? ?optgcc_-m64_-march=corei7-avx_-O2_-fomit-frame-pointer2019011020181123
153012? ? ?? ? ?optgcc_-m64_-march=core-avx-i_-O2_-fomit-frame-pointer2019011020181123
153998? ? ?? ? ?optgcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2019011020181123
154046? ? ?? ? ?optgcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2019011020181123
155458? ? ?? ? ?optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019011020181123
164710? ? ?? ? ?refclang_-O3_-fwrapv_-march=x86-64_-mcpu=core-avx2_-mavx2_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019011020181123
164830? ? ?? ? ?refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019011020181123
167890? ? ?? ? ?optgcc_-m64_-march=core-avx2_-Os_-fomit-frame-pointer2019011020181123
168808? ? ?? ? ?optgcc_-m64_-march=corei7-avx_-Os_-fomit-frame-pointer2019011020181123
168904? ? ?? ? ?optgcc_-m64_-march=core-avx-i_-Os_-fomit-frame-pointer2019011020181123
169642? ? ?? ? ?optgcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2019011020181123
170436? ? ?? ? ?optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019011020181123
170722? ? ?? ? ?optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019011020181123
171048? ? ?? ? ?optgcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2019011020181123
172116? ? ?? ? ?optgcc_-m64_-march=corei7-avx_-O_-fomit-frame-pointer2019011020181123
172264? ? ?? ? ?optgcc_-m64_-march=core-avx2_-O_-fomit-frame-pointer2019011020181123
172536? ? ?? ? ?optgcc_-m64_-march=core-avx-i_-O_-fomit-frame-pointer2019011020181123
186026? ? ?? ? ?refgcc_-m64_-march=core-avx2_-O2_-fomit-frame-pointer2019011020181123
187868? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2019011020181123
187950? ? ?? ? ?refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019011020181123
188490? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-O2_-fomit-frame-pointer2019011020181123
188538? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-O2_-fomit-frame-pointer2019011020181123
190808? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2019011020181123
190914? ? ?? ? ?refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019011020181123
191992? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2019011020181123
192248? ? ?? ? ?refgcc_-m64_-march=core-avx2_-O_-fomit-frame-pointer2019011020181123
193144? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-O_-fomit-frame-pointer2019011020181123
193238? ? ?? ? ?refgcc_-m64_-march=core-avx2_-Os_-fomit-frame-pointer2019011020181123
193658? ? ?? ? ?refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019011020181123
193694? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-O_-fomit-frame-pointer2019011020181123
194208? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-Os_-fomit-frame-pointer2019011020181123
194586? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-Os_-fomit-frame-pointer2019011020181123
212064? ? ?? ? ?protgcc_-m64_-march=core-avx2_-O3_-fomit-frame-pointer2019011020181123
212438? ? ?? ? ?protgcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2019011020181123
212548? ? ?? ? ?protgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019011020181123
216068? ? ?? ? ?protgcc_-m64_-march=corei7-avx_-O3_-fomit-frame-pointer2019011020181123
216444? ? ?? ? ?protgcc_-m64_-march=core-avx-i_-O3_-fomit-frame-pointer2019011020181123
227606? ? ?? ? ?protgcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2019011020181123
227654? ? ?? ? ?protgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019011020181123
228468? ? ?? ? ?protgcc_-m64_-march=corei7-avx_-O_-fomit-frame-pointer2019011020181123
228716? ? ?? ? ?protgcc_-m64_-march=core-avx2_-O2_-fomit-frame-pointer2019011020181123
229676? ? ?? ? ?protgcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2019011020181123
229850? ? ?? ? ?protgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019011020181123
229928? ? ?? ? ?protgcc_-m64_-march=corei7-avx_-O2_-fomit-frame-pointer2019011020181123
230208? ? ?? ? ?protgcc_-m64_-march=core-avx-i_-O2_-fomit-frame-pointer2019011020181123
231124? ? ?? ? ?protgcc_-m64_-march=core-avx-i_-O_-fomit-frame-pointer2019011020181123
233132? ? ?? ? ?protgcc_-m64_-march=core-avx2_-O_-fomit-frame-pointer2019011020181123

Test failure

Implementation: prot
Security model: unknown
Compiler: clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments
error 111

Number of similar (compiler,implementation) pairs: 7, namely:
CompilerImplementations
clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments prot
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments prot
gcc -m64 -march=core-avx-i -Os -fomit-frame-pointer prot
gcc -m64 -march=core-avx2 -Os -fomit-frame-pointer prot
gcc -m64 -march=corei7-avx -Os -fomit-frame-pointer prot
gcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer prot
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv prot

Test failure

Implementation: ref
Security model: unknown
Compiler: gcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer
error 142
sh: line 1: 41618 Alarm clock killafter 3600 ./try

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: gcc -m64 -march=core-avx2 -O3 -fomit-frame-pointer
error 142
sh: line 1: 43166 Alarm clock killafter 3600 ./try

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -m64 -march=core-avx2 -O3 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: gcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer
error 142
sh: line 1: 41044 Alarm clock killafter 3600 ./try

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer
error 142
sh: line 1: 37769 Alarm clock killafter 3600 ./try

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
error 142
sh: line 1: 35983 Alarm clock killafter 3600 ./try

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref

Compiler output

Implementation: opt
Security model: unknown
Compiler: cc
dh.c: In file included from dh.c:10:0:
dh.c: ffa.h: In function 'low_mul':
dh.c: ffa.h:62:9: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: re0 = _mm_clmulepi64_si128(op0, op1, ord);\
dh.c: ^
dh.c: ffa.h:94:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r00,r01,r02,0x00); /* a0xb0 */
dh.c: ^
dh.c: ffa.h:63:9: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: re1 = _mm_clmulepi64_si128(op2, op3, ord);\
dh.c: ^
dh.c: ffa.h:94:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r00,r01,r02,0x00); /* a0xb0 */
dh.c: ^
dh.c: ffa.h:64:9: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: re2 = _mm_clmulepi64_si128(op4, op5, ord);\
dh.c: ^
dh.c: ffa.h:94:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r00,r01,r02,0x00); /* a0xb0 */
dh.c: ^
dh.c: ffa.h:62:9: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: re0 = _mm_clmulepi64_si128(op0, op1, ord);\
dh.c: ^
dh.c: ffa.h:95:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(a00,a00,k01,k01,a01,a01,r10,r11,r12,0x01); /* (a0+a1) x (b0+b1) */
dh.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
cc opt

Compiler output

Implementation: opt
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
dh.c: In file included from dh.c:10:
dh.c: ./ffa.h:94:5: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r00,r01,r02,0x00); /* a0xb0 */
dh.c: ^
dh.c: ./ffa.h:62:11: note: expanded from macro 'low_kts_stp'
dh.c: re0 = _mm_clmulepi64_si128(op0, op1, ord);\
dh.c: ^
dh.c: /usr/bin/../lib64/clang/3.8.0/include/__wmmintrin_pclmul.h:27:13: note: expanded from macro '_mm_clmulepi64_si128'
dh.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(__X), \
dh.c: ^
dh.c: In file included from dh.c:10:
dh.c: ./ffa.h:94:5: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
dh.c: ./ffa.h:63:11: note: expanded from macro 'low_kts_stp'
dh.c: re1 = _mm_clmulepi64_si128(op2, op3, ord);\
dh.c: ^
dh.c: /usr/bin/../lib64/clang/3.8.0/include/__wmmintrin_pclmul.h:27:13: note: expanded from macro '_mm_clmulepi64_si128'
dh.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(__X), \
dh.c: ^
dh.c: In file included from dh.c:10:
dh.c: ./ffa.h:94:5: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
dh.c: ./ffa.h:64:11: note: expanded from macro 'low_kts_stp'
dh.c: re2 = _mm_clmulepi64_si128(op4, op5, ord);\
dh.c: ^
dh.c: /usr/bin/../lib64/clang/3.8.0/include/__wmmintrin_pclmul.h:27:13: note: expanded from macro '_mm_clmulepi64_si128'
dh.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(__X), \
dh.c: ...

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments opt
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments opt
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments opt
clang -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments opt
clang -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments opt
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments opt

Compiler output

Implementation: opt
Security model: unknown
Compiler: clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments
try.c: fatal error: error in backend: Cannot select: 0x1352be0: v4i64 = X86ISD::VTRUNC 0x1352a10
try.c: 0x1352a10: v16i32 = vselect 0x1331a00, 0x12f2890, 0x13528e0
try.c: 0x1331a00: v4i1 = X86ISD::PCMPGTM 0x133bcd0, 0x12f4d00
try.c: 0x133bcd0: v4i64 = X86ISD::VBROADCAST 0x12f5090
try.c: 0x12f5090: i64,ch = load<LD8[%uglygep72]> 0x1236da0, 0x12d4780, undef:i64
try.c: 0x12d4780: i64 = add 0x133cbb0, 0x12b9700
try.c: 0x133cbb0: i64 = X86ISD::Wrapper TargetGlobalAddress:i64<[64 x i64]* @cycles> 0
try.c: 0x12dd900: i64 = TargetGlobalAddress<[64 x i64]* @cycles> 0
try.c: 0x12b9700: i64 = shl 0x12dd0b0, Constant:i8<3>
try.c: 0x12dd0b0: i64,ch = CopyFromReg 0x1236da0, Register:i64 %vreg50
try.c: 0x133d070: i64 = Register %vreg50
try.c: 0x12bad00: i8 = Constant<3>
try.c: 0x1339b30: i64 = undef
try.c: 0x12f4d00: v4i64,ch = CopyFromReg 0x1236da0, Register:v4i64 %vreg13
try.c: 0x12e21f0: v4i64 = Register %vreg13
try.c: 0x12f2890: v16i32 = X86ISD::VBROADCAST 0x12dd310
try.c: 0x12dd310: i32,ch = load<LD4[ConstantPool]> 0x1236da0, 0x1352550, undef:i64
try.c: 0x1352550: i64 = X86ISD::Wrapper TargetConstantPool:i64<i32 1> 0
try.c: 0x12f6ac0: i64 = TargetConstantPool<i32 1> 0
try.c: 0x1339b30: i64 = undef
try.c: 0x13528e0: 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.c: 0x13527b0: i32 = Constant<0>
try.c: 0x13527b0: i32 = Constant<0>
try.c: 0x13527b0: i32 = Constant<0>
try.c: 0x13527b0: i32 = Constant<0>
try.c: ...

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

Compiler output

Implementation: opt
Security model: unknown
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: fatal error: error in backend: Cannot select: 0x1b71590: v4i64 = X86ISD::VTRUNC 0x1b713c0
try.c: 0x1b713c0: v16i32 = vselect 0x1b79a60, 0x1aee470, 0x1b71290
try.c: 0x1b79a60: v4i1 = X86ISD::PCMPGTM 0x1b59e70, 0x1aef220
try.c: 0x1b59e70: v4i64 = X86ISD::VBROADCAST 0x1aef5b0
try.c: 0x1aef5b0: i64,ch = load<LD8[%uglygep72]> 0x1a54dd0, 0x1afcbc0, undef:i64
try.c: 0x1afcbc0: i64 = add 0x1b5ad50, 0x1af0a00
try.c: 0x1b5ad50: i64 = X86ISD::Wrapper TargetGlobalAddress:i64<[64 x i64]* @cycles> 0
try.c: 0x1b50030: i64 = TargetGlobalAddress<[64 x i64]* @cycles> 0
try.c: 0x1af0a00: i64 = shl 0x1b4f7e0, Constant:i8<3>
try.c: 0x1b4f7e0: i64,ch = CopyFromReg 0x1a54dd0, Register:i64 %vreg50
try.c: 0x1b5b210: i64 = Register %vreg50
try.c: 0x1b16440: i8 = Constant<3>
try.c: 0x1b584e0: i64 = undef
try.c: 0x1aef220: v4i64,ch = CopyFromReg 0x1a54dd0, Register:v4i64 %vreg13
try.c: 0x1b06210: v4i64 = Register %vreg13
try.c: 0x1aee470: v16i32 = X86ISD::VBROADCAST 0x1b4fa40
try.c: 0x1b4fa40: i32,ch = load<LD4[ConstantPool]> 0x1a54dd0, 0x1b70f00, undef:i64
try.c: 0x1b70f00: i64 = X86ISD::Wrapper TargetConstantPool:i64<i32 1> 0
try.c: 0x1af3c20: i64 = TargetConstantPool<i32 1> 0
try.c: 0x1b584e0: i64 = undef
try.c: 0x1b71290: 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.c: 0x1b71160: i32 = Constant<0>
try.c: 0x1b71160: i32 = Constant<0>
try.c: 0x1b71160: i32 = Constant<0>
try.c: 0x1b71160: i32 = Constant<0>
try.c: ...

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

Compiler output

Implementation: opt
Security model: unknown
Compiler: gcc
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/x86intrin.h:43:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: smu.h: In function 'smu_5nf_dna_ltr':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/smmintrin.h:268:1: error: inlining failed in call to always_inline '_mm_cmpeq_epi64': target specific option mismatch
dh.c: _mm_cmpeq_epi64 (__m128i __X, __m128i __Y)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:12:0:
dh.c: smu.h:251:15: note: called from here
dh.c: msk1[7] = _mm_cmpeq_epi64(cmp[7], dig1);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/x86intrin.h:43:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/smmintrin.h:268:1: error: inlining failed in call to always_inline '_mm_cmpeq_epi64': target specific option mismatch
dh.c: _mm_cmpeq_epi64 (__m128i __X, __m128i __Y)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:12:0:
dh.c: smu.h:250:15: note: called from here
dh.c: msk0[7] = _mm_cmpeq_epi64(cmp[7], dig0);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/x86intrin.h:43:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/smmintrin.h:268:1: error: inlining failed in call to always_inline '_mm_cmpeq_epi64': target specific option mismatch
dh.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc opt
gcc -funroll-loops opt

Compiler output

Implementation: opt
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'low_mul':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:10:0:
dh.c: ffa.h:64:9: note: called from here
dh.c: re2 = _mm_clmulepi64_si128(op4, op5, ord);\
dh.c: ^
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r20,r21,r22,0x11); /* a1xb1 */
dh.c: ^~~~~~~~~~~
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:10:0:
dh.c: ffa.h:63:9: note: called from here
dh.c: re1 = _mm_clmulepi64_si128(op2, op3, ord);\
dh.c: ^
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: ...

Number of similar (compiler,implementation) pairs: 84, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer opt
gcc -O3 -fomit-frame-pointer opt
gcc -O -fomit-frame-pointer opt
gcc -Os -fomit-frame-pointer opt
gcc -fno-schedule-insns -O2 -fomit-frame-pointer opt
gcc -fno-schedule-insns -O3 -fomit-frame-pointer opt
gcc -fno-schedule-insns -O -fomit-frame-pointer opt
gcc -fno-schedule-insns -Os -fomit-frame-pointer opt
gcc -funroll-loops -O2 -fomit-frame-pointer opt
gcc -funroll-loops -O3 -fomit-frame-pointer opt
gcc -funroll-loops -O -fomit-frame-pointer opt
gcc -funroll-loops -Os -fomit-frame-pointer opt
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer opt
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer opt
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer opt
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer opt
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -O -fomit-frame-pointer opt
gcc -funroll-loops -m64 -Os -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer opt
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer opt
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer opt
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer opt
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer opt
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer opt
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer opt
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer opt
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer opt
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer opt
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer opt
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer opt
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer opt
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer opt
gcc -m64 -O2 -fomit-frame-pointer opt
gcc -m64 -O3 -fomit-frame-pointer opt
gcc -m64 -O -fomit-frame-pointer opt
gcc -m64 -Os -fomit-frame-pointer opt
gcc -m64 -march=core2 -O2 -fomit-frame-pointer opt
gcc -m64 -march=core2 -O3 -fomit-frame-pointer opt
gcc -m64 -march=core2 -O -fomit-frame-pointer opt
gcc -m64 -march=core2 -Os -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer opt
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer opt
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer opt
gcc -m64 -march=corei7 -O3 -fomit-frame-pointer opt
gcc -m64 -march=corei7 -O -fomit-frame-pointer opt
gcc -m64 -march=corei7 -Os -fomit-frame-pointer opt
gcc -m64 -march=k8 -O2 -fomit-frame-pointer opt
gcc -m64 -march=k8 -O3 -fomit-frame-pointer opt
gcc -m64 -march=k8 -O -fomit-frame-pointer opt
gcc -m64 -march=k8 -Os -fomit-frame-pointer opt
gcc -m64 -march=nocona -O2 -fomit-frame-pointer opt
gcc -m64 -march=nocona -O3 -fomit-frame-pointer opt
gcc -m64 -march=nocona -O -fomit-frame-pointer opt
gcc -m64 -march=nocona -Os -fomit-frame-pointer opt
gcc -march=barcelona -O2 -fomit-frame-pointer opt
gcc -march=barcelona -O3 -fomit-frame-pointer opt
gcc -march=barcelona -O -fomit-frame-pointer opt
gcc -march=barcelona -Os -fomit-frame-pointer opt
gcc -march=k8 -O2 -fomit-frame-pointer opt
gcc -march=k8 -O3 -fomit-frame-pointer opt
gcc -march=k8 -O -fomit-frame-pointer opt
gcc -march=k8 -Os -fomit-frame-pointer opt
gcc -march=nocona -O2 -fomit-frame-pointer opt
gcc -march=nocona -O3 -fomit-frame-pointer opt
gcc -march=nocona -O -fomit-frame-pointer opt
gcc -march=nocona -Os -fomit-frame-pointer opt

Compiler output

Implementation: opt
Security model: unknown
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'low_mul':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:10:0:
dh.c: ffa.h:64:9: note: called from here
dh.c: re2 = _mm_clmulepi64_si128(op4, op5, ord);\
dh.c: ^
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r20,r21,r22,0x11); /* a1xb1 */
dh.c: ^~~~~~~~~~~
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:10:0:
dh.c: ffa.h:63:9: note: called from here
dh.c: re1 = _mm_clmulepi64_si128(op2, op3, ord);\
dh.c: ^
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: ...
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'low_mul':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:10:0:
dh.c: ffa.h:64:9: note: called from here
dh.c: re2 = _mm_clmulepi64_si128(op4, op5, ord);\
dh.c: ^
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: low_kts_stp(op00,op10,k00,k02,op01,op11,r20,r21,r22,0x11); /* a1xb1 */
dh.c: ^~~~~~~~~~~
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:10:0:
dh.c: ffa.h:63:9: note: called from here
dh.c: re1 = _mm_clmulepi64_si128(op2, op3, ord);\
dh.c: ^
dh.c: ffa.h:96:5: note: in expansion of macro 'low_kts_stp'
dh.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O2 -fomit-frame-pointer opt
gcc -m64 -march=barcelona -O3 -fomit-frame-pointer opt
gcc -m64 -march=barcelona -O -fomit-frame-pointer opt
gcc -m64 -march=barcelona -Os -fomit-frame-pointer opt

Compiler output

Implementation: prot
Security model: unknown
Compiler: cc
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/4.8/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
dh.c: # error "AES/PCLMUL instructions not enabled"
dh.c: ^
dh.c: In file included from dh.c:3:0:
dh.c: low.incl: In function 'low_mul':
dh.c: gls254.h:155:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: r0 = _mm_clmulepi64_si128(ma, mb, 0x00);\
dh.c: ^
dh.c: low.incl:26:2: note: in expansion of macro 'MUL4'
dh.c: MUL4(m1, m0, ma, mb);
dh.c: ^
dh.c: gls254.h:156:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: r1 = _mm_clmulepi64_si128(ma, mb, 0x11);\
dh.c: ^
dh.c: low.incl:26:2: note: in expansion of macro 'MUL4'
dh.c: MUL4(m1, m0, ma, mb);
dh.c: ^
dh.c: gls254.h:157:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: t0 = _mm_clmulepi64_si128(t0, t0, 0x10);\
dh.c: ^
dh.c: low.incl:26:2: note: in expansion of macro 'MUL4'
dh.c: MUL4(m1, m0, ma, mb);
dh.c: ^
dh.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
cc prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
dh.c: In file included from dh.c:7:
dh.c: ./low.incl:26:2: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
dh.c: MUL4(m1, m0, ma, mb);
dh.c: ^
dh.c: ./gls254.h:155:7: note: expanded from macro 'MUL4'
dh.c: r0 = _mm_clmulepi64_si128(ma, mb, 0x00);\
dh.c: ^
dh.c: /usr/bin/../lib64/clang/3.8.0/include/__wmmintrin_pclmul.h:27:13: note: expanded from macro '_mm_clmulepi64_si128'
dh.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(__X), \
dh.c: ^
dh.c: In file included from dh.c:7:
dh.c: ./low.incl:26:2: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
dh.c: ./gls254.h:156:7: note: expanded from macro 'MUL4'
dh.c: r1 = _mm_clmulepi64_si128(ma, mb, 0x11);\
dh.c: ^
dh.c: /usr/bin/../lib64/clang/3.8.0/include/__wmmintrin_pclmul.h:27:13: note: expanded from macro '_mm_clmulepi64_si128'
dh.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(__X), \
dh.c: ^
dh.c: In file included from dh.c:7:
dh.c: ./low.incl:26:2: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
dh.c: ./gls254.h:157:7: note: expanded from macro 'MUL4'
dh.c: t0 = _mm_clmulepi64_si128(t0, t0, 0x10);\
dh.c: ^
dh.c: /usr/bin/../lib64/clang/3.8.0/include/__wmmintrin_pclmul.h:27:13: note: expanded from macro '_mm_clmulepi64_si128'
dh.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(__X), \
dh.c: ...

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments prot
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments prot
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments prot
clang -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments prot
clang -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments prot
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments
dh.c: In file included from dh.c:9:
dh.c: ./scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2' is invalid in C99 [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^
dh.c: ./scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy' is invalid in C99 [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^
dh.c: 2 warnings generated.
try.c: fatal error: error in backend: Cannot select: 0x26ae100: v4i64 = X86ISD::VTRUNC 0x26adf30
try.c: 0x26adf30: v16i32 = vselect 0x26c2540, 0x2642510, 0x26ade00
try.c: 0x26c2540: v4i1 = X86ISD::PCMPGTM 0x26a8b60, 0x26432c0
try.c: 0x26a8b60: v4i64 = X86ISD::VBROADCAST 0x2643650
try.c: 0x2643650: i64,ch = load<LD8[%uglygep72]> 0x25a3dd0, 0x2660610, undef:i64
try.c: 0x2660610: i64 = add 0x26a9a40, 0x263e8f0
try.c: 0x26a9a40: i64 = X86ISD::Wrapper TargetGlobalAddress:i64<[64 x i64]* @cycles> 0
try.c: 0x269fbb0: i64 = TargetGlobalAddress<[64 x i64]* @cycles> 0
try.c: 0x263e8f0: i64 = shl 0x269f360, Constant:i8<3>
try.c: 0x269f360: i64,ch = CopyFromReg 0x25a3dd0, Register:i64 %vreg50
try.c: 0x26a9f00: i64 = Register %vreg50
try.c: 0x2625d30: i8 = Constant<3>
try.c: 0x26a71d0: i64 = undef
try.c: 0x26432c0: v4i64,ch = CopyFromReg 0x25a3dd0, Register:v4i64 %vreg13
try.c: 0x2656630: v4i64 = Register %vreg13
try.c: 0x2642510: v16i32 = X86ISD::VBROADCAST 0x269f5c0
try.c: 0x269f5c0: i32,ch = load<LD4[ConstantPool]> 0x25a3dd0, 0x26ada70, undef:i64
try.c: 0x26ada70: i64 = X86ISD::Wrapper TargetConstantPool:i64<i32 1> 0
try.c: 0x2654150: i64 = TargetConstantPool<i32 1> 0
try.c: 0x26a71d0: i64 = undef
try.c: 0x26ade00: 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.c: 0x26adcd0: i32 = Constant<0>
try.c: 0x26adcd0: i32 = Constant<0>
try.c: 0x26adcd0: i32 = Constant<0>
try.c: 0x26adcd0: i32 = Constant<0>
try.c: ...

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

Compiler output

Implementation: prot
Security model: unknown
Compiler: clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments
dh.c: In file included from dh.c:9:
dh.c: ./scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2' is invalid in C99 [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^
dh.c: ./scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy' is invalid in C99 [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^
dh.c: 2 warnings generated.

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments prot
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
dh.c: In file included from dh.c:9:
dh.c: ./scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2' is invalid in C99 [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^
dh.c: ./scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy' is invalid in C99 [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^
dh.c: 2 warnings generated.
try.c: fatal error: error in backend: Cannot select: 0x1568f90: v4i64 = X86ISD::VTRUNC 0x1568dc0
try.c: 0x1568dc0: v16i32 = vselect 0x155a4f0, 0x14ed960, 0x1568c90
try.c: 0x155a4f0: v4i1 = X86ISD::PCMPGTM 0x1553490, 0x14ee710
try.c: 0x1553490: v4i64 = X86ISD::VBROADCAST 0x14eeaa0
try.c: 0x14eeaa0: i64,ch = load<LD8[%uglygep72]> 0x144cdd0, 0x150cc30, undef:i64
try.c: 0x150cc30: i64 = add 0x1554370, 0x14f1f10
try.c: 0x1554370: i64 = X86ISD::Wrapper TargetGlobalAddress:i64<[64 x i64]* @cycles> 0
try.c: 0x1544cc0: i64 = TargetGlobalAddress<[64 x i64]* @cycles> 0
try.c: 0x14f1f10: i64 = shl 0x1544470, Constant:i8<3>
try.c: 0x1544470: i64,ch = CopyFromReg 0x144cdd0, Register:i64 %vreg50
try.c: 0x1554830: i64 = Register %vreg50
try.c: 0x14e7200: i8 = Constant<3>
try.c: 0x1551b00: i64 = undef
try.c: 0x14ee710: v4i64,ch = CopyFromReg 0x144cdd0, Register:v4i64 %vreg13
try.c: 0x1509180: v4i64 = Register %vreg13
try.c: 0x14ed960: v16i32 = X86ISD::VBROADCAST 0x15446d0
try.c: 0x15446d0: i32,ch = load<LD4[ConstantPool]> 0x144cdd0, 0x1568900, undef:i64
try.c: 0x1568900: i64 = X86ISD::Wrapper TargetConstantPool:i64<i32 1> 0
try.c: 0x150ff00: i64 = TargetConstantPool<i32 1> 0
try.c: 0x1551b00: i64 = undef
try.c: 0x1568c90: 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.c: 0x1568b60: i32 = Constant<0>
try.c: 0x1568b60: i32 = Constant<0>
try.c: 0x1568b60: i32 = Constant<0>
try.c: 0x1568b60: i32 = Constant<0>
try.c: ...

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

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/immintrin.h:35:0,
dh.c: from gls254.h:20,
dh.c: from dh.c:3:
dh.c: low.incl: In function 'low_sq':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline '_mm_shuffle_epi8': target specific option mismatch
dh.c: _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
dh.c: ^~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:0:
dh.c: gls254.h:168:5: note: called from here
dh.c: t0 = _mm_shuffle_epi8(sq, t0);\
dh.c: ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: low.incl:123:2: note: in expansion of macro 'SQUARE'
dh.c: SQUARE(m0, m1, sq, mask);
dh.c: ^~~~~~
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/immintrin.h:35:0,
dh.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc prot
gcc -funroll-loops prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/immintrin.h:35:0,
dh.c: from gls254.h:20,
dh.c: from dh.c:3:
dh.c: low.incl: In function 'low_mul':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:0:
dh.c: gls254.h:132:7: note: called from here
dh.c: t0 = _mm_alignr_epi8(m1,m0,8);\
dh.c: low.incl:27:2: note: in expansion of macro 'REDUCE'
dh.c: REDUCE(t0, m1, m0);
dh.c: ^~~~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: ...

Number of similar (compiler,implementation) pairs: 68, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer prot
gcc -O3 -fomit-frame-pointer prot
gcc -O -fomit-frame-pointer prot
gcc -Os -fomit-frame-pointer prot
gcc -fno-schedule-insns -O2 -fomit-frame-pointer prot
gcc -fno-schedule-insns -O3 -fomit-frame-pointer prot
gcc -fno-schedule-insns -O -fomit-frame-pointer prot
gcc -fno-schedule-insns -Os -fomit-frame-pointer prot
gcc -funroll-loops -O2 -fomit-frame-pointer prot
gcc -funroll-loops -O3 -fomit-frame-pointer prot
gcc -funroll-loops -O -fomit-frame-pointer prot
gcc -funroll-loops -Os -fomit-frame-pointer prot
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer prot
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer prot
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer prot
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer prot
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -O -fomit-frame-pointer prot
gcc -funroll-loops -m64 -Os -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer prot
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer prot
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer prot
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer prot
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer prot
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer prot
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer prot
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer prot
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer prot
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer prot
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer prot
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer prot
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer prot
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer prot
gcc -m64 -O2 -fomit-frame-pointer prot
gcc -m64 -O3 -fomit-frame-pointer prot
gcc -m64 -O -fomit-frame-pointer prot
gcc -m64 -Os -fomit-frame-pointer prot
gcc -m64 -march=k8 -O2 -fomit-frame-pointer prot
gcc -m64 -march=k8 -O3 -fomit-frame-pointer prot
gcc -m64 -march=k8 -O -fomit-frame-pointer prot
gcc -m64 -march=k8 -Os -fomit-frame-pointer prot
gcc -m64 -march=nocona -O2 -fomit-frame-pointer prot
gcc -m64 -march=nocona -O3 -fomit-frame-pointer prot
gcc -m64 -march=nocona -O -fomit-frame-pointer prot
gcc -m64 -march=nocona -Os -fomit-frame-pointer prot
gcc -march=barcelona -O2 -fomit-frame-pointer prot
gcc -march=barcelona -O3 -fomit-frame-pointer prot
gcc -march=barcelona -O -fomit-frame-pointer prot
gcc -march=barcelona -Os -fomit-frame-pointer prot
gcc -march=k8 -O2 -fomit-frame-pointer prot
gcc -march=k8 -O3 -fomit-frame-pointer prot
gcc -march=k8 -O -fomit-frame-pointer prot
gcc -march=k8 -Os -fomit-frame-pointer prot
gcc -march=nocona -O2 -fomit-frame-pointer prot
gcc -march=nocona -O3 -fomit-frame-pointer prot
gcc -march=nocona -O -fomit-frame-pointer prot
gcc -march=nocona -Os -fomit-frame-pointer prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/immintrin.h:35:0,
dh.c: from gls254.h:20,
dh.c: from dh.c:3:
dh.c: low.incl: In function 'low_mul':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:0:
dh.c: gls254.h:132:7: note: called from here
dh.c: t0 = _mm_alignr_epi8(m1,m0,8);\
dh.c: low.incl:27:2: note: in expansion of macro 'REDUCE'
dh.c: REDUCE(t0, m1, m0);
dh.c: ^~~~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: ...
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/immintrin.h:35:0,
dh.c: from gls254.h:20,
dh.c: from dh.c:3:
dh.c: low.incl: In function 'low_mul':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:0:
dh.c: gls254.h:132:7: note: called from here
dh.c: t0 = _mm_alignr_epi8(m1,m0,8);\
dh.c: low.incl:27:2: note: in expansion of macro 'REDUCE'
dh.c: REDUCE(t0, m1, m0);
dh.c: ^~~~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O2 -fomit-frame-pointer prot
gcc -m64 -march=barcelona -O3 -fomit-frame-pointer prot
gcc -m64 -march=barcelona -O -fomit-frame-pointer prot
gcc -m64 -march=barcelona -Os -fomit-frame-pointer prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy

Number of similar (compiler,implementation) pairs: 20, namely:
CompilerImplementations
gcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer prot
gcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer prot
gcc -m64 -march=core-avx-i -O -fomit-frame-pointer prot
gcc -m64 -march=core-avx-i -Os -fomit-frame-pointer prot
gcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer prot
gcc -m64 -march=core-avx2 -O3 -fomit-frame-pointer prot
gcc -m64 -march=core-avx2 -O -fomit-frame-pointer prot
gcc -m64 -march=core-avx2 -Os -fomit-frame-pointer prot
gcc -m64 -march=corei7-avx -O2 -fomit-frame-pointer prot
gcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer prot
gcc -m64 -march=corei7-avx -O -fomit-frame-pointer prot
gcc -m64 -march=corei7-avx -Os -fomit-frame-pointer prot
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer prot
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer prot
gcc -m64 -march=native -mtune=native -O -fomit-frame-pointer prot
gcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer prot
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv prot
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv prot
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv prot
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc -m64 -march=core2 -O2 -fomit-frame-pointer
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: low.incl: In function 'low_mul':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:0:
dh.c: gls254.h:157:5: note: called from here
dh.c: t0 = _mm_clmulepi64_si128(t0, t0, 0x10);\
dh.c: ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: low.incl:26:2: note: in expansion of macro 'MUL4'
dh.c: MUL4(m1, m0, ma, mb);
dh.c: ^~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: ...

Number of similar (compiler,implementation) pairs: 16, namely:
CompilerImplementations
gcc -m64 -march=core2 -O2 -fomit-frame-pointer prot
gcc -m64 -march=core2 -O3 -fomit-frame-pointer prot
gcc -m64 -march=core2 -O -fomit-frame-pointer prot
gcc -m64 -march=core2 -Os -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer prot
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer prot
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer prot
gcc -m64 -march=corei7 -O3 -fomit-frame-pointer prot
gcc -m64 -march=corei7 -O -fomit-frame-pointer prot
gcc -m64 -march=corei7 -Os -fomit-frame-pointer prot

Compiler output

Implementation: ref
Security model: unknown
Compiler: cc
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/4.8/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
dh.c: # error "AES/PCLMUL instructions not enabled"
dh.c: ^
dh.c: In file included from dh.c:3:0:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: gls254.h:272:4: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: ^
dh.c: curves.incl:53:2: note: in expansion of macro 'STEP'
dh.c: STEP(k, t, tmp, 16*1, 0x01);
dh.c: ^
dh.c: gls254.h:272:4: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: ^
dh.c: curves.incl:54:2: note: in expansion of macro 'STEP'
dh.c: STEP(k, t, tmp, 16*2, 0x02);
dh.c: ^
dh.c: gls254.h:272:4: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: ^
dh.c: curves.incl:55:2: note: in expansion of macro 'STEP'
dh.c: STEP(k, t, tmp, 16*3, 0x04);
dh.c: ^
dh.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
cc ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
dh.c: In file included from dh.c:6:
dh.c: ./curves.incl:53:2: error: '__builtin_ia32_aeskeygenassist128' needs target feature aes
dh.c: STEP(k, t, tmp, 16*1, 0x01);
dh.c: ^
dh.c: ./gls254.h:272:6: note: expanded from macro 'STEP'
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: ^
dh.c: /usr/bin/../lib64/clang/3.8.0/include/__wmmintrin_aes.h:62:12: note: expanded from macro '_mm_aeskeygenassist_si128'
dh.c: (__m128i)__builtin_ia32_aeskeygenassist128((__v2di)(__m128i)(C), (int)(R))
dh.c: ^
dh.c: In file included from dh.c:6:
dh.c: ./curves.incl:54:2: error: '__builtin_ia32_aeskeygenassist128' needs target feature aes
dh.c: STEP(k, t, tmp, 16*2, 0x02);
dh.c: ^
dh.c: ./gls254.h:272:6: note: expanded from macro 'STEP'
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: ^
dh.c: /usr/bin/../lib64/clang/3.8.0/include/__wmmintrin_aes.h:62:12: note: expanded from macro '_mm_aeskeygenassist_si128'
dh.c: (__m128i)__builtin_ia32_aeskeygenassist128((__v2di)(__m128i)(C), (int)(R))
dh.c: ^
dh.c: In file included from dh.c:6:
dh.c: ./curves.incl:55:2: error: '__builtin_ia32_aeskeygenassist128' needs target feature aes
dh.c: STEP(k, t, tmp, 16*3, 0x04);
dh.c: ^
dh.c: ./gls254.h:272:6: note: expanded from macro 'STEP'
dh.c: ...

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments ref
clang -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments
dh.c: In file included from dh.c:9:
dh.c: ./scmul.incl:204:14: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
dh.c: if (num[0] & 0x1 == 1) {
dh.c: ^~~~~~~~~~
dh.c: ./scmul.incl:204:14: note: place parentheses around the '==' expression to silence this warning
dh.c: if (num[0] & 0x1 == 1) {
dh.c: ^
dh.c: ( )
dh.c: ./scmul.incl:204:14: note: place parentheses around the & expression to evaluate it first
dh.c: if (num[0] & 0x1 == 1) {
dh.c: ^
dh.c: ( )
dh.c: 1 warning generated.
try.c: fatal error: error in backend: Cannot select: 0x20505f0: v4i64 = X86ISD::VTRUNC 0x2050420
try.c: 0x2050420: v16i32 = vselect 0x2055e80, 0x1ffaf80, 0x20502f0
try.c: 0x2055e80: v4i1 = X86ISD::PCMPGTM 0x203aef0, 0x1ffbd30
try.c: 0x203aef0: v4i64 = X86ISD::VBROADCAST 0x1ffc0c0
try.c: 0x1ffc0c0: i64,ch = load<LD8[%uglygep72]> 0x1f36dd0, 0x1fd1220, undef:i64
try.c: 0x1fd1220: i64 = add 0x203bdd0, 0x1fdcaa0
try.c: 0x203bdd0: i64 = X86ISD::Wrapper TargetGlobalAddress:i64<[64 x i64]* @cycles> 0
try.c: 0x1f94040: i64 = TargetGlobalAddress<[64 x i64]* @cycles> 0
try.c: 0x1fdcaa0: i64 = shl 0x1f937f0, Constant:i8<3>
try.c: 0x1f937f0: i64,ch = CopyFromReg 0x1f36dd0, Register:i64 %vreg50
try.c: 0x203c290: i64 = Register %vreg50
try.c: 0x1fef2b0: i8 = Constant<3>
try.c: 0x2039560: i64 = undef
try.c: 0x1ffbd30: v4i64,ch = CopyFromReg 0x1f36dd0, Register:v4i64 %vreg13
try.c: 0x1ff91d0: v4i64 = Register %vreg13
try.c: 0x1ffaf80: v16i32 = X86ISD::VBROADCAST 0x1f93a50
try.c: 0x1f93a50: i32,ch = load<LD4[ConstantPool]> 0x1f36dd0, 0x204ff60, undef:i64
try.c: 0x204ff60: i64 = X86ISD::Wrapper TargetConstantPool:i64<i32 1> 0
try.c: 0x1fe9eb0: i64 = TargetConstantPool<i32 1> 0
try.c: 0x2039560: i64 = undef
try.c: 0x20502f0: 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.c: 0x20501c0: i32 = Constant<0>
try.c: 0x20501c0: i32 = Constant<0>
try.c: 0x20501c0: i32 = Constant<0>
try.c: 0x20501c0: i32 = Constant<0>
try.c: ...

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

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments
dh.c: In file included from dh.c:9:
dh.c: ./scmul.incl:204:14: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
dh.c: if (num[0] & 0x1 == 1) {
dh.c: ^~~~~~~~~~
dh.c: ./scmul.incl:204:14: note: place parentheses around the '==' expression to silence this warning
dh.c: if (num[0] & 0x1 == 1) {
dh.c: ^
dh.c: ( )
dh.c: ./scmul.incl:204:14: note: place parentheses around the & expression to evaluate it first
dh.c: if (num[0] & 0x1 == 1) {
dh.c: ^
dh.c: ( )
dh.c: 1 warning generated.

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
dh.c: In file included from dh.c:9:
dh.c: ./scmul.incl:204:14: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
dh.c: if (num[0] & 0x1 == 1) {
dh.c: ^~~~~~~~~~
dh.c: ./scmul.incl:204:14: note: place parentheses around the '==' expression to silence this warning
dh.c: if (num[0] & 0x1 == 1) {
dh.c: ^
dh.c: ( )
dh.c: ./scmul.incl:204:14: note: place parentheses around the & expression to evaluate it first
dh.c: if (num[0] & 0x1 == 1) {
dh.c: ^
dh.c: ( )
dh.c: 1 warning generated.
try.c: fatal error: error in backend: Cannot select: 0x1a17020: v4i64 = X86ISD::VTRUNC 0x1a16e50
try.c: 0x1a16e50: v16i32 = vselect 0x1a13a90, 0x19ac420, 0x1a16d20
try.c: 0x1a13a90: v4i1 = X86ISD::PCMPGTM 0x1a00510, 0x1997f70
try.c: 0x1a00510: v4i64 = X86ISD::VBROADCAST 0x1998300
try.c: 0x1998300: i64,ch = load<LD8[%uglygep72]> 0x18f9dd0, 0x19cb5f0, undef:i64
try.c: 0x19cb5f0: i64 = add 0x1a013f0, 0x19ae220
try.c: 0x1a013f0: i64 = X86ISD::Wrapper TargetGlobalAddress:i64<[64 x i64]* @cycles> 0
try.c: 0x19f37b0: i64 = TargetGlobalAddress<[64 x i64]* @cycles> 0
try.c: 0x19ae220: i64 = shl 0x19f2f60, Constant:i8<3>
try.c: 0x19f2f60: i64,ch = CopyFromReg 0x18f9dd0, Register:i64 %vreg50
try.c: 0x1a018b0: i64 = Register %vreg50
try.c: 0x19af820: i8 = Constant<3>
try.c: 0x19feb80: i64 = undef
try.c: 0x1997f70: v4i64,ch = CopyFromReg 0x18f9dd0, Register:v4i64 %vreg13
try.c: 0x1994580: v4i64 = Register %vreg13
try.c: 0x19ac420: v16i32 = X86ISD::VBROADCAST 0x19f31c0
try.c: 0x19f31c0: i32,ch = load<LD4[ConstantPool]> 0x18f9dd0, 0x1a16990, undef:i64
try.c: 0x1a16990: i64 = X86ISD::Wrapper TargetConstantPool:i64<i32 1> 0
try.c: 0x1999d30: i64 = TargetConstantPool<i32 1> 0
try.c: 0x19feb80: i64 = undef
try.c: 0x1a16d20: 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.c: 0x1a16bf0: i32 = Constant<0>
try.c: 0x1a16bf0: i32 = Constant<0>
try.c: 0x1a16bf0: i32 = Constant<0>
try.c: 0x1a16bf0: i32 = Constant<0>
try.c: ...

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

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: curves.incl: In function 'AESenc':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '_mm_aesenc_si128': target specific option mismatch
dh.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
dh.c: ^~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:0:
dh.c: curves.incl:75:5: note: called from here
dh.c: c = _mm_aesenc_si128(c, k);
dh.c: ~~^~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '_mm_aesenc_si128': target specific option mismatch
dh.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
dh.c: ^~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:0:
dh.c: curves.incl:75:5: note: called from here
dh.c: c = _mm_aesenc_si128(c, k);
dh.c: ~~^~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:69:1: error: inlining failed in call to always_inline '_mm_aesenclast_si128': target specific option mismatch
dh.c: _mm_aesenclast_si128 (__m128i __X, __m128i __Y)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:0:
dh.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc ref
gcc -funroll-loops ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:87:1: error: inlining failed in call to always_inline '_mm_aeskeygenassist_si128': target specific option mismatch
dh.c: _mm_aeskeygenassist_si128 (__m128i __X, const int __C)
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:0:
dh.c: gls254.h:272:4: note: called from here
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: curves.incl:62:2: note: in expansion of macro 'STEP'
dh.c: STEP(k, t, tmp, 16*10, 0x36);
dh.c: ^~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:87:1: error: inlining failed in call to always_inline '_mm_aeskeygenassist_si128': target specific option mismatch
dh.c: _mm_aeskeygenassist_si128 (__m128i __X, const int __C)
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:0:
dh.c: gls254.h:272:4: note: called from here
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: curves.incl:61:2: note: in expansion of macro 'STEP'
dh.c: STEP(k, t, tmp, 16*9, 0x1b);
dh.c: ^~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: ...

Number of similar (compiler,implementation) pairs: 84, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer ref
gcc -O3 -fomit-frame-pointer ref
gcc -O -fomit-frame-pointer ref
gcc -Os -fomit-frame-pointer ref
gcc -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops -O2 -fomit-frame-pointer ref
gcc -funroll-loops -O3 -fomit-frame-pointer ref
gcc -funroll-loops -O -fomit-frame-pointer ref
gcc -funroll-loops -Os -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer ref
gcc -m64 -O2 -fomit-frame-pointer ref
gcc -m64 -O3 -fomit-frame-pointer ref
gcc -m64 -O -fomit-frame-pointer ref
gcc -m64 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O3 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O -fomit-frame-pointer ref
gcc -m64 -march=corei7 -Os -fomit-frame-pointer ref
gcc -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -march=barcelona -O2 -fomit-frame-pointer ref
gcc -march=barcelona -O3 -fomit-frame-pointer ref
gcc -march=barcelona -O -fomit-frame-pointer ref
gcc -march=barcelona -Os -fomit-frame-pointer ref
gcc -march=k8 -O2 -fomit-frame-pointer ref
gcc -march=k8 -O3 -fomit-frame-pointer ref
gcc -march=k8 -O -fomit-frame-pointer ref
gcc -march=k8 -Os -fomit-frame-pointer ref
gcc -march=nocona -O2 -fomit-frame-pointer ref
gcc -march=nocona -O3 -fomit-frame-pointer ref
gcc -march=nocona -O -fomit-frame-pointer ref
gcc -march=nocona -Os -fomit-frame-pointer ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:87:1: error: inlining failed in call to always_inline '_mm_aeskeygenassist_si128': target specific option mismatch
dh.c: _mm_aeskeygenassist_si128 (__m128i __X, const int __C)
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:0:
dh.c: gls254.h:272:4: note: called from here
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: curves.incl:62:2: note: in expansion of macro 'STEP'
dh.c: STEP(k, t, tmp, 16*10, 0x36);
dh.c: ^~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:87:1: error: inlining failed in call to always_inline '_mm_aeskeygenassist_si128': target specific option mismatch
dh.c: _mm_aeskeygenassist_si128 (__m128i __X, const int __C)
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:0:
dh.c: gls254.h:272:4: note: called from here
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: curves.incl:61:2: note: in expansion of macro 'STEP'
dh.c: STEP(k, t, tmp, 16*9, 0x1b);
dh.c: ^~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: ...
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:87:1: error: inlining failed in call to always_inline '_mm_aeskeygenassist_si128': target specific option mismatch
dh.c: _mm_aeskeygenassist_si128 (__m128i __X, const int __C)
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:0:
dh.c: gls254.h:272:4: note: called from here
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: curves.incl:62:2: note: in expansion of macro 'STEP'
dh.c: STEP(k, t, tmp, 16*10, 0x36);
dh.c: ^~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib64/gcc/x86_64-suse-linux/7/include/wmmintrin.h:87:1: error: inlining failed in call to always_inline '_mm_aeskeygenassist_si128': target specific option mismatch
dh.c: _mm_aeskeygenassist_si128 (__m128i __X, const int __C)
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:3:0:
dh.c: gls254.h:272:4: note: called from here
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: curves.incl:61:2: note: in expansion of macro 'STEP'
dh.c: STEP(k, t, tmp, 16*9, 0x1b);
dh.c: ^~~~
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O2 -fomit-frame-pointer ref
gcc -m64 -march=barcelona -O3 -fomit-frame-pointer ref
gcc -m64 -march=barcelona -O -fomit-frame-pointer ref
gcc -m64 -march=barcelona -Os -fomit-frame-pointer ref