Implementation notes: amd64, berlekamp, crypto_dh/gls254

Computer: berlekamp
Architecture: amd64
CPU ID: GenuineIntel-00010677-bfebfbff
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,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
dh.c: In file included from dh.c:6:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: curves.incl:47: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:48: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:49: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:50: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:51: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:52: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:53: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:54: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:55: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:56: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl: In function 'AESenc':
dh.c: curves.incl:69: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:73: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:7:
dh.c: low.incl: In function 'low_mul':
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:27: 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: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
dh.c: In file included from gls254.h:18,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
dh.c: In file included from dh.c:6:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: curves.incl:47: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:48: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:49: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:50: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:51: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:52: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:53: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:54: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:55: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:56: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl: In function 'AESenc':
dh.c: curves.incl:69: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:73: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:7:
dh.c: low.incl: In function 'low_mul':
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:27: 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,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
dh.c: In file included from dh.c:6:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: curves.incl:47: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:48: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:49: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:50: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:51: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:52: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:53: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:54: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:55: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:56: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl: In function 'AESenc':
dh.c: curves.incl:69: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:73: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:7:
dh.c: low.incl: In function 'low_mul':
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:27: 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,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
dh.c: In file included from dh.c:6:
dh.c: curves.incl: In function 'AESkeyExp':
dh.c: curves.incl:47: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:48: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:49: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:50: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:51: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:52: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:53: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:54: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:55: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:56: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl: In function 'AESenc':
dh.c: curves.incl:69: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: curves.incl:73: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:7:
dh.c: low.incl: In function 'low_mul':
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:26: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl: In function 'low_mul254':
dh.c: low.incl:45: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ...

Number of similar (compiler,implementation) pairs: 16, 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 -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=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