Implementation notes: x86, floodyberry, crypto_dh/hector

Computer: floodyberry
Architecture: x86
CPU ID: GenuineIntel-00010676-bfebfbff
SUPERCOP version: 20140505
Operation: crypto_dh
Primitive: hector
TimeImplementationCompilerBenchmark dateSUPERCOP version
4543613refgcc -m32 -march=native -mtune=native -O2 -fomit-frame-pointer2014050820140505
4565538refgcc -m32 -march=native -mtune=native -O3 -fomit-frame-pointer2014050820140505

Test failure

Implementation: crypto_dh/hector/ref
Compiler: clang -O3 -march=native -m32 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -march=native -m32 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: clang -O1 -march=native -m32 -fomit-frame-pointer
common.c: In file included from common.c:7:
common.c: In file included from ./common.h:12:
common.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
common.c: void divclass_make_affine(divclass rop, const divclass const op);
common.c: ^
common.c: 1 warning generated.
config.c: In file included from config.c:10:
config.c: In file included from ./config.h:11:
config.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
config.c: void divclass_make_affine(divclass rop, const divclass const op);
config.c: ^
config.c: 1 warning generated.
conversion.c: In file included from conversion.c:9:
conversion.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
conversion.c: void divclass_make_affine(divclass rop, const divclass const op);
conversion.c: ^
conversion.c: 1 warning generated.
curve.c: In file included from curve.c:7:
curve.c: In file included from ./config.h:11:
curve.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
curve.c: void divclass_make_affine(divclass rop, const divclass const op);
curve.c: ^
curve.c: 1 warning generated.
divclass.c: In file included from divclass.c:7:
divclass.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
divclass.c: void divclass_make_affine(divclass rop, const divclass const op);
divclass.c: ^
divclass.c: 1 warning generated.
generator.c: In file included from generator.c:10:
generator.c: In file included from ./config.h:11:
generator.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
generator.c: void divclass_make_affine(divclass rop, const divclass const op);
generator.c: ^

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O1 -march=native -m32 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: clang -O3 -march=native -m32 -fomit-frame-pointer
common.c: In file included from common.c:7:
common.c: In file included from ./common.h:12:
common.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
common.c: void divclass_make_affine(divclass rop, const divclass const op);
common.c: ^
common.c: 1 warning generated.
config.c: In file included from config.c:10:
config.c: In file included from ./config.h:11:
config.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
config.c: void divclass_make_affine(divclass rop, const divclass const op);
config.c: ^
config.c: 1 warning generated.
conversion.c: In file included from conversion.c:9:
conversion.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
conversion.c: void divclass_make_affine(divclass rop, const divclass const op);
conversion.c: ^
conversion.c: 1 warning generated.
curve.c: In file included from curve.c:7:
curve.c: In file included from ./config.h:11:
curve.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
curve.c: void divclass_make_affine(divclass rop, const divclass const op);
curve.c: ^
curve.c: 1 warning generated.
divclass.c: In file included from divclass.c:7:
divclass.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
divclass.c: void divclass_make_affine(divclass rop, const divclass const op);
divclass.c: ^
divclass.c: 1 warning generated.
generator.c: In file included from generator.c:10:
generator.c: In file included from ./config.h:11:
generator.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
generator.c: void divclass_make_affine(divclass rop, const divclass const op);
generator.c: ^
generator.c: 1 warning generated.
hector_dh.c: In file included from hector_dh.c:12:
hector_dh.c: In file included from ./config.h:11:
hector_dh.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
hector_dh.c: void divclass_make_affine(divclass rop, const divclass const op);
hector_dh.c: ^
hector_dh.c: 1 warning generated.
wnaf.c: In file included from wnaf.c:10:
wnaf.c: In file included from ./config.h:11:
wnaf.c: ./divclass.h:53:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
wnaf.c: void divclass_make_affine(divclass rop, const divclass const op);
wnaf.c: ^
wnaf.c: 1 warning generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -march=native -m32 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: gcc -m32 -O2 -fomit-frame-pointer
common.c: In file included from ./x86_32/mpfq_2_113.h:12:0,
common.c: from ./mpfq_2_113.h:3,
common.c: from ./field.h:7,
common.c: from divclass.h:10,
common.c: from common.h:12,
common.c: from common.c:7:
common.c: /usr/lib/gcc/x86_64-linux-gnu/4.6/include/emmintrin.h:32:3: error: #error "SSE2 instruction set not enabled"
common.c: In file included from ./mpfq_2_113.h:3:0,
common.c: from ./field.h:7,
common.c: from divclass.h:10,
common.c: from common.h:12,
common.c: from common.c:7:
common.c: ./x86_32/mpfq_2_113.h: In function 'mpfq_2_113_mul_ur':
common.c: ./x86_32/mpfq_2_113.h:611:2: error: can't convert between vector values of different size
common.c: ./x86_32/mpfq_2_113.h:612:2: error: can't convert between vector values of different size
common.c: ./x86_32/mpfq_2_113.h:613:2: error: can't convert between vector values of different size
common.c: ./x86_32/mpfq_2_113.h:638:2: error: can't convert between vector values of different size
common.c: ./x86_32/mpfq_2_113.h:638:2: error: can't convert between vector values of different size
common.c: ./x86_32/mpfq_2_113.h:641:2: error: can't convert between vector values of different size
common.c: ./x86_32/mpfq_2_113.h:641:2: error: can't convert between vector values of different size
common.c: ./x86_32/mpfq_2_113.h:644:2: error: can't convert between vector values of different size
common.c: ./x86_32/mpfq_2_113.h:644:2: error: can't convert between vector values of different size
common.c: ./x86_32/mpfq_2_113.h:647:2: error: can't convert between vector values of different size
common.c: ./x86_32/mpfq_2_113.h:647:2: error: can't convert between vector values of different size
common.c: ./x86_32/mpfq_2_113.h:650:2: error: can't convert between vector values of different size
common.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc -m32 -O2 -fomit-frame-pointer ref
gcc -m32 -O3 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: icc -m32 -O1 -static -xHost -fomit-frame-pointer
common.c: In file included from ./mpfq_2_113.h(3),
common.c: from ./field.h(7),
common.c: from divclass.h(10),
common.c: from common.h(12),
common.c: from common.c(7):
common.c: ./x86_32/mpfq_2_113.h(610): warning #2496: conversion between incompatible vector types
common.c: v2di b0 = (v2di) (v4si) { s2[0], s2[1], s2[2], s2[3], };
common.c: ^
common.c:
common.c: In file included from ./mpfq_2_113.h(3),
common.c: from ./field.h(7),
common.c: from divclass.h(10),
common.c: from common.h(12),
common.c: from common.c(7):
common.c: ./x86_32/mpfq_2_113.h(611): warning #2496: conversion between incompatible vector types
common.c: v2di b1 = SHL(b0, 1);
common.c: ^
common.c:
common.c: In file included from ./mpfq_2_113.h(3),
common.c: from ./field.h(7),
common.c: from divclass.h(10),
common.c: from common.h(12),
common.c: from common.c(7):
common.c: ./x86_32/mpfq_2_113.h(611): warning #2496: conversion between incompatible vector types
common.c: v2di b1 = SHL(b0, 1);
common.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
icc -m32 -O1 -static -xHost -fomit-frame-pointer ref
icc -m32 -O3 -static -xHost -fomit-frame-pointer ref