Implementation notes: amd64, ares, crypto_dh/gls254

Computer: ares
Architecture: amd64
CPU ID: GenuineIntel-000306a9-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:0,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-redhat-linux/4.6.3/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: ...
dh.c: low.incl:291:6: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:299:7: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:305:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:306:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_cvhalv_end':
dh.c: scmul.incl:133:9: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:136:6: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:141:6: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:151:6: error: incompatible types when assigning to type '__m128i' from type 'int'

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:0,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-redhat-linux/4.6.3/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: ...
dh.c: low.incl:291:6: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:299:7: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:305:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:306:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_cvhalv_end':
dh.c: scmul.incl:133:9: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:136:6: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:141:6: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:151:6: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from gls254.h:18:0,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-redhat-linux/4.6.3/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: ...
dh.c: low.incl:291:6: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:299:7: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:305:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:306:5: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_cvhalv_end':
dh.c: scmul.incl:133:9: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:136:6: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:141:6: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:151:6: error: incompatible types when assigning to type '__m128i' from type 'int'

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-redhat-linux/4.6.3/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: ...
dh.c: low.incl: In function 'low_mul_nr254':
dh.c: low.incl:74:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:74:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:74:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:75:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:75:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:75:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:76:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:76:2: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:76:2: error: incompatible types when assigning to type '__m128i' from type 'int'

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=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