Implementation notes: amd64, h5e450, crypto_dh/gls254

Computer: h5e450
Architecture: amd64
CPU ID: AuthenticAMD-00500f20-178bfbff
SUPERCOP version: 20130419
Operation: crypto_dh
Primitive: gls254

Compiler output

Implementation: crypto_dh/gls254/ref
Compiler: cc
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-linux-gnu/4.6/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
dh.c: In file included from dh.c:6:0:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: curves.incl:47:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:48:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:49:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:50:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:51:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:52:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:53:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:54:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:55:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:56:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl: In function 'AESenc':
dh.c: curves.incl:69:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:73:4: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:7:0:
dh.c: low.incl: In function 'low_mul':
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:27:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl: In function 'low_mul254':
dh.c: ...

Number of similar (compiler,implementation) pairs: 71, namely:
CompilerImplementations
cc ref
gcc ref
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 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=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: crypto_dh/gls254/ref
Compiler: clang -O3
dh.c: In file included from dh.c:3:
dh.c: In file included from ./gls254.h:18:
dh.c: /usr/include/clang/3.0/include/wmmintrin.h:28:3: error: #error "AES instructions not enabled"
dh.c: # error "AES instructions not enabled"
dh.c: ^
dh.c: In file included from dh.c:6:
dh.c: ./curves.incl:47: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:
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: ^
dh.c: In file included from dh.c:6:
dh.c: ./curves.incl:47: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:
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:
dh.c: ./curves.incl:48: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:
dh.c: t = _mm_aeskeygenassist_si128(k, rcon);\
dh.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 ref

Compiler output

Implementation: crypto_dh/gls254/ref
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: /usr/lib/gcc/x86_64-linux-gnu/4.6/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
dh.c: In file included from dh.c:6:0:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: curves.incl:47:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:48:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:49:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:50:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:51:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:52:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:53:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:54:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:55:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:56:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl: In function 'AESenc':
dh.c: curves.incl:69:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:73:4: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:7:0:
dh.c: low.incl: In function 'low_mul':
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:27:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl: In function 'low_mul254':
dh.c: ...
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-linux-gnu/4.6/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
dh.c: In file included from dh.c:6:0:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: curves.incl:47:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:48:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:49:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:50:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:51:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:52:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:53:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:54:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:55:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:56:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl: In function 'AESenc':
dh.c: curves.incl:69:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:73:4: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:7:0:
dh.c: low.incl: In function 'low_mul':
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:27:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl: In function 'low_mul254':
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

Compiler output

Implementation: crypto_dh/gls254/ref
Compiler: gcc -m64 -march=core2 -O2 -fomit-frame-pointer
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-linux-gnu/4.6/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
dh.c: In file included from dh.c:6:0:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: curves.incl:47:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:48:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:49:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:50:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:51:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:52:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:53:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:54:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:55:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:56:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl: In function 'AESenc':
dh.c: curves.incl:69:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:73:4: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:7:0:
dh.c: low.incl: In function 'low_mul':
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl: In function 'low_mul254':
dh.c: low.incl:45:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ...

Number of similar (compiler,implementation) pairs: 17, namely:
CompilerImplementations
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 -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 -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 -O -fomit-frame-pointer ref
gcc -m64 -march=corei7 -Os -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer ref