Implementation notes: amd64, enigma, crypto_dh/gls254

Computer: enigma
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20140529
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-linux-gnu/4.4.3/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: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:57: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ...
dh.c: low.incl:291: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:299: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:305: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:306: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:9:
dh.c: scmul.incl: In function 'scmul_cvhalv_end':
dh.c: scmul.incl:133: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:136: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:141: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:151: 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/prot
Compiler: cc
dh.c: In file included from gls254.h:18,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
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 dh.c:9:
dh.c: scmul.incl: At top level:
dh.c: scmul.incl:18: error: redefinition of typedef 'uint128_t'
dh.c: gls254.h:27: note: previous declaration of 'uint128_t' was here
dh.c: scmul.incl:19: error: redefinition of typedef 'ui64'
dh.c: gls254.h:26: note: previous declaration of 'ui64' was here
dh.c: scmul.incl:20: error: redefinition of typedef 'elt'
dh.c: gls254.h:34: note: previous declaration of 'elt' was here
dh.c: scmul.incl:21: error: redefinition of typedef 'elt254'
dh.c: gls254.h:61: note: previous declaration of 'elt254' was here

Number of similar (compiler,implementation) pairs: 71, namely:
CompilerImplementations
cc prot
gcc prot
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 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: 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-linux-gnu/4.4.3/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: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:57: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ...
dh.c: low.incl:291: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:299: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:305: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:306: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:9:
dh.c: scmul.incl: In function 'scmul_cvhalv_end':
dh.c: scmul.incl:133: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:136: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:141: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:151: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from gls254.h:18,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/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: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:57: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ...
dh.c: low.incl:291: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:299: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:305: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:306: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: In file included from dh.c:9:
dh.c: scmul.incl: In function 'scmul_cvhalv_end':
dh.c: scmul.incl:133: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:136: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:141: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: scmul.incl:151: 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/prot
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-linux-gnu/4.4.3/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
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 dh.c:9:
dh.c: scmul.incl: At top level:
dh.c: scmul.incl:18: error: redefinition of typedef 'uint128_t'
dh.c: gls254.h:27: note: previous declaration of 'uint128_t' was here
dh.c: scmul.incl:19: error: redefinition of typedef 'ui64'
dh.c: gls254.h:26: note: previous declaration of 'ui64' was here
dh.c: scmul.incl:20: error: redefinition of typedef 'elt'
dh.c: gls254.h:34: note: previous declaration of 'elt' was here
dh.c: scmul.incl:21: error: redefinition of typedef 'elt254'
dh.c: gls254.h:61: note: previous declaration of 'elt254' was here
dh.c: In file included from gls254.h:18,
dh.c: from dh.c:3:
dh.c: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
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 dh.c:9:
dh.c: scmul.incl: At top level:
dh.c: scmul.incl:18: error: redefinition of typedef 'uint128_t'
dh.c: gls254.h:27: note: previous declaration of 'uint128_t' was here
dh.c: scmul.incl:19: error: redefinition of typedef 'ui64'
dh.c: gls254.h:26: note: previous declaration of 'ui64' was here
dh.c: scmul.incl:20: error: redefinition of typedef 'elt'
dh.c: gls254.h:34: note: previous declaration of 'elt' was here
dh.c: scmul.incl:21: error: redefinition of typedef 'elt254'
dh.c: gls254.h:61: note: previous declaration of 'elt254' was here

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: 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-linux-gnu/4.4.3/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: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:57: 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: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:74: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:74: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:75: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:75: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:75: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:76: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:76: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: low.incl:76: 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=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

Compiler output

Implementation: crypto_dh/gls254/prot
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-linux-gnu/4.4.3/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
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: ...
dh.c: In file included from dh.c:9:
dh.c: scmul.incl: At top level:
dh.c: scmul.incl:18: error: redefinition of typedef 'uint128_t'
dh.c: gls254.h:27: note: previous declaration of 'uint128_t' was here
dh.c: scmul.incl:19: error: redefinition of typedef 'ui64'
dh.c: gls254.h:26: note: previous declaration of 'ui64' was here
dh.c: scmul.incl:20: error: redefinition of typedef 'elt'
dh.c: gls254.h:34: note: previous declaration of 'elt' was here
dh.c: scmul.incl:21: error: redefinition of typedef 'elt254'
dh.c: gls254.h:61: note: previous declaration of 'elt254' was here

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