Implementation notes: amd64, wintermute, crypto_dh/gls254

Computer: wintermute
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20140505
Operation: crypto_dh
Primitive: gls254

Compiler output

Implementation: crypto_dh/gls254/ref
Compiler: cc
dh.c: In file included from dh.c:3:
dh.c: In file included from ./gls254.h:18:
dh.c: /usr/include/clang/3.3/wmmintrin.h:30:3: error: "AES/PCLMUL instructions not enabled"
dh.c: # error "AES/PCLMUL instructions not enabled"
dh.c: ^
dh.c: In file included from dh.c:6:
dh.c: ./curves.incl:53:2: warning: implicit declaration of function '_mm_aeskeygenassist_si128' is invalid in C99 [-Wimplicit-function-declaration]
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: In file included from dh.c:6:
dh.c: ./curves.incl:53:2: error: assigning to '__m128i' from incompatible type 'int'
dh.c: STEP(k, t, tmp, 16*1, 0x01);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: ./gls254.h:272:4: note: expanded from macro 'STEP'
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:
dh.c: ./curves.incl:54:2: error: assigning to '__m128i' from incompatible type 'int'
dh.c: STEP(k, t, tmp, 16*2, 0x02);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: ./gls254.h:272:4: note: expanded from macro 'STEP'
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
cc ref
clang -O3 ref
clang -O3 -mavx ref
clang -O3 -mavx2 ref

Compiler output

Implementation: crypto_dh/gls254/prot
Compiler: cc
dh.c: In file included from dh.c:3:
dh.c: In file included from ./gls254.h:18:
dh.c: /usr/include/clang/3.3/wmmintrin.h:30:3: error: "AES/PCLMUL instructions not enabled"
dh.c: # error "AES/PCLMUL instructions not enabled"
dh.c: ^
dh.c: In file included from dh.c:7:
dh.c: ./low.incl:26:2: warning: implicit declaration of function '_mm_clmulepi64_si128' is invalid in C99 [-Wimplicit-function-declaration]
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: In file included from dh.c:7:
dh.c: ./low.incl:26:2: error: assigning to '__m128i' from incompatible type 'int'
dh.c: MUL4(m1, m0, ma, mb);
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: ./gls254.h:155:5: note: expanded from macro 'MUL4'
dh.c: r0 = _mm_clmulepi64_si128(ma, mb, 0x00);\
dh.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:7:
dh.c: ./low.incl:26:2: error: assigning to '__m128i' from incompatible type 'int'
dh.c: MUL4(m1, m0, ma, mb);
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: ./gls254.h:156:5: note: expanded from macro 'MUL4'
dh.c: r1 = _mm_clmulepi64_si128(ma, mb, 0x11);\
dh.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
cc prot
clang -O3 prot
clang -O3 -mavx prot
clang -O3 -mavx2 prot